Skip to content

Migrate from Anthropic Claude to OpenAI API with model selection#1

Open
krs-github16 wants to merge 18 commits intoleobeeson:openai-apifrom
krs-github16:using-openai-responses-api
Open

Migrate from Anthropic Claude to OpenAI API with model selection#1
krs-github16 wants to merge 18 commits intoleobeeson:openai-apifrom
krs-github16:using-openai-responses-api

Conversation

@krs-github16
Copy link
Copy Markdown

@krs-github16 krs-github16 commented Nov 1, 2025

This PR migrates the entire codebase from Anthropic's Claude API to OpenAI's responses API, providing users with both reasoning and non-reasoning model options.

Key Changes:

  • Complete API migration from Anthropic to OpenAI
  • Added model selection with reasoning vs non-reasoning detection
  • Updated all tool schemas for OpenAI function calling
  • Enhanced logging and error handling
  • Updated documentation

Features:

  • Model selection via --model argument
  • Automatic parameter adjustment based on model type
  • Metadata tracking

Testing:

  • All runbook .py files updated and functional
  • Clear documentation for model selection

This provides users with choice between Claude and OpenAI APIs while maintaining the functional value.

daveebbelaar and others added 18 commits September 29, 2025 15:31
…. Update README and runbook for improved clarity on usage and installation instructions.
…book scripts, and add argparse import in the interactive CLI script.
…improve startup message formatting in the basic script.
…k characters in responses across main and runbook scripts.
- Replace Anthropic with OpenAI responses API

- Update tool schemas and message format

- Change env vars and tool calling logic

- Add error handling and maintain structure as much as possible
- Replace Anthropic with OpenAI responses API

- Add model selection and reasoning model detection

- Update tool schemas to OpenAI function calling format

- Change message format from messages to input array

- Add enhanced logging and CLI improvements
- Replace Claude references with OpenAI GPT models

- Update API key requirements and environment variables

- Change Anthropic Console link to OpenAI Platform
…onses-api

Migrate from Anthropic Claude to OpenAI API with model selection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants