(executor *tools.LongRunningExecutor)
| 233 | } |
| 234 | |
| 235 | func NewMockFileUploadTool(executor *tools.LongRunningExecutor) *MockFileUploadTool { |
| 236 | return &MockFileUploadTool{ |
| 237 | BaseLongRunningTool: tools.NewBaseLongRunningTool( |
| 238 | "mock_file_upload", |
| 239 | "Mock file upload tool with progress tracking", |
| 240 | executor, |
| 241 | ), |
| 242 | executor: executor, |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | func (t *MockFileUploadTool) StartAsync(ctx context.Context, args map[string]any) (string, error) { |
| 247 | // 使用自定义的执行逻辑 |
no test coverage detected