fix(executor): route Claude refresh through retry-aware auth
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -594,7 +594,7 @@ func (e *ClaudeExecutor) Refresh(ctx context.Context, auth *cliproxyauth.Auth) (
|
|||||||
return auth, nil
|
return auth, nil
|
||||||
}
|
}
|
||||||
svc := claudeauth.NewClaudeAuth(e.cfg)
|
svc := claudeauth.NewClaudeAuth(e.cfg)
|
||||||
td, err := svc.RefreshTokens(ctx, refreshToken)
|
td, err := svc.RefreshTokensWithRetry(ctx, refreshToken, 3)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user