Write apps/ai_agent/docs/configuration.md: every environment variable and setting the service reads — the OpenAI API key, model selection, Weaviate connection details, host/port — plus startup behaviour when one is missing.
Acceptance criteria:
- Every variable documented with required/optional status and default
- Documents the missing-API-key behaviour precisely:
/health still returns 200 while /chat returns 500, which is deliberate and load-balancer-visible
- Documents Weaviate connection configuration and the failure mode when it is unreachable
- Cross-links the repo-wide environment reference
Write
apps/ai_agent/docs/configuration.md: every environment variable and setting the service reads — the OpenAI API key, model selection, Weaviate connection details, host/port — plus startup behaviour when one is missing.Acceptance criteria:
/healthstill returns 200 while/chatreturns 500, which is deliberate and load-balancer-visible