Skip to content

Issue while running in local, its not running #13

@d-advansapp

Description

@d-advansapp

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions