opencodeagent

package
v0.9.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ProviderID = "csghub-lite"
)

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath() (string, error)

ConfigPath returns the path to OpenCode config file.

func SyncConfig

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

SyncConfig writes OpenCode configuration to ~/.opencode.json 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