Migrate from Anthropic Claude to OpenAI API with model selection#1
Open
krs-github16 wants to merge 18 commits intoleobeeson:openai-apifrom
Open
Migrate from Anthropic Claude to OpenAI API with model selection#1krs-github16 wants to merge 18 commits intoleobeeson:openai-apifrom
krs-github16 wants to merge 18 commits intoleobeeson:openai-apifrom
Conversation
…. 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.
… and reduce redundancy.
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Features:
--modelargumentTesting:
This provides users with choice between Claude and OpenAI APIs while maintaining the functional value.