Open DhavalThkkar opened 9 months ago
litellm supports this now, this PR fixes it: https://github.com/LinkSoul-AI/AutoAgents/pull/22
@ishaan-jaff I guess this PR has caused this error - line 173 on openai_api.py
did it work for you?
async for chunk in response:
TypeError: 'async for' requires an object with __aiter__ method, got generator
@ishaan-jaff I guess this PR has caused this error - line 173 on
openai_api.py
did it work for you?async for chunk in response: TypeError: 'async for' requires an object with __aiter__ method, got generator
I am getting same error.
Traceback (most recent call last):
File "/home/aitoofaan/llms/autoagents/AutoAgents/main.py", line 56, in
Whenever I try to change the config for the model used from
gpt-4
togpt-3.5-turbo
errors occur