File tree Expand file tree Collapse file tree
apps/vibe-coding-platform/ai Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { type GatewayModelId } from '@ai-sdk/gateway'
22
3- export const DEFAULT_MODEL : GatewayModelId [ number ] = 'openai/wagyu-a5 '
3+ export const DEFAULT_MODEL : GatewayModelId [ number ] = 'openai/gpt-5 '
44
55export const SUPPORTED_MODELS : GatewayModelId [ ] = [
66 'amazon/nova-pro' ,
77 'anthropic/claude-4-sonnet' ,
88 'google/gemini-2.5-flash' ,
99 'moonshotai/kimi-k2' ,
1010 'openai/gpt-4o' ,
11+ 'openai/gpt-5' ,
1112 'openai/o4-mini' ,
12- 'openai/wagyu-a5' ,
1313 'xai/grok-3-fast' ,
1414]
1515
Original file line number Diff line number Diff line change @@ -7,16 +7,13 @@ const gateway = createGatewayProvider({
77} )
88
99interface AvailableModel {
10- id : GatewayModelId | 'openai/wagyu-a5 '
10+ id : GatewayModelId | 'openai/gpt-5 '
1111 name : string
1212}
1313
1414export async function getAvailableModels ( ) : Promise < AvailableModel [ ] > {
1515 const response = await gateway . getAvailableModels ( )
16- return [
17- ...response . models . map ( ( { id, name } ) => ( { id, name } ) ) ,
18- { id : 'openai/wagyu-a5' , name : 'GPT-5' } ,
19- ]
16+ return [ ...response . models . map ( ( { id, name } ) => ( { id, name } ) ) ]
2017}
2118
2219interface ModelOptions {
@@ -38,7 +35,7 @@ export function getModelOptions(modelId: string): ModelOptions {
3835 }
3936 }
4037
41- if ( modelId === 'openai/wagyu-a5 ' ) {
38+ if ( modelId === 'openai/gpt-5 ' ) {
4239 return {
4340 model : modelId ,
4441 providerOptions : {
You can’t perform that action at this time.
0 commit comments