codexagent

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLocalContextWindow          int64 = 8192
	DefaultRemoteContextWindowFallback int64 = 200000
)
View Source
const (
	ProviderID = "csghub_lite"
)

Variables

This section is empty.

Functions

func ConfigDir

func ConfigDir() (string, error)

func ConfigPath

func ConfigPath() (string, error)

ConfigPath returns the path to Codex config.toml.

func ContextWindowForModel

func ContextWindowForModel(item api.ModelInfo, localFallback, remoteFallback int64) int64

func LookupContextWindow

func LookupContextWindow(modelIDs ...string) (int64, bool)

func RemoteDefaultContextWindow

func RemoteDefaultContextWindow(fallback int64) int64

func SyncConfig

func SyncConfig(serverURL, apiKey, selectedModelID string, models []api.ModelInfo) error

SyncConfig writes Codex configuration to ~/.codex/config.toml so subsequent launches use csghub-lite as the model provider.

Types

This section is empty.

Jump to

Keyboard shortcuts

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