-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
affectVersion/0.1.0The bug affects the 0.1.0 version. The features are not needed.The bug affects the 0.1.0 version. The features are not needed.bug[Issue Type] Something isn't working as expected.[Issue Type] Something isn't working as expected.doc-not-neededYour PR changes do not impact docsYour PR changes do not impact docsfixVersion/0.1.1The feature or bug should be implemented/fixed in the 0.1.1 version.The feature or bug should be implemented/fixed in the 0.1.1 version.fixVersion/0.2.0The feature or bug should be implemented/fixed in the 0.2.0 version.The feature or bug should be implemented/fixed in the 0.2.0 version.priority/majorDefault priority of the PR or issue.Default priority of the PR or issue.
Description
Search before asking
- I searched in the issues and found nothing similar.
Description
I'm trying to use OpenAI chat model to make some function calls for my test Agent app, however it seems the tool call function doesn't work in current implementation. The tool call failed with below error message:
pydantic_core._pydantic_core.ValidationError: 2 validation errors for ToolResponseEvent
responses.call_O9kSJDZYTBerHtWVrHWgpJrZ.[key]
Input should be a valid UUID, invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `l` at 3 [type=uuid_parsing, input_value='call_O9kSJDZYTBerHtWVrHWgpJrZ', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/uuid_parsing
external_ids.call_O9kSJDZYTBerHtWVrHWgpJrZ.[key]
Input should be a valid UUID, invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `l` at 3 [type=uuid_parsing, input_value='call_O9kSJDZYTBerHtWVrHWgpJrZ', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/uuid_parsing
How to reproduce
Add OpenAI chat model in the end-to-end test chat_model_example.py, run it locally.
Version and environment
The latest codes in main branch
Are you willing to submit a PR?
- I'm willing to submit a PR!
Metadata
Metadata
Assignees
Labels
affectVersion/0.1.0The bug affects the 0.1.0 version. The features are not needed.The bug affects the 0.1.0 version. The features are not needed.bug[Issue Type] Something isn't working as expected.[Issue Type] Something isn't working as expected.doc-not-neededYour PR changes do not impact docsYour PR changes do not impact docsfixVersion/0.1.1The feature or bug should be implemented/fixed in the 0.1.1 version.The feature or bug should be implemented/fixed in the 0.1.1 version.fixVersion/0.2.0The feature or bug should be implemented/fixed in the 0.2.0 version.The feature or bug should be implemented/fixed in the 0.2.0 version.priority/majorDefault priority of the PR or issue.Default priority of the PR or issue.