Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not clear error message when agent name is not valid (0.2 branch). #4157

Closed
giorgossideris opened this issue Nov 12, 2024 · 1 comment
Closed

Comments

@giorgossideris
Copy link
Contributor

giorgossideris commented Nov 12, 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.

@giorgossideris 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
@jackgerrits
Copy link
Member

Closing as not-planned/wontfix for now with rationale in this comment: #4158 (comment)

@jackgerrits jackgerrits closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants