Skip to content

fix: ensure system messages at beginning for VLLM/openai-compatible providers (#12)#107

Closed
czs654 wants to merge 5 commits into
XiaomiMiMo:mainfrom
czs654:fix/issue-12-vllm-system-message
Closed

fix: ensure system messages at beginning for VLLM/openai-compatible providers (#12)#107
czs654 wants to merge 5 commits into
XiaomiMiMo:mainfrom
czs654:fix/issue-12-vllm-system-message

Conversation

@czs654

@czs654 czs654 commented Jun 11, 2026

Copy link
Copy Markdown

Summary

Ensures system messages are placed at the beginning of the message array for VLLM and openai-compatible providers.

Changes

  • Reorders messages to ensure system message is always first in the array
  • Fixes compatibility with VLLM and other OpenAI-compatible providers that require system messages at position 0
  • Prevents "system message must be first" errors from strict providers

Closes #12

qiaozongming and others added 5 commits June 11, 2026 01:23
Added the following keys to all 16 non-English locale files:
- ui.sessionReview.title.git
- ui.sessionReview.title.branch
- ui.sessionTurn.diffs.changed
- ui.sessionTurn.diffs.showAll
- ui.sessionTurn.diffs.showLess
- ui.sessionTurn.diffs.more

These keys were present in en.ts but missing from all other locales,
causing fallback to English text for non-English users.

Fixes XiaomiMiMo#53
@qiaozongming

Copy link
Copy Markdown
Collaborator

#947

@qiaozongming

Copy link
Copy Markdown
Collaborator

#1114

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.

接VLLM本地部署模型报错:System message must be at the beginning.

3 participants