summaryrefslogtreecommitdiff
path: root/models/models.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-21 16:31:59 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-21 16:31:59 +0300
commiteedda0ec4b3ac5ce71b6b1bf28b76b3bcb65e7a4 (patch)
treed41e2d7b3333bd313617aefcb16ad1c806fbc250 /models/models.go
parent96ffbd5cf53c448bdfc0d86f1e7e866a358e01bd (diff)
Feat (pull/18994): llama.cpp reasoning
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/models/models.go b/models/models.go
index b089ecd..c5e9435 100644
--- a/models/models.go
+++ b/models/models.go
@@ -64,8 +64,9 @@ type LLMRespChunk struct {
FinishReason string `json:"finish_reason"`
Index int `json:"index"`
Delta struct {
- Content string `json:"content"`
- ToolCalls []ToolDeltaResp `json:"tool_calls"`
+ Content string `json:"content"`
+ ReasoningContent string `json:"reasoning_content"`
+ ToolCalls []ToolDeltaResp `json:"tool_calls"`
} `json:"delta"`
} `json:"choices"`
Created int `json:"created"`