Skip to content

Commit 47936e2

Browse files
slaveeksgithub-actions[bot]neSpecc
authored
fix: model not supported region (#609)
* fix: model not supported region * Bump version up to 1.2.32 * minor --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Peter <[email protected]>
1 parent 5913cbd commit 47936e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/integrations/vercel-ai/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ 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
/**
2424
* Generate AI suggestion for the event
2525
*
26-
* @param {EventData<EventAddons>} payload - event data
26+
* @param {EventData<EventAddons>} payload - event data to make suggestion
2727
* @returns {Promise<string>} AI suggestion for the event
2828
* @todo add defence against invalid prompt injection
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)