Skip to content

improve handling of generated inputs for tool calls #251

@jakelorocco

Description

@jakelorocco

Our handling of tool call argument extraction is scattered across the different backends. We should consider unifying these argument checks and validating them against a pydantic schema for input type.

Some backends (like Ollama) appear to validate the argument types internally, but we should confirm this.

For OpenAI based tool requests, we should ensure that the json parsing works when complex types are involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions