System Prompts can not work on the first round. #1692

Closed
opened 2025-11-11 14:50:13 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @DirtyKnightForVi on GitHub (Aug 5, 2024).

Bug Report

Description

Bug Summary:
System Prompts can not work on the first round.

Actual Behavior:
For a specific task scenario, there might be special System Prompts. However, in the current version (at least starting from 3.10), an additional round of conversation is needed before these System Prompts can take effect.

Assuming the scenario is to generate SQL.

In the previous normal version, you could set the System Prompts in Setting --- General, then start inputting questions to generate SQL.

However, in the current version, after inputting a question, an additional round of Q&A with the LLM is required to produce the desired SQL.

Environment

  • Open WebUI Version: 3.11
  • Ollama (if applicable): 0.3.3
  • Operating System: linux
  • Browser (if applicable): Edge

Screenshots (if applicable):
微信图片_20240805180708
微信图片_20240805180959

Originally created by @DirtyKnightForVi on GitHub (Aug 5, 2024). # Bug Report ## Description **Bug Summary:** System Prompts can not work on the first round. **Actual Behavior:** For a specific task scenario, there might be special System Prompts. However, in the current version (at least starting from 3.10), an additional round of conversation is needed before these System Prompts can take effect. Assuming the scenario is to generate SQL. In the previous normal version, you could set the System Prompts in Setting --- General, then start inputting questions to generate SQL. However, in the current version, after inputting a question, an additional round of Q&A with the LLM is required to produce the desired SQL. ## Environment - **Open WebUI Version:** 3.11 - **Ollama (if applicable):** 0.3.3 - **Operating System:** linux - **Browser (if applicable):** Edge **Screenshots (if applicable):** ![微信图片_20240805180708](https://github.com/user-attachments/assets/a4f218a5-cefc-4449-9b58-7c5e5adbdf6d) ![微信图片_20240805180959](https://github.com/user-attachments/assets/b7cb9bfd-aca8-4cb8-b626-df53e611fab8)
Author
Owner

@DirtyKnightForVi commented on GitHub (Aug 5, 2024):

If I ask this question at the beginning, the large model will respond off-topic, as if the System Prompt I provided has no effect. However, when I ask the question during the second round of conversation, it can generate SQL normally.

@DirtyKnightForVi commented on GitHub (Aug 5, 2024): If I ask this question at the beginning, the large model will respond off-topic, as if the System Prompt I provided has no effect. However, when I ask the question during the second round of conversation, it can generate SQL normally.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1692