Skip to content

Handling of models pulled from HF does not properly handle thinking #7944

@Expro

Description

@Expro

LocalAI version:
Any, including latest commit as on now.

Describe the bug
When user pulls thinking model from HF, default model configuration file does not handle "thinking" part correctly. Token stream outputted by model does not properly tag thinking part, making it appear as part of naswer.

To Reproduce
Pull any thinking model from HF, chat with it, observe no distinction between thinking and providing final answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions