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
This assertion fails if for some reason LLM does not respond e.g. connection issues. If message.tool_calls is None it does not mean that an LLM output had multiple tools.
Noneor []
Outputs:
[]
This means that:
len([]) ==1
False
Please change the assertion error message to sth else as this is confusing.
The text was updated successfully, but these errors were encountered:
instructor/instructor/function_calls.py
Line 251 in 8954095
This assertion fails if for some reason LLM does not respond e.g. connection issues. If message.tool_calls is None it does not mean that an LLM output had multiple tools.
Outputs:
This means that:
Please change the assertion error message to sth else as this is confusing.
The text was updated successfully, but these errors were encountered: