Foad Kesheh
Foad Kesheh
Everything looks fine on my side; it doesn't look like you are with the latest code, on mine that's line 98. Can you double check?
You need to do something like this PR: https://github.com/mckaywrigley/chatbot-ui/pull/1510 Can you create a pull request?
You will need to change the api/chat files like this one and attach a new base API for it https://github.com/mckaywrigley/chatbot-ui/blob/main/app/api/chat/openai/route.ts
Perhaps you can also try to set OPENAI_BASE_URL in .env.local - I believe OpenAI library picks that automatically https://github.com/openai/openai-node/blob/70d2bb37fae06e685f73a98db3eca6e540c8ed01/src/index.ts#L31
probably the last modification date should be appended