This commit is contained in:
duwenxin99
2026-02-04 11:32:57 -05:00
parent 99c2582c6f
commit 08bc74033a
3 changed files with 3 additions and 3 deletions

View File

@@ -247,7 +247,7 @@ func (t Tool) Invoke(ctx context.Context, resourceMgr tools.SourceProvider, para
for retries < maxRetries {
select {
case <-ctx.Done():
return nil, util.NewAgentError("timed out waiting for operation %s", ctx.Err())
return nil, util.NewAgentError("timed out waiting for operation", ctx.Err())
default:
}

View File

@@ -131,4 +131,4 @@ func (t Tool) GetAuthTokenHeaderName(resourceMgr tools.SourceProvider) (string,
func (t Tool) GetParameters() parameters.Parameters {
return t.Parameters
}
}

View File

@@ -131,4 +131,4 @@ func (t Tool) GetAuthTokenHeaderName(resourceMgr tools.SourceProvider) (string,
func (t Tool) GetParameters() parameters.Parameters {
return t.Parameters
}
}