refine

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	OutputPath    string
	OutputName    string
	Profile       string
	Language      string
	MaxInputChars int
	VLMConfig     vlm.Config
}

type Summary

type Summary struct {
	OK           bool   `json:"ok"`
	Command      string `json:"command"`
	Input        string `json:"input"`
	Source       string `json:"source"`
	Output       string `json:"output"`
	Profile      string `json:"profile"`
	Language     string `json:"language"`
	InputChars   int    `json:"input_chars"`
	OutputChars  int    `json:"output_chars"`
	StartedAt    string `json:"started_at"`
	FinishedAt   string `json:"finished_at"`
	PromptTokens int    `json:"prompt_tokens,omitempty"`
	OutputTokens int    `json:"output_tokens,omitempty"`
	TotalTokens  int    `json:"total_tokens,omitempty"`
}

func Run

func Run(ctx context.Context, inputPath string, options Options) (Summary, error)

Jump to

Keyboard shortcuts

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