mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
System Prompts can not work on the first round. #1692
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Screenshots (if applicable):


@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.