legco_ai_assistant/backend/app/services
Woody 74cb8b83d5 feat(backend): migrate LLM client to OpenAI SDK with thinking control
- Replace httpx with openai.AsyncOpenAI

- Add llm_enable_thinking config (default False)

- Add _build_extra_body() for Qwen3.5 thinking mode control

- Use chat_template_kwargs for vLLM/SGLang compatibility

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

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-23 14:10:26 +08:00
..
__init__.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
embedding_client.py feat(backend): add embedding client and update LLM client 2026-04-23 13:26:43 +08:00
llm_client.py feat(backend): migrate LLM client to OpenAI SDK with thinking control 2026-04-23 14:10:26 +08:00
query_decomposer.py refactor(backend): update query decomposer, relevance filter, and RAG service 2026-04-23 13:26:56 +08:00
rag.py refactor(backend): update query decomposer, relevance filter, and RAG service 2026-04-23 13:26:56 +08:00
relevance_filter.py refactor(backend): update query decomposer, relevance filter, and RAG service 2026-04-23 13:26:56 +08:00