From c197f5c9423f1a35bfed34151ab715da7510960b Mon Sep 17 00:00:00 2001 From: Chingfeng Li Date: Fri, 21 Nov 2025 11:19:03 +0800 Subject: [PATCH] FIX: Completions.create() got an unexpected keyword argument 'top_k' --- main/xiaozhi-server/config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/main/xiaozhi-server/config.yaml b/main/xiaozhi-server/config.yaml index 8bdf3860..a4087395 100644 --- a/main/xiaozhi-server/config.yaml +++ b/main/xiaozhi-server/config.yaml @@ -487,7 +487,6 @@ LLM: temperature: 0.7 # 温度值 max_tokens: 500 # 最大生成token数 top_p: 1 - top_k: 50 frequency_penalty: 0 # 频率惩罚 AliAppLLM: # 定义LLM API类型