Add OrcaRouter as a built-in scan target - #324
Open
Marc-oss-hub wants to merge 1 commit into
Open
Conversation
Mirrors the existing OpenRouter entry: adds an OrcaRouter API spec template (OpenAI-compatible /v1 chat/completions) to the spec lists and a corresponding entry in LLM_CONFIGS so it appears in the scan target dropdown alongside OpenRouter. Co-Authored-By: Claude <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.
Add OrcaRouter as a built-in scan target
Adds OrcaRouter to the LLM endpoint dropdown, mirroring the existing OpenRouter entry.
What's included:
agentic_security/routes/_specs.py— new OrcaRouter API spec template (POST https://api.orcarouter.ai/v1/chat/completions, OpenAI-compatible,$ORCAROUTER_API_KEY) in both spec lists, plus a matchingOrcaRouterentry inLLM_CONFIGS.agentic_security/static/base.js— the same OrcaRouter spec template andLLM_CONFIGSentry for the frontend dropdown, kept index-aligned with the spec list.Both the Python (
_SPECS+LLM_CONFIGS→/v1/llm-specs) and frontend (LLM_SPECS+LLM_CONFIGS) lists stay aligned at 15 entries each, with OrcaRouter appearing alongside OpenRouter.ai. OrcaRouter exposes an OpenAI-compatible/v1chat/completions API, so the spec template uses the samemessagesformat as the existing OpenAI/DeepSeek/Together entries and works with the scanner out of the box.I'm an engineer on the OrcaRouter team. OrcaRouter is a secure, privacy-focused LLM gateway that unifies OpenAI-compatible model access behind a single API.