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

codex

package
v0.18.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinPath added in v0.8.3

func BinPath() string

func BuildArgs

func BuildArgs(cfg *CodexConfig) []string

func BuildEnv

func BuildEnv(parent []string, cfg *CodexConfig) []string

func PrepareModelCatalog added in v0.14.11

func PrepareModelCatalog(cfg *CodexConfig) (cleanup func(), err error)

PrepareModelCatalog writes the Wingman-filtered catalog to a temporary file. The caller must keep the file alive while Codex runs and call cleanup after it exits.

func Run

func Run(ctx context.Context, args []string, options *Options) error

Types

type CodexConfig

type CodexConfig struct {
	BaseURL   string
	AuthToken string

	Models []string

	ModelCatalog string
}

func NewConfig

func NewConfig(ctx context.Context, options *Options) (*CodexConfig, error)

type Options

type Options = external.Options

Jump to

Keyboard shortcuts

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