Logo
Explore Help
Register Sign In
whfh/label_ai_service
0
0
Fork 0
You've already forked label_ai_service
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
e1eb5e47b1c90c5d7a784fa50cf0a07b6cd8e9b4
label_ai_service/app/routers/qa.py

4 lines
63 B
Python
Raw Normal View History

feat: Phase 1+2 — project setup and core infrastructure - requirements.txt, config.yaml, .env, Dockerfile, docker-compose.yml - app/core: config (YAML+env override), logging (JSON structured), exceptions (typed hierarchy), json_utils (Markdown fence stripping) - app/clients: LLMClient ABC + ZhipuAIClient (run_in_executor), StorageClient ABC + RustFSClient (boto3 head_object for size check) - app/main.py: FastAPI app with health endpoint and router registration - app/core/dependencies.py: lru_cache singleton factories - tests/conftest.py: mock_llm, mock_storage, test_app, client fixtures - pytest.ini: asyncio_mode=auto - 11 unit tests passing
2026-04-10 15:22:45 +08:00
from fastapi import APIRouter
router = APIRouter(tags=["QA"])
Reference in New Issue Copy Permalink
Powered by Gitea Version: 24.7.0 Page: 66ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API