chore: add history field to TUI model
This commit is contained in:
@@ -46,6 +46,7 @@ type model struct {
|
||||
agent *sidekick.Sidekick
|
||||
pool map[string]*sidekick.Sidekick
|
||||
messages []string
|
||||
history []sidekick.Message
|
||||
isThinking bool
|
||||
err error
|
||||
ready bool
|
||||
@@ -105,6 +106,7 @@ func initialModel() model {
|
||||
agent: agent,
|
||||
pool: pool,
|
||||
messages: []string{sysStyle.Render("System: Sidekick initialized. Type a message below.")},
|
||||
history: []sidekick.Message{},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user