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