Skip to content

Commit b8e8c0b

Browse files
committed
Sync .env.example runtime constraint comment to the litellm upper bound
1 parent 3e28a75 commit b8e8c0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ GEMINI_API_KEY=
201201
# - Moonshot 官方模型卡(评测默认 temperature = 1.0):https://huggingface.co/moonshotai/Kimi-K2.6
202202
# - OpenAI Chat Completions 规范:https://platform.openai.com/docs/api-reference/chat/create
203203
# - LiteLLM OpenAI-Compatible 规范:https://docs.litellm.ai/docs/providers/openai_compatible
204-
# 当前仓库运行时依赖约束:litellm>=1.80.10,!=1.82.7,!=1.82.8,<2.0.0(显式排除 PyPI 事故版本,见 requirements.txt)。
204+
# 当前仓库运行时依赖约束:litellm>=1.80.10,!=1.82.7,!=1.82.8,<1.99.0(显式排除 PyPI 事故版本并将上界收敛到已验证版本,见 requirements.txt)。
205205
# 因此 kimi-k2.6 会自动改用 1.0/0.6;GPT-5 / o 系列等默认温度模型会省略 temperature,避免 API 拒绝请求。
206206
# 若兼容平台返回明确的参数不支持错误,运行时会在当前请求内修正参数并重试一次;成功策略只做进程内缓存。
207207
# top_p、presence_penalty、frequency_penalty、seed 若返回“不支持参数”,同样会触发本次请求级别的修正与重试(不改写 LLM_TEMPERATURE)。

0 commit comments

Comments
 (0)