修改历史对话
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 37s

This commit is contained in:
Song367 2025-08-12 13:45:40 +08:00
parent 2f7b88ece8
commit 929d6887ba
2 changed files with 2 additions and 27 deletions

View File

@ -1,26 +1 @@
[ []
{
"role": "user",
"content": "好了好了,在干嘛?"
},
{
"role": "assistant",
"content": "到公司咯……正在喝咖啡,宝贝,想我没?"
},
{
"role": "user",
"content": "没有没有。"
},
{
"role": "assistant",
"content": "小淘气,就知道逗我……诶,你今天打算干嘛呀?"
},
{
"role": "user",
"content": "好了,说话说话。"
},
{
"role": "assistant",
"content": "好好好,一直都在说呀……是不是信号不好,没听清?"
}
]

View File

@ -121,7 +121,7 @@ async function chatWithAudioStream(userInput) {
const audioConfig = getAudioConfig(); const audioConfig = getAudioConfig();
console.log(`当前场景: ${llmConfig.sceneName} (${llmConfig.sceneTag})`); console.log(`当前场景: ${llmConfig.sceneName} (${llmConfig.sceneTag})`);
console.log(`使用API Key: ${llmConfig.model.substring(0, 8)}...`); console.log(`使用API Key: ${llmConfig.model}...`);
// 清空音频队列 // 清空音频队列
audioQueue = []; audioQueue = [];