StartAsync 实现 LongRunningTool 接口
(ctx context.Context, args map[string]any)
| 324 | |
| 325 | // StartAsync 实现 LongRunningTool 接口 |
| 326 | func (t *BaseLongRunningTool) StartAsync(ctx context.Context, args map[string]any) (string, error) { |
| 327 | return t.executor.StartAsync(ctx, t, args) |
| 328 | } |
| 329 | |
| 330 | // GetStatus 实现 LongRunningTool 接口 |
| 331 | func (t *BaseLongRunningTool) GetStatus(ctx context.Context, taskID string) (*TaskStatus, error) { |
nothing calls this directly
no test coverage detected