-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
P2Medium priority, add to the next sprint if no P1 availableMedium priority, add to the next sprint if no P1 availabletype:bugSomething isn't workingSomething isn't working
Description
Describe the bug
From v2.9.0 tool calls and message texts are separated in the ChatMessage structure. However, OpenAPIServiceConnector has not been updated to support the new structure.
Error message
ValueError: The provided ChatMessage has no text
Expected behavior
OpenAPIServiceConnector should retrieve the tool call information from the tool_calls attribute rather than from the text attribute.
To Reproduce
Try and use OpenAPIServiceConnector in conjunction with the v2.9.0 ChatMessage structure.
FAQ Check
- Have you had a look at our new FAQ page?
System:
- OS: MacOS
- GPU/CPU: CPU
- Haystack version (commit or version number): 2.9.0
- DocumentStore: N/A
- Reader: N/A
- Retriever: N/A
Metadata
Metadata
Assignees
Labels
P2Medium priority, add to the next sprint if no P1 availableMedium priority, add to the next sprint if no P1 availabletype:bugSomething isn't workingSomething isn't working