Skip to content

Feature request: Include Anthropic style toolcalling #72

Description

@RiaGruen

Currently there are two different protocols for calling tools out in the wild: OpenAI's and Anthropic's. To support a broader ranger of LLMs it would be nice if FreeAIr supported both.

Here's the documentation of the protocols:
https://developers.openai.com/api/docs/guides/function-calling?api-mode=responses
https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview

Additionally the fact that only OpenAI's protocol is implemented leads to an almost endless re-calling when a tool fails due to a LLM supporting only Anthropic's protocoll. FreeAIr won't get anything useful out of an Anthropic-style response.

Implementing the protocol would close the gap to Claude.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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