From 07d1b9af4c0bd7eba3fd31fd97cd8b110a58f93a Mon Sep 17 00:00:00 2001 From: slaveeks Date: Wed, 17 Dec 2025 18:13:06 +0300 Subject: [PATCH 1/3] fix: model not supported region --- src/integrations/vercel-ai/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integrations/vercel-ai/index.ts b/src/integrations/vercel-ai/index.ts index 48010f25..f840bb53 100644 --- a/src/integrations/vercel-ai/index.ts +++ b/src/integrations/vercel-ai/index.ts @@ -17,7 +17,7 @@ class VercelAIApi { /** * @todo make it dynamic, get from project settings */ - this.modelId = 'gpt-4o'; + this.modelId = 'deepseek/deepseek-v3.1'; } /** @@ -29,7 +29,7 @@ class VercelAIApi { */ public async generateSuggestion(payload: EventData) { const { text } = await generateText({ - model: openai(this.modelId), + model: this.modelId, system: ctoInstruction, prompt: eventSolvingInput(payload), }); From e15a1673d9bb10120ea4233852431f3dd7e4133e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 15:14:44 +0000 Subject: [PATCH 2/3] Bump version up to 1.2.32 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d710f56c..a54a7be1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hawk.api", - "version": "1.2.31", + "version": "1.2.32", "main": "index.ts", "license": "BUSL-1.1", "scripts": { From 912906d96d8279d19606a567fb313ed0fc219c06 Mon Sep 17 00:00:00 2001 From: slaveeks Date: Wed, 17 Dec 2025 18:15:53 +0300 Subject: [PATCH 3/3] minor --- src/integrations/vercel-ai/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrations/vercel-ai/index.ts b/src/integrations/vercel-ai/index.ts index f840bb53..b063b4c4 100644 --- a/src/integrations/vercel-ai/index.ts +++ b/src/integrations/vercel-ai/index.ts @@ -23,7 +23,7 @@ class VercelAIApi { /** * 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 */