diff --git a/internal/cmd/run.go b/internal/cmd/run.go index 2d5d0527..1b2119c9 100644 --- a/internal/cmd/run.go +++ b/internal/cmd/run.go @@ -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() diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go index fd75d24b..6a647c90 100644 --- a/internal/watcher/watcher.go +++ b/internal/watcher/watcher.go @@ -335,7 +335,7 @@ func (w *Watcher) createClientFromFile(path string, cfg *config.Config) (interfa return nil, nil // Not an error, just nothing to process yet. } - tokenType := "gemini" + tokenType := "" typeResult := gjson.GetBytes(data, "type") if typeResult.Exists() { tokenType = typeResult.String()