Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetContext ¶ added in v0.477.0
Types ¶
type Client ¶
type Client struct {
}
func (*Client) Execute ¶
Execute runs a Goose command with the given prompt and streams cleaned messages to the provided callback function. The callback is called for each cleaned message and when execution completes.
For now this uses the Goose CLI via FTL CLI to execute the command, but we should switch to native Goose API calls when available.
type Message ¶
type Message struct {
Content string
Source MessageSource
}
type MessageSource ¶
type MessageSource int
MessageSource represents the source of a message from Goose
const ( // SourceStdout represents messages from standard output SourceStdout MessageSource = iota // SourceStderr represents messages from standard error SourceStderr // SourceCompletion represents a completion signal SourceCompletion )
Click to show internal directories.
Click to hide internal directories.