feat(deepseek): add support for Responses API and Chat Prefix Completion
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2026-08-03 03:53:42 +00:00
parent 2ed027da7c
commit ddb710507d
7 changed files with 72 additions and 4 deletions
+2
View File
@@ -32,6 +32,7 @@ type ChatMessage struct {
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
Name *string `json:"name,omitempty"`
ToolCallID *string `json:"tool_call_id,omitempty"`
Prefix *bool `json:"prefix,omitempty"`
}
type ContentPart struct {
@@ -168,6 +169,7 @@ type UnifiedMessage struct {
ToolCalls []ToolCall
Name *string
ToolCallID *string
Prefix *bool
}
type UnifiedContentPart struct {