Skip to content

Add OpenAI support to the LLM abstraction #146

@bhouston

Description

@bhouston

Add OpenAI support to the LLM abstraction

After implementing the new LLM abstraction with Anthropic support, we need to add support for OpenAI models.

Tasks

  1. Add OpenAI SDK as a dependency
  2. Implement OpenAI adapter for our LLM abstraction
  3. Convert between our message format and OpenAI's format
  4. Handle tool calls and tool results properly
  5. Update configuration to support OpenAI models
  6. Add tests for OpenAI integration

Benefits

  • Restore support for OpenAI models that was removed when reverting Vercel AI SDK
  • Provide users with more model options
  • Implement a cleaner, more reliable integration than the previous version

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