Repository navigation
Stream chat replies as they are generated - #3
Merged
Merged
Conversation
Run the Python tests on three operating systems with Python 3.10 and 3.13, build and install the package, and check that every file in the Unity package has a .meta file. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Ask Ollama for each model's capabilities. The model picker hides models that cannot call tools, naming one with --model explains the problem and suggests others, and doctor lists both groups. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Read Ollama's line-delimited chunks and OpenAI-style server-sent events, join fragmented tool calls, hide <think> blocks, and report a reply that stops early. --no-stream restores the old behavior. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts: # src/unity_local_mcp/providers.py # tests/test_chat.py
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
index<think>blocks stay hidden even when a tag is split between pieces--no-streamrestores the old behaviorWhy
Without a GPU a reply can take minutes, and the terminal looked frozen.
Testing
Unit tests for both stream formats, plus a real run of
qwen3:4b-instructthrough Ollama's native API and its OpenAI-compatible API, each streaming a tool call and an answer. The OpenAI run stands in for LM Studio, which has not been tested directly.🤖 Generated with Claude Code