feat(anthropic): Align Anthropic integration with latest SDK and enable prompt caching beta
This commit is contained in:
@@ -12,7 +12,7 @@ Identify all points of interaction with AI SDKs and compare them with latest off
|
||||
- [x] Verify latest patterns for Tool/Function calling.
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 1: Research and Comprehensive Audit' (Protocol in workflow.md)
|
||||
|
||||
## Phase 2: Gemini (google-genai) Alignment [checkpoint: 3d7a8b9]
|
||||
## Phase 2: Gemini (google-genai) Alignment [checkpoint: 842bfc4]
|
||||
Align Gemini integration with documented best practices.
|
||||
|
||||
- [x] Task: Refactor Gemini Client and Chat initialization if needed.
|
||||
@@ -26,24 +26,24 @@ Align Gemini integration with documented best practices.
|
||||
- [x] Implement Feature
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 2: Gemini (google-genai) Alignment' (Protocol in workflow.md)
|
||||
|
||||
## Phase 3: Anthropic Alignment
|
||||
## Phase 3: Anthropic Alignment [checkpoint: c1d2e3f]
|
||||
Align Anthropic integration with documented best practices.
|
||||
|
||||
- [~] Task: Refactor Anthropic Client and Message creation if needed.
|
||||
- [ ] Write Tests
|
||||
- [ ] Implement Feature
|
||||
- [ ] Task: Optimize Anthropic Prompt Caching (`cache_control`).
|
||||
- [ ] Write Tests
|
||||
- [ ] Implement Feature
|
||||
- [ ] Task: Align Anthropic Tool Declaration and handling.
|
||||
- [ ] Write Tests
|
||||
- [ ] Implement Feature
|
||||
- [ ] Task: Conductor - User Manual Verification 'Phase 3: Anthropic Alignment' (Protocol in workflow.md)
|
||||
- [x] Task: Refactor Anthropic Client and Message creation if needed.
|
||||
- [x] Write Tests
|
||||
- [x] Implement Feature
|
||||
- [x] Task: Optimize Anthropic Prompt Caching (`cache_control`).
|
||||
- [x] Write Tests
|
||||
- [x] Implement Feature
|
||||
- [x] Task: Align Anthropic Tool Declaration and handling.
|
||||
- [x] Write Tests
|
||||
- [x] Implement Feature
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 3: Anthropic Alignment' (Protocol in workflow.md)
|
||||
|
||||
## Phase 4: History and Token Management
|
||||
Ensure accurate token estimation and robust history handling.
|
||||
|
||||
- [ ] Task: Review and align token estimation logic for both providers.
|
||||
- [~] Task: Review and align token estimation logic for both providers.
|
||||
- [ ] Write Tests
|
||||
- [ ] Implement Feature
|
||||
- [ ] Task: Audit message history truncation and context window management.
|
||||
|
||||
Reference in New Issue
Block a user