You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some details which could be helpful, thanks guys good work.
Traceback (most recent call last):
File "/Users/gpt/gpt/app.py", line 53, in ‹module>
ai_response = 11m(modified_content)
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/11ms.py", line 879, in call-
self.generate(
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/llms.py"', line 656, in generate
output = self._generate_helper(
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/llms.py", line 543, in _generate_helper raise e
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/1lms.py", line 530, in _generate_helper self._generate(
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/1lms.py", line 1058, in _generate else self._call(prompt, stop=stop, **kwargs)
File "/usr/local/lib/python3.9/site-packages/gpt4_openai/init•py", line 61, in _call
response = data["message"]
UnboundLocalError: local variable 'data' referenced before assignment
The text was updated successfully, but these errors were encountered:
Some details which could be helpful, thanks guys good work.
Traceback (most recent call last):
File "/Users/gpt/gpt/app.py", line 53, in ‹module>
ai_response = 11m(modified_content)
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/11ms.py", line 879, in call-
self.generate(
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/llms.py"', line 656, in generate
output = self._generate_helper(
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/llms.py", line 543, in _generate_helper raise e
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/1lms.py", line 530, in _generate_helper self._generate(
File "/usr/local/lib/python3.9/site-packages/langchain_core/language_models/1lms.py", line 1058, in _generate else self._call(prompt, stop=stop, **kwargs)
File "/usr/local/lib/python3.9/site-packages/gpt4_openai/init•py", line 61, in _call
response = data["message"]
UnboundLocalError: local variable 'data' referenced before assignment
The text was updated successfully, but these errors were encountered: