[GH-ISSUE #7710] [docs-i18n] docs/prompts/macros.md, docs/prompts/conditional-prompts.md #4259

Closed
opened 2026-10-21 06:13:40 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ylli-selmani on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7710

Originally assigned to: @ylli-selmani on GitHub.

English docs change on staging in #7705 (new {{reasoning}} macro, #7704). The translated packs on docs-i18n need the same changes in every language folder.

docs/prompts/macros.md, section Context macros

  • New table row right after {{model}}:

    | {{reasoning}} | The reasoning level this reply is generated with: low, medium, high, xhigh, or max, or off when the model is not asked to think. |

  • New paragraph after the table, before the one that starts "The value of {{lastGenerationType}} is a plain label":

    {{reasoning}} names the level the model is actually sent, after your preset, connection, and chat settings are layered. Maximum shows as the highest level the model takes, so it can read max, xhigh, or high. Because off reads as false, {{#if reasoning}} keeps a block only while the model thinks. If your preset or chat already has its own variable named reasoning, that variable keeps the name.

docs/prompts/conditional-prompts.md

  • What you can compare, item 1: the keyword list ends "…input, model, or reasoning." (before: "…input, or model.").
  • Worked examples (before and after): "Here are three full examples" becomes "Here are five full examples". Two new examples are added at the end of the section, after "Match part of the user name": Model-specific instructions ({{#if model contains "opus"}}) and Chain-of-thought instructions only while the model thinks ({{#if reasoning}}…{{else}}…{{/if}}), each with its code block and one explanatory paragraph. Copy them from the English file. Keep the code blocks byte-identical; only translate the prose and the sentences inside the example instructions if the other examples in that pack do.

Keep macro names, operators and UI labels (Maximum) as they are. No headings, links or anchors changed.

After editing each pack, run node scripts/docs-i18n/build-manifest.mjs <pack-dir> and then node scripts/docs-i18n/validate-pack.mjs <pack-dir> from the Engine repo root.

🤖 Generated with Claude Code

Originally created by @ylli-selmani on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7710 Originally assigned to: @ylli-selmani on GitHub. English docs change on `staging` in #7705 (new `{{reasoning}}` macro, #7704). The translated packs on `docs-i18n` need the same changes in every language folder. **`docs/prompts/macros.md`**, section **Context macros** - New table row right after `{{model}}`: > | `{{reasoning}}` | The reasoning level this reply is generated with: `low`, `medium`, `high`, `xhigh`, or `max`, or `off` when the model is not asked to think. | - New paragraph after the table, before the one that starts "The value of `{{lastGenerationType}}` is a plain label": > `{{reasoning}}` names the level the model is actually sent, after your preset, connection, and chat settings are layered. **Maximum** shows as the highest level the model takes, so it can read `max`, `xhigh`, or `high`. Because `off` reads as false, `{{#if reasoning}}` keeps a block only while the model thinks. If your preset or chat already has its own variable named `reasoning`, that variable keeps the name. **`docs/prompts/conditional-prompts.md`** - **What you can compare**, item 1: the keyword list ends "…`input`, `model`, or `reasoning`." (before: "…`input`, or `model`."). - **Worked examples (before and after)**: "Here are three full examples" becomes "Here are five full examples". Two new examples are added at the end of the section, after "Match part of the user name": **Model-specific instructions** (`{{#if model contains "opus"}}`) and **Chain-of-thought instructions only while the model thinks** (`{{#if reasoning}}…{{else}}…{{/if}}`), each with its code block and one explanatory paragraph. Copy them from the English file. Keep the code blocks byte-identical; only translate the prose and the sentences inside the example instructions if the other examples in that pack do. Keep macro names, operators and UI labels (**Maximum**) as they are. No headings, links or anchors changed. After editing each pack, run `node scripts/docs-i18n/build-manifest.mjs <pack-dir>` and then `node scripts/docs-i18n/validate-pack.mjs <pack-dir>` from the Engine repo root. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@ylli-selmani commented on GitHub (Oct 16, 2026):

I'll do #7647, #7684 and #7710 in one sweep tomorrow.

<!-- gh-comment-id:6204979912 --> @ylli-selmani commented on GitHub (Oct 16, 2026): I'll do #7647, #7684 and #7710 in one sweep tomorrow.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4259
No description provided.