We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d9b1d commit 4f462e9Copy full SHA for 4f462e9
1 file changed
backend/env.py
@@ -5,7 +5,7 @@
5
LLM_BASE_URL = os.getenv("LLM_BASE_URL", "https://ark.cn-beijing.volces.com/api/v3")
6
LLM_MODEL_ID = os.getenv("MODEL_ID")
7
LLM_API_KEY = os.getenv("ARK_API_KEY") or os.getenv("LLM_API_KEY")
8
-LLM_MAX_TOKENS = int(os.getenv("", 8192))
+LLM_MAX_TOKENS = int(os.getenv("LLM_MAX_TOKENS", 8192))
9
TOS_ACCESS_KEY = os.getenv("TOS_ACCESS_KEY")
10
TOS_SECRET_KEY = os.getenv("TOS_SECRET_KEY")
11
TOS_ENDPOINT = os.getenv("TOS_ENDPOINT")
0 commit comments