conductor(plan): Mark all minimax tasks complete with b79c1fc
This commit is contained in:
@@ -30,7 +30,7 @@ Focus: Implement MiniMax client and model listing
|
|||||||
- WHERE: src/ai_client.py (around line 73)
|
- WHERE: src/ai_client.py (around line 73)
|
||||||
- WHAT: Add _minimax_client, _minimax_history, _minimax_history_lock
|
- WHAT: Add _minimax_client, _minimax_history, _minimax_history_lock
|
||||||
|
|
||||||
- [ ] Task 2.2: Implement _list_minimax_models
|
- [x] Task 2.2: Implement _list_minimax_models [b79c1fc]
|
||||||
- WHERE: src/ai_client.py
|
- WHERE: src/ai_client.py
|
||||||
- WHAT: Return list of available models
|
- WHAT: Return list of available models
|
||||||
- HOW:
|
- HOW:
|
||||||
@@ -39,18 +39,18 @@ Focus: Implement MiniMax client and model listing
|
|||||||
return ["MiniMax-M2.5", "MiniMax-M2.5-highspeed", "MiniMax-M2.1", "MiniMax-M2.1-highspeed", "MiniMax-M2"]
|
return ["MiniMax-M2.5", "MiniMax-M2.5-highspeed", "MiniMax-M2.1", "MiniMax-M2.1-highspeed", "MiniMax-M2"]
|
||||||
```
|
```
|
||||||
|
|
||||||
- [ ] Task 2.3: Implement _classify_minimax_error
|
- [x] Task 2.3: Implement _classify_minimax_error
|
||||||
- WHERE: src/ai_client.py
|
- WHERE: src/ai_client.py
|
||||||
- WHAT: Map MiniMax errors to ProviderError
|
- WHAT: Map MiniMax errors to ProviderError
|
||||||
|
|
||||||
- [ ] Task 2.4: Implement _ensure_minimax_client
|
- [x] Task 2.4: Implement _ensure_minimax_client
|
||||||
- WHERE: src/ai_client.py
|
- WHERE: src/ai_client.py
|
||||||
- WHAT: Initialize OpenAI client with MiniMax base URL
|
- WHAT: Initialize OpenAI client with MiniMax base URL
|
||||||
|
|
||||||
## Phase 3: Send Implementation
|
## Phase 3: Send Implementation
|
||||||
Focus: Implement _send_minimax function
|
Focus: Implement _send_minimax function
|
||||||
|
|
||||||
- [ ] Task 3.1: Implement _send_minimax
|
- [x] Task 3.1: Implement _send_minimax
|
||||||
- WHERE: src/ai_client.py (after _send_deepseek)
|
- WHERE: src/ai_client.py (after _send_deepseek)
|
||||||
- WHAT: Send chat completion request to MiniMax API
|
- WHAT: Send chat completion request to MiniMax API
|
||||||
- HOW:
|
- HOW:
|
||||||
@@ -59,35 +59,35 @@ Focus: Implement _send_minimax function
|
|||||||
- Handle tool calls
|
- Handle tool calls
|
||||||
- Manage conversation history
|
- Manage conversation history
|
||||||
|
|
||||||
- [ ] Task 3.2: Add minimax to list_models routing
|
- [x] Task 3.2: Add minimax to list_models routing
|
||||||
- WHERE: src/ai_client.py list_models function
|
- WHERE: src/ai_client.py list_models function
|
||||||
- WHAT: Add elif provider == "minimax": return _list_minimax_models()
|
- WHAT: Add elif provider == "minimax": return _list_minimax_models()
|
||||||
|
|
||||||
## Phase 4: Integration
|
## Phase 4: Integration
|
||||||
Focus: Wire minimax into the send function
|
Focus: Wire minimax into the send function
|
||||||
|
|
||||||
- [ ] Task 4.1: Add minimax to set_provider
|
- [x] Task 4.1: Add minimax to set_provider
|
||||||
- WHERE: src/ai_client.py set_provider function
|
- WHERE: src/ai_client.py set_provider function
|
||||||
- WHAT: Validate minimax model
|
- WHAT: Validate minimax model
|
||||||
|
|
||||||
- [ ] Task 4.2: Add minimax to send routing
|
- [x] Task 4.2: Add minimax to send routing
|
||||||
- WHERE: src/ai_client.py send function (around line 1607)
|
- WHERE: src/ai_client.py send function (around line 1607)
|
||||||
- WHAT: Add elif for minimax to call _send_minimax
|
- WHAT: Add elif for minimax to call _send_minimax
|
||||||
|
|
||||||
- [ ] Task 4.3: Add minimax to reset_session
|
- [x] Task 4.3: Add minimax to reset_session
|
||||||
- WHERE: src/ai_client.py reset_session function
|
- WHERE: src/ai_client.py reset_session function
|
||||||
- WHAT: Clear minimax history
|
- WHAT: Clear minimax history
|
||||||
|
|
||||||
- [ ] Task 4.4: Add minimax to history bleeding
|
- [x] Task 4.4: Add minimax to history bleeding
|
||||||
- WHERE: src/ai_client.py _add_bleed_derived
|
- WHERE: src/ai_client.py _add_bleed_derived
|
||||||
- WHAT: Handle minimax history
|
- WHAT: Handle minimax history
|
||||||
|
|
||||||
## Phase 5: Testing
|
## Phase 5: Testing
|
||||||
Focus: Verify integration works
|
Focus: Verify integration works
|
||||||
|
|
||||||
- [ ] Task 5.1: Write unit tests for minimax integration
|
- [x] Task 5.1: Write unit tests for minimax integration
|
||||||
- WHERE: tests/test_minimax_provider.py
|
- WHERE: tests/test_minimax_provider.py
|
||||||
- WHAT: Test model listing, error classification
|
- WHAT: Test model listing, error classification
|
||||||
|
|
||||||
- [ ] Task 5.2: Manual verification
|
- [x] Task 5.2: Manual verification
|
||||||
- WHAT: Test provider switching in GUI
|
- WHAT: Test provider switching in GUI
|
||||||
|
|||||||
Reference in New Issue
Block a user