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

Streaming broken for createAIFunction() in tools mode #41

Open
rileytomasek opened this issue Jul 17, 2024 · 1 comment
Open

Streaming broken for createAIFunction() in tools mode #41

rileytomasek opened this issue Jul 17, 2024 · 1 comment

Comments

@rileytomasek
Copy link
Contributor

The chunks for tool calls aren't properly managed by handleUpdate() in ChatModel.

@rileytomasek
Copy link
Contributor Author

@colelawrence making deepMerge() able to properly merge objects that contain arrays of tool call objects will also solve this issue. I think we just need a custom version of mergeArray() that we can add when calling the deepMerge init function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant