We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c88a957 commit f3deab8Copy full SHA for f3deab8
src/api/providers/openrouter.ts
@@ -114,8 +114,8 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH
114
115
const transforms = (this.options.openRouterUseMiddleOutTransform ?? true) ? ["middle-out"] : undefined
116
117
- const isGemini = modelId.startsWith("google/gemini")
118
- const useStreaming = isGemini ? !this.options.geminiDisableStreaming : true
+ const isGoogle = modelId.startsWith("google/")
+ const useStreaming = isGoogle ? !this.options.geminiDisableStreaming : true
119
120
// https://openrouter.ai/docs/transforms
121
const completionParams: OpenRouterChatCompletionParams = {
0 commit comments