修改历史对话
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 37s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 37s
This commit is contained in:
parent
2f7b88ece8
commit
929d6887ba
@ -1,26 +1 @@
|
|||||||
[
|
[]
|
||||||
{
|
|
||||||
"role": "user",
|
|
||||||
"content": "好了好了,在干嘛?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "到公司咯……正在喝咖啡,宝贝,想我没?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "user",
|
|
||||||
"content": "没有没有。"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "小淘气,就知道逗我……诶,你今天打算干嘛呀?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "user",
|
|
||||||
"content": "好了,说话说话。"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"role": "assistant",
|
|
||||||
"content": "好好好,一直都在说呀……是不是信号不好,没听清?"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@ -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 = [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user