Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/gaos/models/interactions/generation-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { VideoConfig } from "./video-config.js";
/**
* The tool choice configuration.
*/
export type ToolChoice = ToolChoiceType | ToolChoiceConfig;
export type ToolChoice = ToolChoiceConfig | ToolChoiceType;

/**
* Configuration parameters for model interactions.
Expand Down Expand Up @@ -55,7 +55,7 @@ export type GenerationConfig = {
/**
* The tool choice configuration.
*/
tool_choice?: ToolChoiceType | ToolChoiceConfig | undefined;
tool_choice?: ToolChoiceConfig | ToolChoiceType | undefined;
/**
* Configuration for speech recognition (transcription).
*/
Expand Down
Loading