feat: add Claude Code and Codex CLI providers - #235
Closed
ashsanjay2005 wants to merge 1 commit into
Closed
Conversation
ashsanjay2005
marked this pull request as ready for review
June 22, 2026 19:54
Member
|
Thanks for this — the no-API-key angle (running on an existing Claude Code / SDK login) is a neat idea. We're standardizing on the config-driven provider layer from #298: Claude API access now lands via a |
pull Bot
pushed a commit
to BeeXD/hiring-agent
that referenced
this pull request
Jul 24, 2026
Add an `anthropic` provider block to providers.json using Anthropic's OpenAI-compatible endpoint (https://api.anthropic.com/v1). No new code is needed — the config-driven OpenAICompatibleProvider (from interviewstreet#298) handles it, the same way Gemini is wired via its OpenAI-compatible endpoint. Registers claude-opus-4-8, claude-sonnet-5, and claude-haiku-4-5, keyed on ANTHROPIC_API_KEY. structured_output is set to json_object (Anthropic's OpenAI-compatible layer has limited json_schema support; the pipeline also cleans up JSON via extract_json_from_response). Supersedes the pre-interviewstreet#298 Claude-provider PRs that added bespoke provider classes: interviewstreet#205, interviewstreet#224, interviewstreet#235, interviewstreet#279, interviewstreet#303, interviewstreet#330, interviewstreet#348. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Closes #204
Summary
chat()contract so pipeline call sites stay unchanged.Testing
python -m unittest discover -s testspython -m compileall -q models.py llm_utils.py prompt.py transform.py github.py tests/test_cli_provider_smoke.pypython -m black models.py llm_utils.py prompt.py transform.py github.py tests/test_cli_provider_smoke.pyNotes
There is overlapping upstream work in #205 for Claude/Gemini CLI support. This PR is narrower: it adds Claude Code and Codex CLI support without adding a new API dependency.