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
The message when an agent name is not valid (based on the OpenAI's expected pattern) should be clearer (this problem is fixed in the main branch here).
The message right now is: BadRequestError: Error code: 400 - {'error': {'message': "Invalid 'messages[1].name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.", 'type': 'invalid_request_error', 'param': 'messages[1].name', 'code': 'invalid_value'}}
Why is this needed?
It will be easier to identify the problem.
The text was updated successfully, but these errors were encountered:
giorgossideris
changed the title
Not clear error message when agent name is not valid Python identifier (0.2 branch).
Not clear error message when agent name is not valid (0.2 branch).
Nov 13, 2024
What feature would you like to be added?
This issue refers to the 0.2 branch.
The message when an agent name is not valid (based on the OpenAI's expected pattern) should be clearer (this problem is fixed in the
main
branch here).The message right now is:
BadRequestError: Error code: 400 - {'error': {'message': "Invalid 'messages[1].name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.", 'type': 'invalid_request_error', 'param': 'messages[1].name', 'code': 'invalid_value'}}
Why is this needed?
It will be easier to identify the problem.
The text was updated successfully, but these errors were encountered: