JuliusBrussee/caveman · error
want provider=https://host
Error message
want provider=https://host
What it means
The -base-url flag value could not be split on '=' into a provider and URL: the '=' is missing, the provider side is empty, or the URL side is blank. This flag parses values like 'openai=https://host'.
Solutions
- Pass the flag as provider=https://host, e.g. -base-url openai=https://api.example.com
- Remove stray commas or quoting that swallow the '=' separator
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at cacheengine/cmd/cache-replay/main.go:58 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of JuliusBrussee/caveman@766dce6b13 (2026-08-18).
Data as JSON: /api/errors/8939e46cfe3dbd48.
Report an issue: GitHub.
Appendix: source
Thrown at cacheengine/cmd/cache-replay/main.go:58
return nil
}
type baseURLValues map[string]string
func (values *baseURLValues) String() string {
keys := make([]string, 0, len(*values))
for key := range *values {
keys = append(keys, key)
}
sort.Strings(keys)
return strings.Join(keys, ",")
}
func (values *baseURLValues) Set(value string) error {
provider, raw, ok := strings.Cut(value, "=")
provider = strings.ToLower(strings.TrimSpace(provider))
if !ok || provider == "" || strings.TrimSpace(raw) == "" {
return errors.New("want provider=https://host")
}
if *values == nil {
*values = map[string]string{}
}
if _, exists := (*values)[provider]; exists {
return fmt.Errorf("duplicate provider %q", provider)
}
(*values)[provider] = strings.TrimSpace(raw)
return nil
}
type runManifest struct {
Schema string `json:"schema"`
Status string `json:"status"`
Publishable bool `json:"publishable"`
TraceSHA256 string `json:"trace_sha256"`
StartedAt string `json:"started_at"`
CompletedAt string `json:"completed_at,omitempty"`View on GitHub (pinned to 766dce6b13)