Skip to content

Conversation

@linw1995
Copy link
Owner

No description provided.

- Separate tracking for plain and thinking stream updates with distinct variables
- Rename variables from generic 'streamed' to specific 'streamed_plain' and 'streamed_thinking'
- Clarify when to include thinking blocks in final response based on streaming status
- Improve readability by distinguishing between different stream update types
@linw1995 linw1995 added the enhancement New feature or request label Jan 16, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2026

Codecov Report

❌ Patch coverage is 24.02985% with 509 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.20%. Comparing base (e5977ab) to head (528eba2).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
crates/anthropic/src/client.rs 0.00% 217 Missing ⚠️
src/agent.rs 8.57% 128 Missing ⚠️
crates/coco-tui/src/components/chat.rs 0.00% 96 Missing ⚠️
src/provider.rs 0.00% 34 Missing ⚠️
src/provider/openai.rs 76.53% 23 Missing ⚠️
crates/anthropic/src/client/messages.rs 0.00% 9 Missing ⚠️
src/config/provider.rs 93.75% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #98      +/-   ##
==========================================
- Coverage   53.46%   53.20%   -0.26%     
==========================================
  Files          88       89       +1     
  Lines       21248    21686     +438     
==========================================
+ Hits        11360    11539     +179     
- Misses       9888    10147     +259     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…dd request options support

- Replace bon macro with manual builder pattern (ClientBuilder, MessagesBuilder, MessagesStreamBuilder)
- Add temperature and max_tokens parameters to all message methods
- Extract helper functions (build_headers, build_request, missing_field)
- Improve test infrastructure with graceful environment variable handling
@linw1995 linw1995 merged commit 3c9a248 into dev Jan 16, 2026
3 checks passed
@linw1995 linw1995 deleted the feature/model-compatibility branch January 16, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants