Documentation
¶
Index ¶
- Constants
- func BuildPrompt(text string) string
- func ClassifyWithCodex(text string, timeout time.Duration) (string, error)
- func ClassifyWithCodexExecutable(text, configuredExecutable string, timeout time.Duration) (string, error)
- func ClassifyWithCodexExecutableInDir(text, configuredExecutable, workDir string, timeout time.Duration) (string, error)
- func ClassifyWithCopilot(text string, timeout time.Duration) (string, error)
- func ClaudeClassifierModel() string
- func ComposeYieldInput(lastMessage string, runningBackgroundTasks int) string
- func ParseResponse(response string) string
- func ParseVerdict(structuredOutput json.RawMessage) (string, bool)
- func SetLogger(fn LogFunc)
- func TruncateForLog(value string) string
- type LogFunc
Constants ¶
View Source
const ClaudeMaxTurns = 2
View Source
const ClaudeVerdictSchema = `` /* 147-byte string literal not displayed */
View Source
const DefaultClaudeClassifierModel = "haiku"
View Source
const VerdictParked = "parked"
Variables ¶
This section is empty.
Functions ¶
func BuildPrompt ¶
func ClassifyWithCodex ¶ added in v0.2.10
func ClassifyWithCodexExecutable ¶ added in v0.2.10
func ClassifyWithCodexExecutableInDir ¶ added in v0.5.0
func ClassifyWithCopilot ¶
func ClaudeClassifierModel ¶ added in v0.12.0
func ClaudeClassifierModel() string
func ComposeYieldInput ¶ added in v0.12.0
func ParseResponse ¶
func ParseVerdict ¶ added in v0.12.0
func ParseVerdict(structuredOutput json.RawMessage) (string, bool)
func TruncateForLog ¶ added in v0.12.0
Types ¶
Click to show internal directories.
Click to hide internal directories.