fix(auth, executor): normalize Qwen base URL, adjust RefreshLead duration, and add tests

This commit is contained in:
Luis Pater
2026-04-09 18:07:07 +08:00
parent ad8e3964ff
commit 5e81b65f2f
4 changed files with 74 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func (a *QwenAuthenticator) Provider() string {
}
func (a *QwenAuthenticator) RefreshLead() *time.Duration {
return new(3 * time.Hour)
return new(20 * time.Minute)
}
func (a *QwenAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) {