Independent Auditing of AI Agents. Run by human or the agent itself, to answer the most crucial question in the AI Agent Economy. Is the agent doing what is supposed to do? With iFixAi you can have this answer in less than 120 seconds.
Python agent-evaluationaiai-alignmentai-evaluationai-governanceai-safetyclidiagnostic-tooleu-ai-acthallucination-detectioniso-42001llm-evaluationllm-securitynist-ai-rmfowasp-llmprompt-injectionpythonresponsible-airisk-assessmentrisk-management
feat: add orcarouter as a named provider (#106)
martinzudergaming-a11ydcce945505b9
diff --git a/README.md b/README.mdindex 0c1fc5a..a0d2037 100644--- a/README.md+++ b/README.md@@ -169,7 +169,7 @@ Reports land in `./ifixai-results/` as JSON **and** Markdown. Without a second k`--eval-mode self` to run as a smoke test (the grade still prints, but it's flagged asself-judged, not a result you can cite). Pinning the judge, Full-mode ensembles, and the eval modes:**[docs/cli.md](docs/cli.md#how-a-run-is-judged)**. Other providers (OpenAI, Atlas Cloud,-OpenRouter, Gemini, Azure, Bedrock, Hugging Face) install the matching extra and follow the same steps; the+OpenRouter, OrcaRouter, Gemini, Azure, Bedrock, Hugging Face) install the matching extra and follow the same steps; theHTTP and LangChain adapters need no provider extra: **[docs/testing-your-agent.md](docs/testing-your-agent.md#provider-reference)**.### Recommended judge setupsdiff --git a/SECURITY.md b/SECURITY.mdindex b3f9ed3..88c324e 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -44,6 +44,7 @@ The scrubber (`ifixai/providers/secrets.py::scrub_secrets`) is parametrically ve| any (JWT-shaped bearer tokens, incl. `minimax`) | three-segment JWT beginning with `eyJ` | `***REDACTED_JWT***` || `atlascloud` | `(ak|apikey)-[A-Za-z0-9_-]{20,}` | `***REDACTED_ATLASCLOUD_KEY***` || `openrouter` | `sk-or-[A-Za-z0-9_-]{20,}` (matched before `openai`) | `***REDACTED_OPENROUTER_KEY***` |+| `orcarouter` | `sk-orca-[A-Za-z0-9_-]{20,}` (matched before `openai`) | `***REDACTED_ORCAROUTER_KEY***` || `anthropic` | `sk-ant-[A-Za-z0-9_-]{20,}`, `anthropic_[A-Za-z0-9_-]{20,}` | `***REDACTED_ANTHROPIC_KEY***` || `gemini` | `AIzaSy[0-9A-Za-z_-]{33}` | `***REDACTED_GEMINI_KEY***` || `azure` | 32-char hex (`\b[a-fA-F0-9]{32}\b`) | `***REDACTED_AZURE_KEY***` |diff --git a/docs/cli.md b/docs/cli.mdindex e030d32..fdba33a 100644--- a/docs/cli.md+++ b/docs/cli.md@@ -21,7 +21,7 @@ ifixai run -p openai -k "$OPENAI_API_KEY" -c DECEPTION # example: one category| Flag | Default | Does ||---|---|---|-| `--provider`, `-p` | none | `mock`, `openai`, `openrouter`, `anthropic`, `gemini`, `azure`, `bedrock`, `huggingface`, `http`, `langchain`. |+| `--provider`, `-p` | none | `mock`, `openai`, `openrouter`, `orcarouter`, `anthropic`, `gemini`, `azure`, `bedrock`, `huggingface`, `http`, `langchain`. || `--api-key`, `-k` | none | SUT API key. Always passed explicitly, never read from the environment. || `--model`, `-m` | provider default | Model identifier override. || `--endpoint`, `-e` | none | Endpoint URL (required for `http` and `azure`). |diff --git a/docs/testing-your-agent.md b/docs/testing-your-agent.mdindex d0b9843..38d2f7c 100644--- a/docs/testing-your-agent.md+++ b/docs/testing-your-agent.md@@ -120,6 +120,7 @@ the SUT key from the environment: pass `--api-key` / `-k`, or enter it when prom| `atlascloud` | `.[atlascloud]` | `ATLASCLOUD_API_KEY` or `ATLAS_CLOUD_API_KEY` | `--provider atlascloud -k "$ATLASCLOUD_API_KEY" --model qwen/qwen3.5-flash` || `minimax` | none | `MINIMAX_API_KEY` | `--provider minimax -k "$MINIMAX_API_KEY" --model MiniMax-M3` || `openrouter` | `.[openrouter]` | `OPENROUTER_API_KEY` | `--provider openrouter -k "$OPENROUTER_API_KEY" --model openai/gpt-4o` plus explicit judge |+| `orcarouter` | `.[orcarouter]` | `ORCAROUTER_API_KEY` | `--provider orcarouter -k "$ORCAROUTER_API_KEY" --model openai/gpt-4o` plus explicit judge || `gemini` | `.[gemini]` | `GEMINI_API_KEY` or `GOOGLE_API_KEY` | `--provider gemini -k "$GEMINI_API_KEY"` || `azure` | `.[azure]` | `AZURE_OPENAI_API_KEY` | `--provider azure --endpoint https://YOUR_RESOURCE.openai.azure.com/ -k "$AZURE_OPENAI_API_KEY" --model YOUR_DEPLOYMENT_NAME` plus explicit judge || `bedrock` | `.[bedrock]` | AWS credential chain | `--provider bedrock -k not-used --model anthropic.claude-sonnet-4-6` |diff --git a/ifixai/cli/init.py b/ifixai/cli/init.pyindex 5b001be..f8bb990 100644--- a/ifixai/cli/init.py+++ b/ifixai/cli/init.py@@ -13,6 +13,7 @@ PROVIDER_ENV_KEYS: dict[str, str] = {"openai": "OPENAI_API_KEY","minimax": "MINIMAX_API_KEY","openrouter": "OPENROUTER_API_KEY",+ "orcarouter": "ORCAROUTER_API_KEY","gemini": "GEMINI_API_KEY","azure": "AZURE_OPENAI_API_KEY","bedrock": "AWS_ACCESS_KEY_ID",diff --git a/ifixai/cli/model_catalog.py b/ifixai/cli/model_catalog.pyindex a553189..fc729e0 100644--- a/ifixai/cli/model_catalog.py+++ b/ifixai/cli/model_catalog.py@@ -33,6 +33,7 @@ def _minimax_pricing_summary(model_id: str) -> str:DEFAULT_MODEL: dict[str, str] = {"openrouter": "openai/gpt-4o",+ "orcarouter": "openai/gpt-4o","openai": "gpt-4o","anthropic": "claude-3-5-sonnet-latest","gemini": "gemini-2.0-flash",@@ -58,6 +59,15 @@ MODEL_SUGGESTIONS: dict[str, list[tuple[str, str]]] = {("meta-llama/llama-4-maverick", "Meta Llama 4 Maverick — open-weights flagship"),("meta-llama/llama-3.3-70b-instruct", "Meta Llama 3.3 70B — open-weights, good value"),],+ "orcarouter": [+ ("openai/gpt-4o", "OpenAI GPT-4o — flagship, widely available"),+ ("anthropic/claude-opus-4.8", "Anthropic Claude Opus 4.8 — most capable, pricier"),+ ("anthropic/claude-sonnet-4.6", "Anthropic Claude Sonnet 4.6 — strong reasoning & safety"),+ ("openai/gpt-4.1", "OpenAI GPT-4.1 — strong, widely available"),+ ("google/gemini-2.5-flash", "Google Gemini 2.5 Flash — fast and inexpensive"),+ ("deepseek/deepseek-v4-flash", "DeepSeek V4 Flash — very low cost"),+ ("qwen/qwen3.5-flash", "Qwen3.5 Flash — capable open-weights instruct"),+ ],"openai": [("gpt-4o", "Flagship — strong general reasoning"),("gpt-4o-mini", "Cheaper & faster"),diff --git a/ifixai/cli/run.py b/ifixai/cli/run.pyindex 44c47f1..368f84b 100644--- a/ifixai/cli/run.py+++ b/ifixai/cli/run.py@@ -141,6 +141,7 @@ PROVIDER_CHOICES = ["http","langchain","openrouter",+ "orcarouter",]FORMAT_CHOICES = ["json", "markdown", "both"]diff --git a/ifixai/cli/setup_cmd.py b/ifixai/cli/setup_cmd.pyindex 9bd67be..fe5c722 100644--- a/ifixai/cli/setup_cmd.py+++ b/ifixai/cli/setup_cmd.py@@ -20,6 +20,7 @@ from ifixai.providers.minimax import DEFAULT_BASE_URL, REGIONAL_ENDPOINTS_PROVIDER_DESCRIPTIONS: dict[str, str] = {"openrouter": "One key → many models (OpenAI, Anthropic, Google, Llama…)",+ "orcarouter": "OpenAI-compatible gateway — many models, one key","openai": "OpenAI API — GPT-4o / o-series","anthropic": "Anthropic API — Claude family","gemini": "Google Gemini",@@ -46,6 +47,7 @@ _MODE_DESCRIPTIONS: dict[str, str] = {_ALL_PROVIDERS = ["openrouter",+ "orcarouter","openai","anthropic","gemini",@@ -197,6 +199,15 @@ def setup(ctx: click.Context) -> None:default=DEFAULT_BASE_URL,descriptions=dict(_MINIMAX_ENDPOINTS),)+ elif provider == "orcarouter":+ default_ep = os.environ.get("IFIXAI_ORCAROUTER_ENDPOINT") or "https://api.orcarouter.ai/v1"+ endpoint = (+ ui.text(+ "OrcaRouter endpoint URL:",+ default=default_ep,+ ).strip()+ or None+ )if provider == "http":grounding = "sut"diff --git a/ifixai/core/types.py b/ifixai/core/types.pyindex bb6a51f..1cb2967 100644--- a/ifixai/core/types.py+++ b/ifixai/core/types.py@@ -188,7 +188,7 @@ class ProviderConfig(BaseModel):"Request structured JSON output from the provider (response_format=""json_object). Set ONLY for LLM-judge calls so cheap models reliably ""emit a parseable verdict; never for the system-under-test, whose reply "- "must stay natural. Honored by the openai, openrouter, azure, litellm "+ "must stay natural. Honored by the openai, openrouter, orcarouter, azure, litellm ""(response_format) and gemini (response_mime_type) providers, which fall ""back to free text if the model rejects it; a no-op on providers with no ""JSON mode (anthropic, bedrock, huggingface), where the json-repair "diff --git a/ifixai/providers/orcarouter.py b/ifixai/providers/orcarouter.pynew file mode 100644index 0000000..2196142--- /dev/null+++ b/ifixai/providers/orcarouter.py@@ -0,0 +1,160 @@+import asyncio++import openai++from ifixai.core.types import ChatMessage, ProviderConfig+from ifixai.providers.base import (+ ChatProvider,+ ProviderAuthError,+ ProviderConnectionError,+ ProviderEmptyContentError,+ ProviderRateLimitError,+ ProviderResponseError,+ ProviderTimeoutError,+ create_chat_completion_json_fallback,+ raise_for_http_status,+ raise_if_choice_errored,+ raise_if_truncated,+)++DEFAULT_MODEL = "openai/gpt-4o"+DEFAULT_BASE_URL = "https://api.orcarouter.ai/v1"+# Hard ceiling on max_tokens for OrcaRouter calls. Per-call ``config.max_tokens``+# is clamped to this value; unset config falls through to the ceiling. Prevents+# verbose generations from blowing wall-time and credits on long fixtures. Mirrors+# the OpenRouter provider ceiling so judge/SUT replies aren't truncated mid-verdict.+MAX_TOKENS_CEILING: int = 8192++ClientCacheKey = tuple[str, str | None, float, int]+++class OrcaRouterProvider(ChatProvider):+ def __init__(self) -> None:+ self._clients: dict[ClientCacheKey, openai.AsyncOpenAI] = {}+ self._client_lock = asyncio.Lock()++ async def get_client(self, config: ProviderConfig) -> openai.AsyncOpenAI:+ """Return a long-lived AsyncOpenAI client keyed on connection params.++ Caching by (base_url, api_key, timeout, max_retries) lets the+ underlying httpx pool reuse TCP/TLS across LLM calls instead of+ paying a handshake per request.+ """+ base_url = config.endpoint or DEFAULT_BASE_URL+ key: ClientCacheKey = (+ base_url,+ config.api_key,+ float(config.timeout),+ config.max_retries,+ )+ cached = self._clients.get(key)+ if cached is not None:+ return cached+ async with self._client_lock:+ cached = self._clients.get(key)+ if cached is not None:+ return cached+ client = openai.AsyncOpenAI(+ api_key=config.api_key,+ base_url=base_url,+ timeout=float(config.timeout),+ max_retries=config.max_retries,+ )+ self._clients[key] = client+ return client++ async def aclose(self) -> None:+ for client in self._clients.values():+ await client.close()+ self._clients.clear()++ async def send_message(+ self,+ messages: list[ChatMessage],+ config: ProviderConfig,+ ) -> str:+ base_url = config.endpoint or DEFAULT_BASE_URL+ model = config.model or DEFAULT_MODEL+ formatted = [{"role": m.role, "content": m.content} for m in messages]++ client = await self.get_client(config)+ try:+ effective_max_tokens = (+ min(config.max_tokens, MAX_TOKENS_CEILING)+ if config.max_tokens is not None+ else MAX_TOKENS_CEILING+ )+ create_kwargs: dict = {+ "model": model,+ "messages": formatted, # type: ignore[arg-type]+ "max_tokens": effective_max_tokens,+ "temperature": config.temperature,+ }+ if config.seed is not None:+ create_kwargs["seed"] = config.seed+ if config.json_output:+ # Constrain judge calls to valid JSON so cheap models reliably emit+ # a parseable verdict instead of breaking the contract. Falls back to+ # free text (json-repair handles parsing) if the model does not+ # support response_format.+ #+ # No `reasoning` suppression here, unlike OpenRouter. `reasoning` is+ # OpenRouter's own gateway extension, not an OpenAI-SDK parameter,+ # and OrcaRouter documents no equivalent. Sending an undocumented+ # field on the judge path risks a 400 for no confirmed benefit.+ create_kwargs["response_format"] = {"type": "json_object"}+ response = await create_chat_completion_json_fallback(+ client, **create_kwargs+ )+ choices = response.choices+ if not choices:+ raise ProviderResponseError(+ provider="orcarouter",+ endpoint=base_url,+ details=f"No choices in response (id={response.id})",+ )+ choice = choices[0]+ finish_reason = choice.finish_reason or "unknown"+ if choice.message is None:+ raise ProviderResponseError(+ provider="orcarouter",+ endpoint=base_url,+ details=f"Missing message in choice (finish_reason={finish_reason})",+ )+ content = choice.message.content+ if config.reject_truncated:+ raise_if_truncated("orcarouter", base_url, finish_reason, content or "")+ if not content:+ raise ProviderEmptyContentError(+ provider="orcarouter",+ endpoint=base_url,+ details=f"Empty content in response (finish_reason={finish_reason})",+ )+ raise_if_choice_errored("orcarouter", base_url, choice, content)+ except openai.AuthenticationError as exc:+ raise ProviderAuthError(+ provider="orcarouter", endpoint=base_url, details=str(exc)+ ) from exc+ except openai.RateLimitError as exc:+ raise ProviderRateLimitError(+ provider="orcarouter", endpoint=base_url, details=str(exc)+ ) from exc+ except openai.APITimeoutError as exc:+ raise ProviderTimeoutError(+ provider="orcarouter", endpoint=base_url, details=str(exc)+ ) from exc+ except openai.APIConnectionError as exc:+ raise ProviderConnectionError(+ provider="orcarouter", endpoint=base_url, details=str(exc)+ ) from exc+ except openai.APIStatusError as exc:+ # OrcaRouter's retryable band (408 timeout, 500 internal, 502 model+ # down, 503 no routable provider, 504) is split off here as a+ # transient overload; everything else stays a response error.+ raise_for_http_status("orcarouter", base_url, exc)+ except openai.APIError as exc:+ raise ProviderResponseError(+ provider="orcarouter", endpoint=base_url, details=str(exc)+ ) from exc+ else:+ return contentdiff --git a/ifixai/providers/resolver.py b/ifixai/providers/resolver.pyindex db3218e..4e4a746 100644--- a/ifixai/providers/resolver.py+++ b/ifixai/providers/resolver.py@@ -50,6 +50,11 @@ try:except ImportError:OpenRouterProvider = None+try:+ from ifixai.providers.orcarouter import OrcaRouterProvider+except ImportError:+ OrcaRouterProvider = None+try:from ifixai.providers.litellm import LiteLLMProviderexcept ImportError:@@ -63,6 +68,7 @@ REGISTERED_PROVIDERS: tuple[str, ...] = ("atlascloud","minimax","openrouter",+ "orcarouter","anthropic","gemini","azure",@@ -83,6 +89,7 @@ _PROVIDER_MAP: dict[str, type] = {"atlascloud": AtlasCloudProvider,"minimax": MiniMaxProvider,"openrouter": OpenRouterProvider,+ "orcarouter": OrcaRouterProvider,"anthropic": AnthropicProvider,"gemini": GeminiProvider,"azure": AzureOpenAIProvider,@@ -161,6 +168,7 @@ _PROVIDER_CREDENTIAL_ENV_VARS: dict[str, tuple[str, ...]] = {"bedrock": ("AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"),"huggingface": ("HUGGINGFACE_API_TOKEN", "HF_TOKEN"),"openrouter": ("OPENROUTER_API_KEY",),+ "orcarouter": ("ORCAROUTER_API_KEY",),"litellm": ("LITELLM_API_KEY",),}diff --git a/ifixai/providers/secrets.py b/ifixai/providers/secrets.pyindex c86c01d..304a24d 100644--- a/ifixai/providers/secrets.py+++ b/ifixai/providers/secrets.py@@ -12,11 +12,13 @@ ENV_VAR_BY_PROVIDER: dict[str, str] = {"azure": "AZURE_OPENAI_API_KEY","bedrock": "AWS_ACCESS_KEY_ID","huggingface": "HF_TOKEN",+ "orcarouter": "ORCAROUTER_API_KEY",}_SECRET_PATTERNS: Final[tuple[Pattern[str], ...]] = (re.compile(r"^sk-cp-[A-Za-z0-9_-]+$"),re.compile(r"^sk-or-[A-Za-z0-9_-]{20,}$"),+ re.compile(r"^sk-orca-[A-Za-z0-9_-]{20,}$"),re.compile(r"^ak-[A-Za-z0-9_-]{20,}$"),re.compile(r"^sk-ant-[A-Za-z0-9_-]{20,}$"),re.compile(r"^sk-[A-Za-z0-9_-]{20,}$"),@@ -43,6 +45,10 @@ _SCRUB_RULES: Final[tuple[tuple[Pattern[str], str], ...]] = (re.compile(r"sk-or-[A-Za-z0-9_-]{20,}"),"***REDACTED_OPENROUTER_KEY***",),+ (+ re.compile(r"sk-orca-[A-Za-z0-9_-]{20,}"),+ "***REDACTED_ORCAROUTER_KEY***",+ ),(re.compile(r"(?<![A-Za-z0-9_-])ak-[A-Za-z0-9_-]{20,}(?![A-Za-z0-9_-])"),"***REDACTED_ATLASCLOUD_KEY***",diff --git a/ifixai/reporting/scorecard.py b/ifixai/reporting/scorecard.pyindex 2dceac5..97b7ad2 100644--- a/ifixai/reporting/scorecard.py+++ b/ifixai/reporting/scorecard.py@@ -271,7 +271,7 @@ def b32_not_applicable_warning(# aggregator (e.g. a Gemini SUT graded by a Claude judge, both via OpenRouter) is# recognized as independent instead of mislabeled "self-judge"._AGGREGATOR_PROVIDERS: Final[frozenset[str]] = frozenset(- {"openrouter", "atlascloud", "litellm", "http", "langchain"}+ {"openrouter", "orcarouter", "atlascloud", "litellm", "http", "langchain"})# Distinct provider slugs that front the SAME underlying model vendor, so adiff --git a/ifixai/scaffold/playbook.md b/ifixai/scaffold/playbook.mdindex 4337020..bde06dd 100644--- a/ifixai/scaffold/playbook.md+++ b/ifixai/scaffold/playbook.md@@ -97,7 +97,7 @@ IFIXAI_SURFACE=skill uvx --from "ifixai[<provider>]" ifixai run \```Substitute a provider valid as BOTH the install extra and the `--provider` value: one of-`anthropic`, `openai`, `gemini`, `azure`, `bedrock`, `openrouter`, or `huggingface`. (`mock`+`anthropic`, `openai`, `gemini`, `azure`, `bedrock`, `openrouter`, `orcarouter`, or `huggingface`. (`mock`runs fully offline for a free smoke test, with `--provider mock --api-key mock --eval-modeself`.) The extra installs that provider's SDK; if you test on one provider and judge onanother, install the union. After the user approves the dry-run estimate, rerun the identical@@ -144,6 +144,7 @@ over the file). A missing key fails fast and names the variable to set.| azure | `AZURE_OPENAI_API_KEY` (plus `--endpoint`) || bedrock | `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` || openrouter | `OPENROUTER_API_KEY` |+| orcarouter | `ORCAROUTER_API_KEY` || huggingface | `HUGGINGFACE_API_TOKEN` or `HF_TOKEN` |If the SUT and a judge share a provider, one key covers both. A judge on a second provider@@ -406,7 +407,7 @@ at each. Map the picks to flags yourself.build a stand-in that mirrors your setup and test that instead?" A URL keeps this path; a "no"moves to the fallback. Don't guess an endpoint or fall back silently.- *Bare stand-in (fallback, no endpoint).* Offer the providers the user has a key for:- `anthropic`, `openai`, `gemini`, `azure`, `bedrock`, `openrouter`, `huggingface`, with+ `anthropic`, `openai`, `gemini`, `azure`, `bedrock`, `openrouter`, `orcarouter`, `huggingface`, with`--grounding fixture`. Offer to pin a model (`--model <id>`) or take the provider default.Maps to `--provider` / `--model`. Tests the model, not the deployment. (`mock` runs offlinefor free.)diff --git a/plugin/skills/ifixai/SKILL.md b/plugin/skills/ifixai/SKILL.mdindex b5ed81c..9e696e7 100644--- a/plugin/skills/ifixai/SKILL.md+++ b/plugin/skills/ifixai/SKILL.md@@ -105,7 +105,7 @@ Then check the engine is present:the Anthropic SDK only. To fall back to (or judge with) another provider, installits extra on demand into the same venv:`"${CLAUDE_PLUGIN_DATA}/venv/bin/pip" install "ifixai[openai]"` (or `gemini`,- `azure`, `bedrock`, `openrouter`, `huggingface`). On Windows that pip is+ `azure`, `bedrock`, `openrouter`, `orcarouter`, `huggingface`). On Windows that pip is`"${CLAUDE_PLUGIN_DATA}\venv\Scripts\pip.exe"`. A missing SDK fails fast namingthe provider, so install then re-run.- **Keys live in the environment, never on a command line.** Each provider (and the@@ -520,7 +520,7 @@ Present these two choices in this order and recommend the first:path; a "no" moves to option 2. Never guess an endpoint or silently fall back.2. **Replicate the model as a bare stand-in (fallback, no endpoint).** Name the**provider** that runs the model beneath the agent (`--provider`): `anthropic`,- `openai`, `gemini`, `azure`, `bedrock`, `openrouter`, `huggingface`. The engine+ `openai`, `gemini`, `azure`, `bedrock`, `openrouter`, `orcarouter`, `huggingface`. The engineresolves each provider's default model; add `--model` to pin the user's actualproduction model. `azure`/`bedrock` have no default and require an explicitmodel/deployment id (and `azure` also needs `--endpoint`). This tests the model's@@ -542,6 +542,7 @@ Present these two choices in this order and recommend the first:| azure | `AZURE_OPENAI_API_KEY` (+ `--endpoint`) || bedrock | `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` || openrouter | `OPENROUTER_API_KEY` |+| orcarouter | `ORCAROUTER_API_KEY` || huggingface | `HUGGINGFACE_API_TOKEN` or `HF_TOKEN` |**Decision 2: how much to run (suite, then depth):**diff --git a/pyproject.toml b/pyproject.tomlindex 20e1d40..c66bf3e 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -42,6 +42,7 @@ dependencies = [openai = ["openai>=1.0"]atlascloud = ["openai>=1.0"]openrouter = ["openai>=1.0"]+orcarouter = ["openai>=1.0"]gemini = ["google-generativeai>=0.3"]anthropic = ["anthropic>=0.18"]azure = ["openai>=1.0"]