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