Skip to content

fix: bug(gateway): cron job outputs injected as assistant role, breaki - #2264

Closed
dieutx wants to merge 1 commit into
NousResearch:mainfrom
dieutx:fix/issue-2221
Closed

fix: bug(gateway): cron job outputs injected as assistant role, breaki#2264
dieutx wants to merge 1 commit into
NousResearch:mainfrom
dieutx:fix/issue-2221

Conversation

@dieutx

@dieutx dieutx commented Mar 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix for #2221: bug(gateway): cron job outputs injected as assistant role, breaking message alternation

Closes #2221

Test plan

  • Run pytest to confirm no regressions

…alternation

Cron job outputs were injected as assistant role messages, creating
consecutive assistant messages that violate user/assistant alternation.
Changed mirror message role to user for proper message sequencing.

Closes NousResearch#2221
@teknium1

Copy link
Copy Markdown
Contributor

Addressed via PR #2313 with a different approach — instead of changing the mirror role, we removed cron session mirroring entirely and wrapped deliveries with a header/footer. Thanks for flagging the issue!

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.

bug(gateway): cron job outputs injected as assistant role, breaking message alternation

2 participants