Pulse/internal/ai/providers
rcourtman 65e38fac91 test: improve test coverage for AI, license, config, and monitoring packages
New test files:
- internal/ai/providers/gemini_test.go: Comprehensive Gemini provider tests
- internal/api/ai_intelligence_handlers_test.go: AI intelligence endpoint tests
- internal/api/ai_patrol_handlers_test.go: AI patrol endpoint tests
- internal/api/license_handlers_test.go: License API handler tests
- internal/api/security_oidc_response_test.go: OIDC response formatting tests
- internal/config/ai_config_test.go: AI configuration function tests
- internal/config/persistence_ai_test.go: AI config persistence tests
- internal/config/persistence_extended_test.go: Extended persistence tests
- internal/license/persistence_test.go: License persistence tests
- internal/license/pubkey_test.go: Public key handling tests
- internal/monitoring/host_agent_temps_test.go: Temperature processing tests

Enhanced existing files:
- internal/api/updates_test.go: Added update handler tests
- internal/license/license_test.go: Added Service method tests

Coverage improvements:
- ai/providers: 57.3% -> 73.0% (+15.7%)
- license: 78.3% -> 85.9% (+7.6%)
- config: 49.7% -> 53.9% (+4.2%)
- monitoring: 49.8% -> 50.8% (+1.0%)
- api: 28.4% -> 29.8% (+1.4%)
2025-12-19 22:49:30 +00:00
..
anthropic.go test: expand AI provider test coverage with HTTP mocks 2025-12-17 15:53:56 +00:00
anthropic_oauth.go test: expand AI provider test coverage with HTTP mocks 2025-12-17 15:53:56 +00:00
anthropic_oauth_test.go test: expand AI provider test coverage with HTTP mocks 2025-12-17 15:53:56 +00:00
anthropic_test.go test: expand AI provider test coverage with HTTP mocks 2025-12-17 15:53:56 +00:00
factory.go fix: guest URL icon now appears/disappears immediately after AI sets/removes it 2025-12-18 14:42:47 +00:00
factory_test.go Add comprehensive AI test coverage 2025-12-16 12:33:06 +00:00
gemini.go fix: guest URL icon now appears/disappears immediately after AI sets/removes it 2025-12-18 14:42:47 +00:00
gemini_test.go test: improve test coverage for AI, license, config, and monitoring packages 2025-12-19 22:49:30 +00:00
integration_test.go Add comprehensive AI test coverage 2025-12-16 12:33:06 +00:00
ollama.go feat: Add tool/function calling support to Ollama provider 2025-12-17 11:54:32 +00:00
ollama_test.go test: add unit tests for AI, Kubernetes agent, and clients 2025-12-17 12:47:36 +00:00
openai.go test: expand AI provider test coverage with HTTP mocks 2025-12-17 15:53:56 +00:00
openai_test.go test: expand AI provider test coverage with HTTP mocks 2025-12-17 15:53:56 +00:00
provider.go feat: Implement multi-provider AI support 2025-12-11 16:00:45 +00:00