148211e236
- app.py: replace print() with logging, basicConfig with LOG_LEVEL env var - api_client.py: shared AsyncClient instance (connection pooling), URL-encode delete_document path parameter, aclose() for cleanup - services/document.py: validate file exists and extension before ingest - tests/: ChatService (4) + DocumentService (6) unit tests via pytest-asyncio - pyproject.toml: asyncio_mode = auto - requirements-dev.txt: pytest, pytest-asyncio Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
323 B
Bash
12 lines
323 B
Bash
# 율봇 API 서버 주소
|
|
YOULBOT_API_URL=http://localhost:8000
|
|
|
|
# API 토큰 (youlbot/.env의 API_TOKEN과 동일하게 설정. 빈 값이면 개발 모드)
|
|
YOULBOT_API_TOKEN=youlbot-ai-token!!@@1234
|
|
|
|
# 음성 설정 (로컬 실행)
|
|
WHISPER_MODEL_SIZE=small
|
|
TTS_VOICE=Yuna
|
|
TTS_EDGE_VOICE=ko-KR-SunHiNeural
|
|
LOG_LEVEL=INFO
|