feat: Expose Default Task Model Prompts #5278

Closed
opened 2025-11-11 16:16:12 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @rlabusiness on GitHub (May 22, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

I’d like to tweak the behavior of the task model sometimes, but I don’t want to lose the core functionality that’s already there from the default prompts for:

  • Title Generation
  • Tags Generation
  • Retrieval Query Generation
  • Web Search Query Generation
  • Autocomplete Query Generation
  • Tools Function Calling Prompt
  • (plus any other places a built-in default prompt might be used)

Desired Solution you'd like

Either (1) expose each prompt by always pre-populating the “custom prompt” box with the default prompts, (2) add a button next to each box that populates them with the default prompt, or (3) add a button that pops up a modal that exposes the prompts with a “copy” button next to each so the user can easily override them.

Option (2) or (3) is preferred because if I’ve modified/customized the prompt, I need a way to pull in the default prompts again. Option (3) seems to be the easiest to implement and remains clear for the end user, so I recommend (3).

Alternatives Considered

Digging through the code to find the default prompts, but that’s not a great end user/admin experience.

Additional Context

No response

Originally created by @rlabusiness on GitHub (May 22, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description I’d like to tweak the behavior of the task model sometimes, but I don’t want to lose the core functionality that’s already there from the default prompts for: - Title Generation - Tags Generation - Retrieval Query Generation - Web Search Query Generation - Autocomplete Query Generation - Tools Function Calling Prompt - (plus any other places a built-in default prompt might be used) ### Desired Solution you'd like Either (1) expose each prompt by always pre-populating the “custom prompt” box with the default prompts, (2) add a button next to each box that populates them with the default prompt, or (3) add a button that pops up a modal that exposes the prompts with a “copy” button next to each so the user can easily override them. Option (2) or (3) is preferred because if I’ve modified/customized the prompt, I need a way to pull in the default prompts again. Option (3) seems to be the easiest to implement and remains clear for the end user, so I recommend (3). ### Alternatives Considered Digging through the code to find the default prompts, but that’s not a great end user/admin experience. ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5278