Documentation
¶
Index ¶
- func ParseFinalMessage(jsonlOutput string) (string, error)
- type Runner
- func (r Runner) Run(ctx context.Context, userText string) (string, error)
- func (r Runner) RunWithProgress(ctx context.Context, userText string, onThinking func(step string)) (string, error)
- func (r Runner) RunWithThread(ctx context.Context, threadID string, userText string) (string, string, error)
- func (r Runner) RunWithThreadAndProgress(ctx context.Context, threadID string, agentName string, userText string, ...) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFinalMessage ¶
Types ¶
type Runner ¶
type Runner struct {
Command string
Timeout time.Duration
DefaultModel string
DefaultReasoningEffort string
Env map[string]string
PromptPrefix string
WorkspaceDir string
Prompts *prompting.Loader
}
func (Runner) RunWithProgress ¶
func (Runner) RunWithThread ¶
func (Runner) RunWithThreadAndProgress ¶
Click to show internal directories.
Click to hide internal directories.