Sebastián Estévez
Sebastián Estévez
Hey @ogabrielluiz just checking in. Congrats on the v1 launch!
@ogabrielluiz checking in on this
Hmm seems like you're still hitting openais endpoint? Since this is js you'll have to do some things manually that we usually do for you in the python sdk wrapper...
Thanks! It's entirely possible that the js example may be wrong or outdated. Maybe sticking a breakpoint inside the SDK might give us some clues. I may be able to...
Everything supported by litellm, I've been pulling them from here: https://github.com/langflow-ai/langflow/blob/7c048650e00208882fa58f2dee7e32c7c7883de5/src/backend/base/langflow/base/astra_assistants/util.py#L30
Thanks! Hmm, I wonder if providing a custom fetch is the way to mess with headers. https://github.com/openai/openai-node/tree/master?tab=readme-ov-file#customizing-the-fetch-client
You motivated me to make a new [astra-assistants patch library for node](https://www.npmjs.com/package/astra-assistants) so that you can use the full SDK seamlessly. Check out this new example: https://github.com/datastax/astra-assistants-api/blob/main/examples/node/completion/basic-with-patch.mjs
Checking in, are you all set?