Xin Wang
eecde9f0fb
Integrate React Query for data management and enhance Debug Preferences
...
- Added React Query for managing API calls related to assistants and voices.
- Introduced `useAssistantsQuery` and `useVoicesQuery` hooks for fetching data.
- Implemented mutations for creating, updating, and deleting voices using React Query.
- Integrated a global `QueryClient` for managing query states and configurations.
- Refactored components to utilize the new query hooks, improving data handling and performance.
- Added a Zustand store for managing debug preferences, including WebSocket URL and audio settings.
2026-03-02 22:50:57 +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
Xin Wang
2725d2fe20
Improve web ui
2026-02-07 14:28:54 +08:00
Xin Wang
dc3130d387
Update web page config
2026-02-06 23:09:24 +08:00
Xin Wang
d96ffdeda4
Add web
2026-02-06 20:43:35 +08:00