Skip to content

Feature Request: Make tool calling appended message optional and not default in llama-serverΒ #18323

@danielhanchen

Description

@danielhanchen

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

When using --jinja, llama-server appends the following system message if tools are supported: Respond in JSON format, either with tool_call (a request to call tools) or with response reply to the user's request. See

"Respond in JSON format, either with `tool_call` (a request to call tools) or with `response` reply to the user's request");

Using a custom system message also doesn't work, as the string always gets appended afterwards.

Could this be made optional? Thanks!

Motivation

I couldn't find this in the docs, and I only saw it via --verbose-prompt --verbose and saw it got appended.

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