Commit Graph

32 Commits

Author SHA1 Message Date
Xin Wang
bfe165daae Add DashScope ASR model support and enhance related components
- Introduced DashScope as a new ASR model in the database initialization.
- Updated ASRModel schema to include vendor information.
- Enhanced ASR router to support DashScope-specific functionality, including connection testing and preview capabilities.
- Modified frontend components to accommodate DashScope as a selectable vendor with appropriate default settings.
- Added tests to validate DashScope ASR model creation, updates, and connectivity.
- Updated backend API to handle DashScope-specific base URLs and vendor normalization.
2026-03-09 07:37:00 +08:00
Xin Wang
da38157638 Add ASR interim results support in Assistant model and API
- Introduced `asr_interim_enabled` field in the Assistant model to control interim ASR results.
- Updated AssistantBase and AssistantUpdate schemas to include the new field.
- Modified the database schema to add the `asr_interim_enabled` column.
- Enhanced runtime metadata to reflect interim ASR settings.
- Updated API endpoints and tests to validate the new functionality.
- Adjusted documentation to include details about interim ASR results configuration.
2026-03-06 12:58:54 +08:00
Xin Wang
00b88c5afa Add manual opener tool calls to Assistant model and API
- Introduced `manual_opener_tool_calls` field in the Assistant model to support custom tool calls.
- Updated AssistantBase and AssistantUpdate schemas to include the new field.
- Implemented normalization and migration logic for handling manual opener tool calls in the API.
- Enhanced runtime metadata to include manual opener tool calls in responses.
- Updated tests to validate the new functionality and ensure proper handling of tool calls.
- Refactored tool ID normalization to support legacy tool names for backward compatibility.
2026-03-02 12:34:42 +08:00
Xin Wang
229243e832 Add wait_for_response functionality to ToolResource and related components. Update API models, schemas, and routers to support new parameter. Enhance UI components to manage wait_for_response state, ensuring proper integration across the application. 2026-02-27 16:54:39 +08:00
Xin Wang
5f768edf68 Add parameter schema and defaults to ToolResource model and schemas. Implement runtime tool resolution in assistants and tools routers, ensuring proper handling of tool parameters. Update tests to validate new functionality and ensure correct integration of parameter handling in the API. 2026-02-27 14:44:28 +08:00
Xin Wang
0de6fe529e Add audio preview functionality for assistant opener audio in AssistantsPage. Implement controls for previewing and stopping audio playback, and integrate new API endpoint for fetching PCM buffer. Enhance user interface with updated button states for audio actions. 2026-02-26 16:15:31 +08:00
Xin Wang
fb95e2abe2 Add opener audio functionality to Assistant model and related schemas, enabling audio generation and playback features. Update API routes and frontend components to support opener audio management, including status retrieval and generation controls. 2026-02-26 14:31:50 +08:00
Xin Wang
f77f7c7531 Voice library support dashscope 2026-02-26 03:54:52 +08:00
Xin Wang
72ed7d0512 Unify db api 2026-02-26 01:58:39 +08:00
Xin Wang
28ca003662 Use generated short id for llm asr tts 2026-02-12 19:05:50 +08:00
Xin Wang
ff3a03b1ad Use openai compatible as vendor 2026-02-12 18:44:55 +08:00
Xin Wang
edcbc2cec7 Add first turn option 2026-02-12 15:23:32 +08:00
Xin Wang
d41db6418c Add bot not interrupt and generated opener 2026-02-12 13:51:27 +08:00
Xin Wang
4c46793169 Make server tool http based 2026-02-11 11:39:45 +08:00
Xin Wang
15523d9ec2 Add tts/text output schema 2026-02-11 09:50:46 +08:00
Xin Wang
30f757529f Improve KB upload 2026-02-10 10:50:47 +08:00
Xin Wang
375181a524 Add index button 2026-02-10 10:42:40 +08:00
Xin Wang
323ef61573 Add kb index status 2026-02-10 10:34:25 +08:00
Xin Wang
94a562a1d5 Add debug knowledge base 2026-02-10 10:22:38 +08:00
Xin Wang
bbeffa89ed Update workflow feature with codex 2026-02-10 08:12:46 +08:00
Xin Wang
8c88d7c57a Fetch llm from db 2026-02-09 08:33:09 +08:00
Xin Wang
c15c5283e2 Merge WS v1 engine and web debug runtime-config integration 2026-02-09 08:19:55 +08:00
Xin Wang
fb6d1eb1da Implement WS v1 protocol and runtime-config powered debug drawer 2026-02-09 08:19:39 +08:00
Xin Wang
479cfb797b Fix knowledge base crash 2026-02-09 08:14:17 +08:00
Xin Wang
bdd5a7a274 Update knowledge frontend 2026-02-09 07:37:25 +08:00
Xin Wang
77b186dceb Update tool panel 2026-02-09 00:14:11 +08:00
Xin Wang
be68e335f1 Update llm library web interface 2026-02-08 23:55:40 +08:00
Xin Wang
4bf2f788ad Update asr library preview 2026-02-08 23:38:34 +08:00
Xin Wang
97e3236e76 Update voice libary key form 2026-02-08 23:16:21 +08:00
Xin Wang
68f69f9b09 Voice libary data presistence after codex 2026-02-08 22:39:55 +08:00
Xin Wang
8069a16227 Patch both api and web sides 2026-02-08 21:59:56 +08:00
Xin Wang
86744f0842 Frontend start to use backend CRUD api 2026-02-08 15:08:18 +08:00