Skip to content

Auto apply correct chat template when using OpenAI compatible API #925

@Tureti

Description

@Tureti

v1 api currently uses a harcoded alpaca prompt template with support for specifying adapters to change it: #466
This method is not supported in for example Open-WebUI. It would be great if koboldcpp could automatically apply the chat template specified in tokenizer.chat_template of the gguf model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions