feat: wire real LLM runner via third-one or OpenAI-compatible API

This commit is contained in:
user
2026-04-28 15:48:37 +09:00
parent 9b0bc172ef
commit dced20a9af
8 changed files with 486 additions and 5 deletions

5
.env
View File

@@ -6,3 +6,8 @@ TUTOR_MODEL_KEY=deepseek-v4-flash
TUTOR_IMAGE_MODEL_KEY=gpt-image-v2
THIRDONE_BIN=thirdone
TUTOR_PUBLIC_URL=https://tutor.uljisoft.com
# third-one endpoint (no API key needed — auth handled by third-one):
TUTOR_LLM_ENDPOINT=http://localhost:11434/v1
# For direct API access (e.g. OpenAI, DeepSeek), set endpoint + key:
# TUTOR_LLM_ENDPOINT=https://api.deepseek.com
# TUTOR_LLM_API_KEY=sk-your-key-here