Skip to content

Revert streaming to v0.1.1 approach to fix tool call hang#32

Merged
Mng-dev-ai merged 1 commit intomainfrom
fix/streaming-v011-parity-v2
Jan 28, 2026
Merged

Revert streaming to v0.1.1 approach to fix tool call hang#32
Mng-dev-ai merged 1 commit intomainfrom
fix/streaming-v011-parity-v2

Conversation

@Mng-dev-ai
Copy link
Owner

  • Change stop_reason to always "end_turn" (both providers)
  • Revert cache to sync with threading.Lock and Path.read_text/write_text
  • Remove _convert_messages_async, use sync _convert_messages directly
  • Use int keys for tools dict with tc.get("index", 0)
  • Tool ID format: tool_{timestamp}_{idx}

- Change stop_reason to always "end_turn" (both providers)
- Revert cache to sync with threading.Lock and Path.read_text/write_text
- Remove _convert_messages_async, use sync _convert_messages directly
- Use int keys for tools dict with tc.get("index", 0)
- Tool ID format: tool_{timestamp}_{idx}
@Mng-dev-ai Mng-dev-ai merged commit 41034c3 into main Jan 28, 2026
1 check passed
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.

1 participant