-
Notifications
You must be signed in to change notification settings - Fork 279
Description
i got issue while running in local
⨯ Error: Unsupported model version. AI SDK 4 only supports models that implement specification version "v1". Please upgrade to AI SDK 5 to use this model.
at async sendMessage (src/app/api/chat/route.ts:125:17)
at async createApp (src/actions/create-app.ts:90:4)
at async NewAppRedirectPage (src/app/app/new/page.tsx:43:17)
123 | });
124 |
125 | const stream = await builderAgent.stream([], {
| ^
126 | threadId: appId,
127 | resourceId: appId,
128 | maxSteps: 100, {
id: 'LLM_STREAM_TEXT_AI_SDK_EXECUTION_FAILED',
domain: 'LLM',
category: 'THIRD_PARTY',
details: [Object],
digest: '2241849047',
[cause]: Error [AI_UnsupportedModelVersionError]: Unsupported model version. AI SDK 4 only supports models that implement specification version "v1". Please upgrade to AI SDK 5 to use this model.
at async sendMessage (src/app/api/chat/route.ts:125:17)
at async createApp (src/actions/create-app.ts:90:4)
at async NewAppRedirectPage (src/app/app/new/page.tsx:43:17)
123 | });
124 |
125 | const stream = await builderAgent.stream([], {
| ^
126 | threadId: appId,
127 | resourceId: appId,
128 | maxSteps: 100, {
cause: undefined
}