Skip to content

Commit f3a91f6

Browse files
faygadeclaude
andcommitted
Add model parameter to InvokeLLM for per-call model selection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 08cedbf commit f3a91f6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/modules/integrations.types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ export type IntegrationPackage = {
4646
export interface InvokeLLMParams {
4747
/** The prompt text to send to the model */
4848
prompt: string;
49+
/** Optionally specify a model to override the app-level model setting for this specific call.
50+
*
51+
* Options: `"gpt_5_mini"`, `"gemini_3_flash"`, `"gpt_5"`, `"gemini_3_pro"`, `"claude_sonnet_4_6"`, `"claude_opus_4_6"`
52+
*/
53+
model?: 'gpt_5_mini' | 'gemini_3_flash' | 'gpt_5' | 'gemini_3_pro' | 'claude_sonnet_4_6' | 'claude_opus_4_6';
4954
/** If set to `true`, the LLM will use Google Search, Maps, and News to gather real-time context before answering.
5055
* @default false
5156
*/

0 commit comments

Comments
 (0)