fix: correct indentation in provider.go to pass gci linter
This commit is contained in:
parent
005611f997
commit
54d83efcc1
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ func (p *Provider) Chat(
|
|||
// Gemini and other providers reject unknown fields, so skip for non-OpenAI APIs.
|
||||
if cacheKey, ok := options["prompt_cache_key"].(string); ok && cacheKey != "" {
|
||||
if !strings.Contains(p.apiBase, "generativelanguage.googleapis.com") &&
|
||||
!strings.Contains(p.apiBase, "api.groq.com") {
|
||||
!strings.Contains(p.apiBase, "api.groq.com") {
|
||||
requestBody["prompt_cache_key"] = cacheKey
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue