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 chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
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 WIP: Save all pending changes including frontend updates and unified agent scaffolding 2025-11-25 11:27:07 +00:00
docker_metadata.go wip: AI chat integration with multi-provider support 2025-12-04 20:16:53 +00:00
docker_metadata_test.go Add unit tests for DockerMetadataStore (internal/config) 2025-11-30 17:20:46 +00:00
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 Add unit tests for GuestMetadataStore (internal/config) 2025-11-30 20:48:05 +00:00
host_metadata.go Add AI monitoring enhancements and host metadata features 2025-12-09 16:27:46 +00:00
import_transaction.go feat: production-ready import/export with API tokens and transactional rollback 2025-10-21 14:37:44 +00:00
import_transaction_test.go test: Add StageFile transaction tests 2025-12-02 02:34:20 +00:00
oidc.go Add OIDC CA bundle support 2025-11-22 09:44:03 +00:00
oidc_test.go Add unit tests for OIDC configuration helpers 2025-11-30 16:22:43 +00:00
persistence.go style: remove emojis from log messages 2025-12-13 21:29:11 +00:00
persistence_fail_test.go Harden setup token flow and enforce encrypted persistence 2025-10-25 16:00:37 +00:00
persistence_test.go test: Add SaveNodesConfigAllowEmpty test and document deadlock 2025-12-02 02:54:49 +00:00
watcher.go Rebuild agent token bindings on API token config reload 2025-11-29 14:09:30 +00:00