nlkitai/nlux

input_schema endpoint called multiple times at startup

pmosconi opened this issue · 0 comments

The Langchain langserve React adapter application sample (https://docs.nlkit.com/nlux/examples/langchain-langserve-adapter) calls the input_schema endpoint multiple times at startup.
To be precise: 7 in dev mode and 4 when deployed (the difference is probably due to React strict mode).
Why is that?
Is it possible to avoid it?

Thanks and I really appreciate the library!