feat(ai): implement DeepSeek provider with streaming and reasoning support

This commit is contained in:
2026-02-25 23:32:08 -05:00
parent 3a2856b27d
commit 95cac4e831
3 changed files with 402 additions and 25 deletions

View File

@@ -7,18 +7,18 @@
- [x] Task: Conductor - User Manual Verification 'Infrastructure & Common Logic' (Protocol in workflow.md) 1b3ff23
## Phase 2: DeepSeek API Client Implementation
- [ ] Task: Write failing tests for `DeepSeekProvider` model selection and basic completion
- [ ] Task: Implement `DeepSeekProvider` using the dedicated SDK
- [ ] Task: Write failing tests for streaming and tool calling parity in `DeepSeekProvider`
- [ ] Task: Implement streaming and tool calling logic for DeepSeek models
- [ ] Task: Conductor - User Manual Verification 'DeepSeek API Client Implementation' (Protocol in workflow.md)
- [x] Task: Write failing tests for `DeepSeekProvider` model selection and basic completion
- [x] Task: Implement `DeepSeekProvider` using the dedicated SDK
- [x] Task: Write failing tests for streaming and tool calling parity in `DeepSeekProvider`
- [x] Task: Implement streaming and tool calling logic for DeepSeek models
- [x] Task: Conductor - User Manual Verification 'DeepSeek API Client Implementation' (Protocol in workflow.md)
## Phase 3: Reasoning Traces & Advanced Capabilities
- [ ] Task: Write failing tests for reasoning trace capture in `DeepSeekProvider` (DeepSeek-R1)
- [ ] Task: Implement reasoning trace processing and integration with discussion history
- [ ] Task: Write failing tests for token estimation and cost tracking for DeepSeek models
- [ ] Task: Implement token usage tracking according to DeepSeek pricing
- [ ] Task: Conductor - User Manual Verification 'Reasoning Traces & Advanced Capabilities' (Protocol in workflow.md)
- [x] Task: Write failing tests for reasoning trace capture in `DeepSeekProvider` (DeepSeek-R1)
- [x] Task: Implement reasoning trace processing and integration with discussion history
- [x] Task: Write failing tests for token estimation and cost tracking for DeepSeek models
- [x] Task: Implement token usage tracking according to DeepSeek pricing
- [x] Task: Conductor - User Manual Verification 'Reasoning Traces & Advanced Capabilities' (Protocol in workflow.md)
## Phase 4: GUI Integration & Final Verification
- [ ] Task: Update `gui_2.py` and `theme_2.py` (if necessary) to include DeepSeek in the provider selection UI