Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Standard implementation of call_api in LLMModel trait #78

@kamillitman

Description

@kamillitman

Inventory of how call_api works for different providers:

  • Anthropic - requires different auth header and specialized headers for tool use
  • AWS - very different, using SDK
  • DeepSeek - pretty standard
  • Gemini - different models, versions, streaming modes. Very different
  • Mistral - standard
  • OpenAI - slightly but different. The URL depends on version
  • Perplexity - standard
  • xAI - standard

All in all, 4 out of 8 could be implemented leveraging standard trait implementation.

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