Skip to content

Commit 2667444

Browse files
google-genai-botcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 923086732
1 parent bb66101 commit 2667444

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gaos/models/interactions/generation-config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { VideoConfig } from "./video-config.js";
2222
/**
2323
* The tool choice configuration.
2424
*/
25-
export type ToolChoice = ToolChoiceType | ToolChoiceConfig;
25+
export type ToolChoice = ToolChoiceConfig | ToolChoiceType;
2626

2727
/**
2828
* Configuration parameters for model interactions.
@@ -55,7 +55,7 @@ export type GenerationConfig = {
5555
/**
5656
* The tool choice configuration.
5757
*/
58-
tool_choice?: ToolChoiceType | ToolChoiceConfig | undefined;
58+
tool_choice?: ToolChoiceConfig | ToolChoiceType | undefined;
5959
/**
6060
* Configuration for speech recognition (transcription).
6161
*/

0 commit comments

Comments
 (0)