- docker-compose에 nanoclaude 서비스 추가 (포트 8100) - Caddy /nano/* → nanoclaude 리버스 프록시 (SSE flush) - aiosqlite 요청/응답 로깅 (request_logs 테이블) - .env.example, CLAUDE.md 업데이트 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
541 B
Python
25 lines
541 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
# EXAONE via Ollama
|
|
exaone_base_url: str = "http://localhost:11434"
|
|
exaone_model: str = "exaone3.5:7.8b-instruct-q8_0"
|
|
exaone_temperature: float = 0.7
|
|
exaone_timeout: float = 120.0
|
|
|
|
# Server
|
|
host: str = "0.0.0.0"
|
|
port: int = 8100
|
|
|
|
# DB
|
|
db_path: str = "/app/data/nanoclaude.db"
|
|
|
|
# Optional API key (empty = disabled)
|
|
api_key: str = ""
|
|
|
|
model_config = {"env_file": ".env", "extra": "ignore"}
|
|
|
|
|
|
settings = Settings()
|