Fix some bugs.

This commit is contained in:
Luis Pater
2025-08-29 03:00:43 +08:00
parent 3704dae342
commit e9e0016a63
2 changed files with 3 additions and 2 deletions

View File

@@ -535,7 +535,7 @@ func (c *ClaudeClient) GetEmail() string {
if ts, ok := c.tokenStorage.(*claude.ClaudeTokenStorage); ok {
return ts.Email
} else {
return ""
return c.cfg.ClaudeKey[c.apiKeyIndex].APIKey
}
}