Skip to content

Commit 07d1b9a

Browse files
committed
fix: model not supported region
1 parent f7cb8c9 commit 07d1b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrations/vercel-ai/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class VercelAIApi {
1717
/**
1818
* @todo make it dynamic, get from project settings
1919
*/
20-
this.modelId = 'gpt-4o';
20+
this.modelId = 'deepseek/deepseek-v3.1';
2121
}
2222

2323
/**
@@ -29,7 +29,7 @@ class VercelAIApi {
2929
*/
3030
public async generateSuggestion(payload: EventData<EventAddons>) {
3131
const { text } = await generateText({
32-
model: openai(this.modelId),
32+
model: this.modelId,
3333
system: ctoInstruction,
3434
prompt: eventSolvingInput(payload),
3535
});

0 commit comments

Comments
 (0)