When a user configures only Ollama (or any single provider) via the multi-provider UI without explicitly selecting a model, GetModel() now returns that provider's default model instead of falling back to the legacy Provider field which defaults to "anthropic". This fixes "API key is required for anthropic" errors when enabling AI with only Ollama configured. Related to #847 |
||
|---|---|---|
| .. | ||
| ai.go | ||
| ai_usage_persistence_test.go | ||
| api_tokens.go | ||
| api_tokens_test.go | ||
| client_helpers.go | ||
| client_helpers_test.go | ||
| config.go | ||
| config_utils_test.go | ||
| detect_root.go | ||
| docker_metadata.go | ||
| docker_metadata_test.go | ||
| export.go | ||
| export_test.go | ||
| guest_metadata.go | ||
| guest_metadata_test.go | ||
| host_metadata.go | ||
| import_transaction.go | ||
| import_transaction_test.go | ||
| oidc.go | ||
| oidc_test.go | ||
| persistence.go | ||
| persistence_fail_test.go | ||
| persistence_test.go | ||
| watcher.go | ||