Skip to content

Feature Request: Dynamic System Prompt Content (ex: ability to add dynamic date) #22178

@NickM-27

Description

@NickM-27

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

It would be great if there was a way to have dynamic content in the llama-server WebUI System Prompt. So that things such as {{ date }} could be added dynamically into the prompt so the LLM is grounded on what the current date is.

An alternative would be a simple MCP tool to get the current date, but this adds extra turns that for something somewhat static could just be dynamically added there.

Motivation

allows the LLM to be grounded on what the current date or other information is that changes occasionally without editing the prompt each day / time the data changes or adding tools to get this info on every conversation.

Possible Implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions