From eedda0ec4b3ac5ce71b6b1bf28b76b3bcb65e7a4 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 21 Feb 2026 16:31:59 +0300 Subject: Feat (pull/18994): llama.cpp reasoning --- models/models.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'models/models.go') 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"` -- cgit v1.2.3