feat/playground: 重构 playground组件

- 更新 Data 和 History组件的样式和布局
- 添加新的功能和交互,如热门搜索和智能体选择
- 优化组件性能和可维护性
This commit is contained in:
zhaoweijie
2025-08-21 14:08:07 +08:00
parent df0bf51bdf
commit efbf2a3eff
19 changed files with 1009 additions and 709 deletions

View File

@@ -357,6 +357,7 @@ export const PlaygroundForm = ({ dropedFile }: Props) => {
if (isListening) {
stopSpeechRecognition()
} else {
console.log("开始语音识别,语言:", speechToTextLanguage);
resetTranscript()
startListening({
continuous: true,