Skip to content

Using tools breaks schema #1222

@mlang

Description

@mlang

Apparently, whenever the model uses a tool, it forgets it is supposed to follow a schema.

"Works", returning the model cutoff:

llm --schema "date: current date" "What is the time?"
{"date":"2023-10-02"}

Fails, supposedly because the model used a tool which resulted in a chain.

llm --tool llm_time --schema "date: current date" "What is the time?"
The current time is 15:20:45 (3:20 PM) in CEST (Central European Summer Time) and 13:20:45 (1:20 PM) UTC.

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