Merged in feature/chatbot1 (pull request #223)
Chatbot functionality * baseline working * missing test file * more tests
This commit is contained in:
@@ -74,6 +74,15 @@ func createContainer(t testing.TB, ctx context.Context, network string, cfg *con
|
||||
"RATE_LIMIT_GLOBAL_BURST": "20000", // 20k burst global (vs 1000 in prod)
|
||||
"RATE_LIMIT_DEFAULT_RATE": "1000", // 1k req/s per IP (vs 5 in prod)
|
||||
"RATE_LIMIT_DEFAULT_BURST": "2000", // 2k burst per IP (vs 10 in prod)
|
||||
// Chatbot config — required+notEmpty per plan §8. Test placeholder
|
||||
// values satisfy the loader and ChatbotConfig.Validate so the
|
||||
// queryAPI container starts; M3 introduces the FastAPI client and
|
||||
// will exercise these values against a real or test FastAPI.
|
||||
"CHATBOT_SERVICE_URL": "http://chatbot.test:8000",
|
||||
"CHATBOT_API_KEY": "test-api-key",
|
||||
"CHATBOT_REQUEST_TIMEOUT_SECONDS": "60",
|
||||
"CHATBOT_MAX_TURN_CHARS": "2000",
|
||||
"CHATBOT_RECENT_TURNS": "5",
|
||||
}
|
||||
if cfg.Env != nil {
|
||||
for k, v := range cfg.Env {
|
||||
|
||||
Reference in New Issue
Block a user