Conversation
e9284da to
7231dac
Compare
Providers with known public APIs use their official endpoints: - meta-llama → api.llama.com/v1 - microsoft → models.inference.ai.azure.com (GitHub Models) - ibm-granite → us-south.ml.cloud.ibm.com/ml/v1 (watsonx) - tencent → api.hunyuan.cloud.tencent.com/v1 - morph → api.morphllm.com/v1 16 remaining providers without known public APIs route through OpenRouter (base_url = openrouter.ai/api/v1, OPENROUTER_API_KEY). sync-pricing.py updated with PROVIDER_API mapping.
7231dac to
adf1e1d
Compare
💡 Codex Reviewlibrefang-registry/providers/allenai.toml Lines 7 to 11 in e9284da This file now routes requests to OpenRouter ( librefang-registry/scripts/sync-pricing.py Lines 157 to 159 in e9284da The fallback path now routes unknown providers through OpenRouter, but ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Set correct API endpoints for providers that were using empty
base_url.Providers with verified public APIs:
api.aionlabs.ai/v1api.krater.ai/v1us-south.ml.cloud.ibm.com/ml/v1(watsonx)api.llama.com/v1models.inference.ai.azure.com(GitHub Models)api.morphllm.com/v1api.hunyuan.cloud.tencent.com/v1cnbj3-cloud-ml.api.xiaomi.net13 remaining providers without known public APIs route through OpenRouter.
Also updates
sync-pricing.pyPROVIDER_API mapping.Test plan
python scripts/sync-pricing.py --dry-run --create-missinggenerates correct configs