Help us shape the future of Go! Take the 2026 Go Developer Survey

runner

package
v0.0.204 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatLogLine

func FormatLogLine(line string) string

func RunLLM

func RunLLM(prompt, llmModel, sessionID, sessionDir, agentRunner string, logCh chan<- string, doneCh chan<- Done)

func RunPlain

func RunPlain(prompt, llmModel, agentRunner string)

Types

type Done

type Done struct {
	Output            string
	OpencodeSessionID string
	Err               error
}

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(ch chan<- string, file io.Writer) *Logger

func (*Logger) Log

func (l *Logger) Log(msg string)

type PlainLogger

type PlainLogger struct{}

func (*PlainLogger) Log

func (l *PlainLogger) Log(msg string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL