GetHistory gets conversation history Exposed to Wails frontend as: window.go.desktop.WailsBridge.GetHistory(agentID)
(agentID string)
| 142 | // GetHistory gets conversation history |
| 143 | // Exposed to Wails frontend as: window.go.desktop.WailsBridge.GetHistory(agentID) |
| 144 | func (b *WailsBridge) GetHistory(agentID string) (*BackendResponse, error) { |
| 145 | return b.handler(&FrontendMessage{ |
| 146 | ID: generateID(), |
| 147 | Type: MsgTypeGetHistory, |
| 148 | AgentID: agentID, |
| 149 | }) |
| 150 | } |
| 151 | |
| 152 | // ClearHistory clears conversation history |
| 153 | // Exposed to Wails frontend as: window.go.desktop.WailsBridge.ClearHistory(agentID) |
nothing calls this directly
no test coverage detected