Initial commit: Add Ollama Proxy project files

This commit is contained in:
yshtcn
2025-01-23 00:13:12 +08:00
commit 49b834ff93
11 changed files with 662 additions and 0 deletions

5
.env.example Normal file
View File

@@ -0,0 +1,5 @@
OLLAMA_URL=http://your-ollama-server:11434
WAKE_URL=http://your-wake-server:9090/wol?mac=XX:XX:XX:XX:XX:XX
TIMEOUT_SECONDS=1
PORT=11434
MODEL_TIMEOUT_SECONDS=30 # 模型推理请求的超时时间(秒)