feat(chat,seahorse): persist and display model_name across history (#2897)

* feat(chat,seahorse): persist and display model_name across history

* test(seahorse): fix lint regressions in repair coverage

* fix(pico): preserve model_name in live updates

* fix(pico): preserve model_name through live stream wrappers
This commit is contained in:
LC authored and GitHub committed 2026-05-20 13:42:21 +08:00
1 parent 548dc15acd
commit b7db059544
41 files changed
+1266 -139

No files matched your search

+1
View File
@@ -86,6 +86,7 @@ type Attachment struct {
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
ModelName string `json:"model_name,omitempty"`
Media []string `json:"media,omitempty"`
Attachments []Attachment `json:"attachments,omitempty"`
ReasoningContent string `json:"reasoning_content,omitempty"`