Skip to content

fix(session): route all Muse family models to the Meta system prompt - #41581

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
mreso:feat/muse-family-meta-prompt
Aug 10, 2026
Merged

fix(session): route all Muse family models to the Meta system prompt#41581
rekram1-node merged 1 commit into
anomalyco:devfrom
mreso:feat/muse-family-meta-prompt

Conversation

@mreso

@mreso mreso commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

The system prompt dispatcher only matched the substring "muse-spark", so newer Muse models such as muse-glimmer / muse-glimmer-30b fell through to PROMPT_DEFAULT instead of receiving PROMPT_META.

Gate PROMPT_META on any "muse" model id and template the model name into the prompt via {{MODEL_NAME}}: render "Muse Glimmer" for muse-glimmer ids and default to "Muse Spark" for every other Muse model.

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

The system prompt dispatcher only matched the substring "muse-spark", so
newer Muse models such as muse-glimmer / muse-glimmer-30b fell through to
PROMPT_DEFAULT instead of receiving PROMPT_META.

Gate PROMPT_META on any "muse" model id and template the model name into
the prompt via {{MODEL_NAME}}: render "Muse Glimmer" for muse-glimmer ids
and default to "Muse Spark" for every other Muse model.
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Aug 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No "Type of change" checkbox is checked. Please select at least one.
  • No issue referenced. Please add Closes #<number> linking to the relevant issue.
  • "How did you verify your code works?" section is empty. Please explain how you tested.
  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@rekram1-node
rekram1-node merged commit b9f3b38 into anomalyco:dev Aug 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor needs:compliance This means the issue will auto-close after 2 hours. needs:issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants