legco_ai_assistant/backend/app
Woody f5cfe44183 feat(backend): add LLM monitoring with step names, timing, and prompt logging
- LLMClient.complete() now accepts step_name parameter to identify processing step

- Logs prompt preview (first 100 + last 100 chars) at INFO level

- Logs processing time in milliseconds with token usage stats

- Updated QueryDecomposer, RelevanceFilter, and RAGService to pass step names

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-23 14:51:57 +08:00
..
core feat(backend): migrate LLM client to OpenAI SDK with thinking control 2026-04-23 14:10:26 +08:00
models refactor(backend): update Pydantic models for ingestion and query 2026-04-23 13:26:20 +08:00
routers refactor(backend): update ingest and query routers 2026-04-23 13:26:32 +08:00
services feat(backend): add LLM monitoring with step names, timing, and prompt logging 2026-04-23 14:51:57 +08:00
test test(backend): update Phase 1 test suite 2026-04-23 13:27:40 +08:00
utils refactor(backend): update document parsers for DOCX and PDF 2026-04-23 13:27:08 +08:00
__init__.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
main.py feat(backend): add rotating file logging to backend/app/log/ 2026-04-23 14:09:48 +08:00