Merged in feature/chatbot1 (pull request #223)

Chatbot functionality

* baseline working

* missing test file

* more tests
This commit is contained in:
Jay Brown
2026-05-07 20:56:18 +00:00
parent 17fc813823
commit 72de690894
62 changed files with 19150 additions and 445 deletions
+6
View File
@@ -188,6 +188,12 @@ func initializeTestConfig(t testing.TB, cfg *ControllerConfig) {
// Reset the singleton config state for testing
serviceconfig.ResetConfigInitOnceTestOnly()
// Chatbot config is loaded via env tags during InitializeConfig and
// has required+notEmpty fields. Provide test placeholder values so
// the loader accepts the parse; production env supplies real values.
t.Setenv("CHATBOT_SERVICE_URL", "http://chatbot.test:8000")
t.Setenv("CHATBOT_API_KEY", "test-api-key")
// Initialize the base configuration
err := serviceconfig.InitializeConfig(cfg)
require.NoError(t, err)