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
31b3969b96
Enhance ToolLibrary by adding sourceKey to ToolParameterDraft and updating related functions for improved schema management. Introduce normalization functions for object schemas and defaults, and refactor buildToolParameterConfig to utilize these enhancements. Update state management in ToolLibraryPage to accommodate new schema handling and defaults integration.
2026-03-02 02:18:28 +08:00
Xin Wang
3626297211
Implement schema editor functionality in ToolLibrary, allowing users to manage tool parameters with JSON schema validation. Add a drawer for schema editing, enhance state management for schema-related errors, and integrate schema defaults into tool parameter configuration. Update UI to include a button for opening the schema drawer.
2026-03-02 01:54:54 +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
b035e023c4
Implement runtime tool ID and display name mapping in DuplexPipeline. Enhance Assistants and ToolLibrary components to utilize new mappings for improved tool identification and display. Update DebugDrawer to reflect changes in tool display names during interactions.
2026-02-27 15:50:43 +08:00
Xin Wang
0f1165af64
Enhance Dialog component to accept contentClassName prop for customizable styling. Update ToolLibraryPage to utilize new prop for improved modal layout. Refactor text in ToolLibrary for clarity.
2026-02-27 15:12:01 +08:00
Xin Wang
487634c494
Implement tool parameter management in ToolLibrary, including types, default value handling, and schema generation. Introduce functions for creating, updating, and removing tool parameters, enhancing the configuration capabilities for tools. Update state management to reflect new parameter structure.
2026-02-27 15:04:52 +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
02d12ea996
Update assistant tool setting ui
2026-02-11 12:00:36 +08:00
Xin Wang
4c46793169
Make server tool http based
2026-02-11 11:39:45 +08:00
Xin Wang
59cda0987f
Update tool panel and db
2026-02-09 00:22:31 +08:00
Xin Wang
d0b96a3f72
Add edit and delete button for tools
2026-02-09 00:17:06 +08:00
Xin Wang
77b186dceb
Update tool panel
2026-02-09 00:14:11 +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