diff --git a/src/integrations/vercel-ai/index.ts b/src/integrations/vercel-ai/index.ts index 48010f25..b063b4c4 100644 --- a/src/integrations/vercel-ai/index.ts +++ b/src/integrations/vercel-ai/index.ts @@ -17,19 +17,19 @@ class VercelAIApi { /** * @todo make it dynamic, get from project settings */ - this.modelId = 'gpt-4o'; + this.modelId = 'deepseek/deepseek-v3.1'; } /** * Generate AI suggestion for the event * - * @param {EventData} payload - event data + * @param {EventData} payload - event data to make suggestion * @returns {Promise} AI suggestion for the event * @todo add defence against invalid prompt injection */ public async generateSuggestion(payload: EventData) { const { text } = await generateText({ - model: openai(this.modelId), + model: this.modelId, system: ctoInstruction, prompt: eventSolvingInput(payload), });