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
litellm.exceptions.BadRequestError: litellm.BadRequestError: GroqException - Error code: 400 - {'error': {'message': "'messages.2' : for 'role:assistant' the following must be satisfied[('messages.2.function_call' : Value is not nullable)]", 'type': 'invalid_request_error'}}
Simple work around is to just update the docs pass back a dict without function_call. E.g:
What happened?
Following the example provided in the docs for groq tool usage throws the following error:
Simple work around is to just update the docs pass back a dict without
function_call
. E.g:Or you could consider modifying
Message
and not addfunction_call
by default.Relevant log output
No response
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: