go.bigb.es/claudio

v0.7.0
Doc Versions Source

Functions

f func CleanProviderName

src
func CleanProviderName(raw string) string

CleanProviderName strips trailing _N suffixes (e.g. "DeepSeek_1" → "DeepSeek").

f func FindZip

src
func FindZip() string

FindZip looks for claude-code-config.zip in standard locations.

f func GroupByProvider

src
func GroupByProvider(models []ProxyModel) ([]string, map[string][]ProxyModel)

GroupByProvider groups models by their cleaned provider name, returning the provider order and grouped models.

Types

T type ProxyModel

src
type ProxyModel struct {
	Name          string
	ProviderName  string
	BaseURL       string
	AuthToken     string
	ModelID       string
	ContextWindow int
	ProxyUser     string
	CustomHeaders string
	// Env is the full set of KEY=value assignments declared in the function body
	// of the install script (e.g. ENABLE_LSP_TOOL, API_TIMEOUT_MS, the ANTHROPIC_*
	// model family, AI_LOG_ENDPOINT, ...). It always includes BaseURL/AuthToken/
	// ModelID/ProxyUser/CustomHeaders/ContextWindow under their canonical keys
	// so callers can forward everything verbatim.
	Env map[string]string
}

ProxyModel holds a parsed model configuration from the VK LLM Proxy zip.

f func ParseZip

src
func ParseZip(path string) ([]ProxyModel, error)

ParseZip reads a zip file, extracts install_claude_aliases.sh, and parses model configs.

Source Files