Skip to content

Comments

feat: add streaming tool use (rebased #1884 on latest main)#2129

Open
XyLearningProgramming wants to merge 5 commits intoabetlen:mainfrom
XyLearningProgramming:main
Open

feat: add streaming tool use (rebased #1884 on latest main)#2129
XyLearningProgramming wants to merge 5 commits intoabetlen:mainfrom
XyLearningProgramming:main

Conversation

@XyLearningProgramming
Copy link

@XyLearningProgramming XyLearningProgramming commented Feb 23, 2026

Feature Summary

Rebased @lsorber's PR #1884 onto the latest upstream main (v0.3.16) and resolved merge conflicts.

All original commits preserved:

  • a08a754 feat: add streaming tool use
  • f1da6e9 fix: remove strict=True to support Python 3.9
  • e9fa51e feat: improve tool use robustness
  • a41d866 test: skip if insufficient resources on macOS
  • 72b0b51 fix: apply missing _convert_text_completion_logprobs_to_chat

Conflicts resolved

  • Import section: kept the new Qwen25VLChatHandler-related import llama_cpp.llama_cpp as llama_cpp alongside the PR's modernized imports.
  • Class/function placement: kept the Qwen25VLChatHandler class (added after feat: add streaming tool use #1884's base) and placed the new helper functions (_accumulate_chunks, _convert_chunks_to_completion, _stream_tool_calls) after it.

Closes #1883. Related: #1869, #1756, #1503.

Credit: all implementation by @lsorber in #1884.

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

Successfully merging this pull request may close these issues.

Feature request: add support for streaming tool use

2 participants