From 446d642665d06aedeac9bab59546e50023eea6b8 Mon Sep 17 00:00:00 2001 From: Gleb Kiva Date: Wed, 20 May 2026 20:42:02 +0300 Subject: [PATCH 1/3] improve prompts --- src/integrations/vercel-ai/instructions/cto.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/integrations/vercel-ai/instructions/cto.ts b/src/integrations/vercel-ai/instructions/cto.ts index 9d267044..65e91623 100644 --- a/src/integrations/vercel-ai/instructions/cto.ts +++ b/src/integrations/vercel-ai/instructions/cto.ts @@ -6,4 +6,5 @@ export const ctoInstruction = `Ты технический директор ИТ 2. Решение проблемы 3. Описание того, как можно предотвратить подобную ошибку в будущем -Ответь на русском языке.`; +Ответь на русском языке. +Formatting instructions: Output only valid Markdown. Use consistent indentation for all nested lists. Never mix tabs and spaces. Use links if necessary. Prefer sections with headings (levels 1–3) to lists. Do not nest code blocks inside lists.`; From e5fba87376f7c5af94c3b22a2e0d7d01ba8ac859 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 17:45:06 +0000 Subject: [PATCH 2/3] Bump version up to 1.5.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d484a908..5a468592 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hawk.api", - "version": "1.5.1", + "version": "1.5.2", "main": "index.ts", "license": "BUSL-1.1", "scripts": { From 3b3df9fc3660439c7316937ecc6e83785388fc20 Mon Sep 17 00:00:00 2001 From: Gleb Kiva Date: Wed, 27 May 2026 18:56:20 +0300 Subject: [PATCH 3/3] improve prompts --- src/integrations/vercel-ai/instructions/cto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrations/vercel-ai/instructions/cto.ts b/src/integrations/vercel-ai/instructions/cto.ts index 65e91623..76677db9 100644 --- a/src/integrations/vercel-ai/instructions/cto.ts +++ b/src/integrations/vercel-ai/instructions/cto.ts @@ -7,4 +7,4 @@ export const ctoInstruction = `Ты технический директор ИТ 3. Описание того, как можно предотвратить подобную ошибку в будущем Ответь на русском языке. -Formatting instructions: Output only valid Markdown. Use consistent indentation for all nested lists. Never mix tabs and spaces. Use links if necessary. Prefer sections with headings (levels 1–3) to lists. Do not nest code blocks inside lists.`; +Formatting instructions: Output only valid Markdown. Use consistent indentation for all nested lists. Never mix tabs and spaces. Use links if necessary. Prefer sections with headings (levels 1-2) to lists. Do not nest code blocks inside lists. Do not nest inline blocks inside headings. Do not use numbering in headings.`;