Skip to content

feat(providers): add OpenAI provider (internal/providers/openai) #6

Description

@Nithwin

Goal

Add native integration for OpenAI models (gpt-4o, o1, o3-mini) so users can switch providers smoothly.

Requirements

  1. Create internal/providers/openai/provider.go implementing ai.Provider.
  2. Translate ai.Message and ai.ToolDefinition structures into OpenAI schema formats (function tool calls).
  3. Register via ai.Register("openai", New) inside init().

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions