mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-05 04:35:14 -05:00
fix lint
This commit is contained in:
@@ -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:
|
||||
}
|
||||
|
||||
|
||||
@@ -131,4 +131,4 @@ func (t Tool) GetAuthTokenHeaderName(resourceMgr tools.SourceProvider) (string,
|
||||
|
||||
func (t Tool) GetParameters() parameters.Parameters {
|
||||
return t.Parameters
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,4 +131,4 @@ func (t Tool) GetAuthTokenHeaderName(resourceMgr tools.SourceProvider) (string,
|
||||
|
||||
func (t Tool) GetParameters() parameters.Parameters {
|
||||
return t.Parameters
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user