-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hey @s25roy! I'm here to help you with any bugs, questions, or contributions. Let's tackle this together! It seems like you're encountering an issue with organization handling in Langflow when using the OpenAI API. Here are some steps and insights that might help resolve the problem:
If these steps don't resolve the issue, consider reverting to the previous version where the error was different, as a temporary workaround, while further investigating the changes made in the update. |
Beta Was this translation helpful? Give feedback.
-
I found the source of the error: I had earlier set a |
Beta Was this translation helpful? Give feedback.
I found the source of the error: I had earlier set a
.env
file for access through a Jupyter notebook in JupyterLab and moved the.env
file to a different directory. The.env
file had an OpenAI API key and OPENAI_ORGANIZATION="org-*
" value. I lost track of the file and couldn't find it, thinking it had been removed. Checked using thefind . -name '*.env'
command in terminal and it located the.env
file in my conda env folder. This was presumably passing the header through the Langflow OpenAI Model and overriding any other default setting. Deleting the.env
file solved the issue and the model builds with a response fromgpt-4o
when prompted.