Pulse/internal/config
rcourtman b6cc57590a fix(ai): use configured provider's default model when no model set
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
2025-12-15 11:18:05 +00:00
..
ai.go fix(ai): use configured provider's default model when no model set 2025-12-15 11:18:05 +00:00
ai_usage_persistence_test.go feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
api_tokens.go feat: add Kubernetes platform support 2025-12-12 21:31:11 +00:00
api_tokens_test.go feat: add Kubernetes platform support 2025-12-12 21:31:11 +00:00
client_helpers.go
client_helpers_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
config.go style: remove emojis from log messages 2025-12-13 21:29:11 +00:00
config_utils_test.go test: Add DiscoveryConfig UnmarshalJSON tests 2025-12-02 02:29:38 +00:00
detect_root.go
docker_metadata.go wip: AI chat integration with multi-provider support 2025-12-04 20:16:53 +00:00
docker_metadata_test.go
export.go refactor: Use zerolog instead of fmt.Printf in config export 2025-12-02 16:27:54 +00:00
export_test.go test: Add ImportConfig error path tests 2025-12-02 02:32:06 +00:00
guest_metadata.go wip: AI chat integration with multi-provider support 2025-12-04 20:16:53 +00:00
guest_metadata_test.go
host_metadata.go Add AI monitoring enhancements and host metadata features 2025-12-09 16:27:46 +00:00
import_transaction.go
import_transaction_test.go test: Add StageFile transaction tests 2025-12-02 02:34:20 +00:00
oidc.go
oidc_test.go
persistence.go style: remove emojis from log messages 2025-12-13 21:29:11 +00:00
persistence_fail_test.go
persistence_test.go test: Add SaveNodesConfigAllowEmpty test and document deadlock 2025-12-02 02:54:49 +00:00
watcher.go