feat: 处理环境变量

This commit is contained in:
李如威 2025-11-24 14:51:24 +08:00
parent 00038b679a
commit a5f33c88d1
2 changed files with 10 additions and 1 deletions

8
.sample-env Normal file
View File

@ -0,0 +1,8 @@
# 主模型
MAIN_HTTP_URL=http://localhost:8022/v1/chat/completions
MAIN_HTTP_KEY=sk-local-827ccb0eea8a706c4c34a16891f84e7b
MAIN_MODEL_NAME=Qwen2.5
# Embedding
EMBEDDING_HTTP_URL=http://localhost:8023/v1/embeddings
EMBEDDING_HTTP_KEY=sk-local-827ccb0eea8a706c4c34a16891f84e7b
EMBEDDING_MODEL_NAME=Qwen3-Embedding

View File

@ -1,2 +1,3 @@
httpx==0.28.1 httpx==0.28.1
chromadb==1.3.4 chromadb==1.3.4
python-dotenv==1.2.1