Skip to content

Commit 31549af

Browse files
committed
fix(watcher): update Gemini provider name to "gemini-cli" in file synthesizer logic
1 parent 1f21f94 commit 31549af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/watcher/synthesizer

internal/watcher/synthesizer/file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func synthesizeFileAuths(ctx *SynthesisContext, fullPath string, data []byte) []
7878
t, _ := metadata["type"].(string)
7979
provider := strings.ToLower(strings.TrimSpace(t))
8080
if provider == "gemini" {
81-
return nil
81+
provider = "gemini-cli"
8282
}
8383
if ctx.PluginAuthParser != nil {
8484
auths, handled, errParse := parsePluginFileAuths(ctx.PluginAuthParser, pluginapi.AuthParseRequest{
@@ -115,7 +115,7 @@ func synthesizeFileAuths(ctx *SynthesisContext, fullPath string, data []byte) []
115115
return auths
116116
}
117117
}
118-
if provider == "" {
118+
if provider == "" || provider == "gemini-cli" {
119119
return nil
120120
}
121121
label := provider

0 commit comments

Comments
 (0)