go.bigb.es/claudio
Index
Functions
func CleanProviderName(raw string) string
func FindZip() string
FindZip looks for claude-code-config.zip in standard locations.
func GroupByProvider(models []ProxyModel) ([]string, map[string][]ProxyModel)
GroupByProvider groups models by their cleaned provider name, returning the provider order and grouped models.
Types
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.
func ParseZip(path string) ([]ProxyModel, error)
ParseZip reads a zip file, extracts install_claude_aliases.sh, and parses model configs.
CleanProviderName strips trailing _N suffixes (e.g. "DeepSeek_1" → "DeepSeek").