MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / makeTextEvent

Function makeTextEvent

internal/tui/log_perf_test.go:14–16  ·  view source on GitHub ↗

--- Helpers --- makeTextEvent creates an assistant text event.

(text string)

Source from the content-addressed store, hash-verified

12
13// makeTextEvent creates an assistant text event.
14func makeTextEvent(text string) loop.Event {
15 return loop.Event{Type: loop.EventAssistantText, Text: text}
16}
17
18// makeToolStartEvent creates a tool start event.
19func makeToolStartEvent(tool string, input map[string]interface{}) loop.Event {

Calls

no outgoing calls

Tested by

no test coverage detected