Skip to content

fix: improve ai prompts#654

Open
FeironoX5 wants to merge 1 commit into
masterfrom
fix/cto-instruction-change
Open

fix: improve ai prompts#654
FeironoX5 wants to merge 1 commit into
masterfrom
fix/cto-instruction-change

Conversation

@FeironoX5

Copy link
Copy Markdown

Currently model doesn't provide valid markdown, e.g. it doesn't use indentation for nested lists. To fix that, formatting guide added to intructions.

@Reversean
Reversean force-pushed the fix/cto-instruction-change branch from c6b30b4 to f924399 Compare July 18, 2026 22:22
@Reversean
Reversean force-pushed the fix/cto-instruction-change branch from d1cd52d to d8fb517 Compare July 21, 2026 16:38
Restructure the CTO instruction prompt with explicit Markdown
formatting rules (consistent list indentation, no tabs, no nested
code blocks) so the model's output renders correctly.

Switch to deepseek/deepseek-v4-flash and add a gateway provider
fallback order (novita, azure, deepseek) so requests survive a
single provider outage. Drop the now-unneeded hand-written ambient
types for the `ai`/`@ai-sdk/openai` modules.

Co-authored-by: Gleb Kiva <feironox5@gmail.com>
@Reversean
Reversean force-pushed the fix/cto-instruction-change branch from 1692044 to cbb982b Compare July 21, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants