Skip to content

[FEATURE] Responses API for Azure, Bedrock, Gemini, Anthropic #4957

@kpeteln

Description

@kpeteln

Feature Area

Core functionality

Is your feature request related to a an existing bug? Please link it here.

Support for the Responses API was added for OpenAI in this commit: c4c9208#diff-4534b083df8dcb0882f6a62e0b98ce2520bcdde53d04a43b6488d0322485aefc in this file: https://github.com/crewAIInc/crewAI/blob/c4c92082297187ce01d917a9d24461f082b3109b/lib/crewai/src/crewai/llms/providers/openai/completion.py

If any other providers are used, the Responses API is not supported. This is a problem, as many new models don't support the Completions API any more.

Describe the solution you'd like

For consistency, the solution should be implemented similarly to how it was implemented here for OpenAI: https://github.com/crewAIInc/crewAI/blob/c4c92082297187ce01d917a9d24461f082b3109b/lib/crewai/src/crewai/llms/providers/openai/completion.py

Describe alternatives you've considered

No response

Additional context

No response

Willingness to Contribute

No, I'm just suggesting the idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions