feat local model config (#3252)

This commit is contained in:
shaohuzhang1 2025-06-13 15:31:51 +08:00 committed by GitHub
parent 748420167a
commit f7349d2b3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,10 @@ class Config(dict):
"DB_PASSWORD": "Password123@postgres",
"DB_ENGINE": "dj_db_conn_pool.backends.postgresql",
"DB_MAX_OVERFLOW": 80,
'LOCAL_MODEL_HOST': '127.0.0.1',
'LOCAL_MODEL_PORT': '11636',
'LOCAL_MODEL_PROTOCOL': "http",
'LOCAL_MODEL_HOST_WORKER': 1,
# 语言
'LANGUAGE_CODE': 'zh-CN',
"DEBUG": False,