Preserve DeepSeek empty reasoning content#352
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR implements comprehensive structured logging improvements with configurable log levels, exception handling utilities, reasoning-content support for thinking-mode models (DeepSeek), enhanced tool-execution diagnostics across LLM and agent services, and draft ID generation refinements. Core changes include a new ChangesLogging Infrastructure & Exception Handling
Reasoning Content for Thinking-Mode Models (DeepSeek)
Structured Logging Across LLM and Agent Services
MCP Tool Execution and Registration Logging
Draft Message Helpers and Documentation Updates
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Check ReportSummary
Test Results
Code Quality
Test Artifacts
LinksThis report is auto-generated by GitHub Actions |
Keep DeepSeek reasoning_content round-tripped even when it is an empty string, while avoiding empty reasoning patches for other providers that trigger OpenAI SDK serialization failures. Adds provider-aware gating, preserves empty reasoning in snapshot serialization, and covers the behavior with regression tests.
Summary by CodeRabbit
New Features
Documentation