Versions in this module Expand all Collapse all v0 v0.0.1 Jan 8, 2025 Changes in this version + type Completion openai.ChatCompletion + func PromptExecSummary(ctx context.Context, params *ExecSummaryPromptParams) (*Completion, error) + func PromptSummary(ctx context.Context, params *SummaryPromptParams) (*Completion, error) + func PromptUser(ctx context.Context, params *UserPromptParams) (*Completion, error) + func (c *Completion) Content() (string, error) + func (c *Completion) Toks() int + func (c *Completion) TotalToks() int + type ExecSummaryPromptParams struct + CommandLine string + ExitCode int + Output execx.ProcessOutput + type SummaryPromptParams struct + Messages []openai.ChatCompletionMessageParamUnion + type UserPromptParams struct + Client *bootstrap.ClientRef + Messages []openai.ChatCompletionMessageParamUnion + Tools []openai.ChatCompletionToolParam