[PR #126] [MERGED] Fix: Resolve 'System message should be the first one' error on subse… #116

Closed
opened 2026-03-03 13:58:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Kuingsmile/word-GPT-Plus/pull/126
Author: @sakshyasinha
Created: 1/1/2026
Status: Merged
Merged: 1/4/2026
Merged by: @Kuingsmile

Base: masterHead: fix-system-message-error


📝 Commits (1)

  • 42544c6 Fix: Resolve 'System message should be the first one' error on subsequent prompts

📊 Changes

1 file changed (+6 additions, -7 deletions)

View changed files

📝 src/pages/HomePage.vue (+6 -7)

📄 Description

…quent prompts

  • Changed processChat to always add only user messages to history
  • System message now prepended when creating finalMessages for LLM
  • Ensures complete conversation history is sent with system message first
  • Fixes issue #125

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Kuingsmile/word-GPT-Plus/pull/126 **Author:** [@sakshyasinha](https://github.com/sakshyasinha) **Created:** 1/1/2026 **Status:** ✅ Merged **Merged:** 1/4/2026 **Merged by:** [@Kuingsmile](https://github.com/Kuingsmile) **Base:** `master` ← **Head:** `fix-system-message-error` --- ### 📝 Commits (1) - [`42544c6`](https://github.com/Kuingsmile/word-GPT-Plus/commit/42544c6a1d704a94355c70ac2443f48708afd0e6) Fix: Resolve 'System message should be the first one' error on subsequent prompts ### 📊 Changes **1 file changed** (+6 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/pages/HomePage.vue` (+6 -7) </details> ### 📄 Description …quent prompts - Changed processChat to always add only user messages to history - System message now prepended when creating finalMessages for LLM - Ensures complete conversation history is sent with system message first - Fixes issue #125 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 13:58:58 +03:00
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
starred/word-GPT-Plus#116
No description provided.