Default tokenType to an empty string instead of "gemini" in watcher.go and run.go.

This commit is contained in:
Luis Pater
2025-09-11 21:09:27 +08:00
parent 35daffdb2f
commit ef8820e4e4
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ func StartService(cfg *config.Config, configPath string) {
}
// Determine token type from JSON data, defaulting to "gemini" if not specified.
tokenType := "gemini"
tokenType := ""
typeResult := gjson.GetBytes(data, "type")
if typeResult.Exists() {
tokenType = typeResult.String()