-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
P1High priority, add to the next sprintHigh priority, add to the next sprinttype:documentationImprovements on the docsImprovements on the docs
Description
Describe the bug
There is a missing import in the code snippet of this example: ToolCallDelta. There is also a missing required argument in the StreamingChunk, which is content. There is an unnecessary ComponentInfo import.
Error message
NameError: name 'ToolCallDelta' is not defined
and
TypeError: StreamingChunk.__init__() missing 1 required positional argument: 'content'
Expected behavior
The code should run successfully.
To Reproduce
Run the code directly, and it will produce the first error. To produce the second, write the needed import.
FAQ Check
- Yes [ ] Have you had a look at our new FAQ page?
System:
- OS: WSL-Ubuntu on Windows 11
- GPU/CPU: Not important
- Haystack version (commit or version number): 2.19.0
Metadata
Metadata
Assignees
Labels
P1High priority, add to the next sprintHigh priority, add to the next sprinttype:documentationImprovements on the docsImprovements on the docs