fix(gateway): constrain verified Qwen replies to emotion schema

This commit is contained in:
zenord
2026-10-12 12:18:18 +08:00
parent b521d368a5
commit 18ec4c2104
18 changed files with 351 additions and 60 deletions
+6 -1
View File
@@ -8,7 +8,12 @@ LAN_VAD_TOKEN=REPLACE_WITH_A_DIFFERENT_RANDOM_SECRET_AT_LEAST_32_CHARS
LAN_LLM_BASE_URL=http://127.0.0.1:8888/v1
LAN_LLM_MODEL=qwen3.8-27b
LAN_LLM_CHAT_TEMPLATE_KWARGS={"enable_thinking":false}
# Optional: prompt or json_schema. Unset enables schema ONLY for the verified
# exact local URL/model/thinking=false tuple above; all other providers use prompt.
# LAN_LLM_STRUCTURED_OUTPUT=json_schema
# Set API keys only in a private environment file. Do not commit them.
# LAN_LLM_API_KEY=REPLACE_WITH_PRIVATE_PROVIDER_KEY
# Doubao through existing LiteLLM: base http://192.168.31.53:4000/v1,
# model alias doubao-seed-2-1-pro, kwargs {}. Alias does not identify actual weights.
# model alias doubao-seed-2-1-pro, kwargs {}, LAN_LLM_STRUCTURED_OUTPUT=prompt.
# Reset this mode when switching providers; Doubao schema support is unverified.
# Alias does not identify actual weights.