From b8682dcae4cda354c4faa93ceb9c1e825e17b754 Mon Sep 17 00:00:00 2001 From: Nokro <1506769455@qq.com> Date: Tue, 8 Sep 2026 18:26:29 +0800 Subject: [PATCH] docs: correct response spelling in Gemini comments --- core/llm/llms/gemini-types.ts | 2 +- packages/openai-adapters/src/util/gemini-types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/llm/llms/gemini-types.ts b/core/llm/llms/gemini-types.ts index 8dde5a02f47..8e2f52cc946 100644 --- a/core/llm/llms/gemini-types.ts +++ b/core/llm/llms/gemini-types.ts @@ -141,7 +141,7 @@ function convertJsonSchemaToGeminiSchema(jsonSchema: any): GeminiObjectSchema { } // https://ai.google.dev/api/caching#FunctionDeclaration -// Note "reponse" field (schema showing function output structure) is not supported at the moment +// Note "response" field (schema showing function output structure) is not supported at the moment export function convertContinueToolToGeminiFunction( tool: Tool, ): GeminiToolFunctionDeclaration { diff --git a/packages/openai-adapters/src/util/gemini-types.ts b/packages/openai-adapters/src/util/gemini-types.ts index e4e3de92bbb..66f2eb94f47 100644 --- a/packages/openai-adapters/src/util/gemini-types.ts +++ b/packages/openai-adapters/src/util/gemini-types.ts @@ -141,7 +141,7 @@ function convertJsonSchemaToGeminiSchema(jsonSchema: any): GeminiObjectSchema { } // https://ai.google.dev/api/caching#FunctionDeclaration -// Note "reponse" field (schema showing function output structure) is not supported at the moment +// Note "response" field (schema showing function output structure) is not supported at the moment export function convertOpenAIToolToGeminiFunction( tool: ChatCompletionTool, ): GeminiToolFunctionDeclaration {