-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add support for configuring the Gemini API version via the apiVersion field in configuration options, similar to the interface used in the genai library.
Developers should be able to specify a custom API version for the Gemini service when initializing the client. If not set, the default API version should be left blank and use the SDK default.
Reference: chatgpt-plugin#822
Example reference from genai:
export interface GoogleGenAIOptions {
...
/** Optional. The API version to use.
* If unset, the default API version will be used.
*/
apiVersion?: string;
...
}Acceptance Criteria:
- The
apiVersionfield is supported in the config for Gemini API. - If
apiVersionis unset or blank, the default SDK behavior is to be used. - Documentation is updated to clarify usage of
apiVersionfor Gemini API.
See also chatgpt-plugin issue 822 for the motivating scenario.
Copilot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request