alnzng opened a new issue, #336:
URL: https://github.com/apache/flink-agents/issues/336

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/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?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to