MCPcopy Create free account
hub / github.com/astercloud/aster / GetHistory

Method GetHistory

pkg/desktop/bridge_wails.go:144–150  ·  view source on GitHub ↗

GetHistory gets conversation history Exposed to Wails frontend as: window.go.desktop.WailsBridge.GetHistory(agentID)

(agentID string)

Source from the content-addressed store, hash-verified

142// GetHistory gets conversation history
143// Exposed to Wails frontend as: window.go.desktop.WailsBridge.GetHistory(agentID)
144func (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)

Callers

nothing calls this directly

Calls 1

generateIDFunction · 0.70

Tested by

no test coverage detected