diff --git a/chat_history.json b/chat_history.json index b81f060..0637a08 100644 --- a/chat_history.json +++ b/chat_history.json @@ -1,26 +1 @@ -[ - { - "role": "user", - "content": "好了好了,在干嘛?" - }, - { - "role": "assistant", - "content": "到公司咯……正在喝咖啡,宝贝,想我没?" - }, - { - "role": "user", - "content": "没有没有。" - }, - { - "role": "assistant", - "content": "小淘气,就知道逗我……诶,你今天打算干嘛呀?" - }, - { - "role": "user", - "content": "好了,说话说话。" - }, - { - "role": "assistant", - "content": "好好好,一直都在说呀……是不是信号不好,没听清?" - } -] \ No newline at end of file +[] \ No newline at end of file diff --git a/src/chat_with_audio.js b/src/chat_with_audio.js index 8051259..9e228c2 100644 --- a/src/chat_with_audio.js +++ b/src/chat_with_audio.js @@ -121,7 +121,7 @@ async function chatWithAudioStream(userInput) { const audioConfig = getAudioConfig(); console.log(`当前场景: ${llmConfig.sceneName} (${llmConfig.sceneTag})`); - console.log(`使用API Key: ${llmConfig.model.substring(0, 8)}...`); + console.log(`使用API Key: ${llmConfig.model}...`); // 清空音频队列 audioQueue = [];