heydryft opened a new pull request, #239: URL: https://github.com/apache/casbin-gateway/pull/239
## What Adds Runcrate (https://runcrate.ai) to the provider presets in `web/src/lib/providers.ts`, next to the other OpenAI-compatible platforms (Together AI, DeepInfra, Nebius, Lambda, Baseten). Runcrate serves open-weight models (DeepSeek V4, Qwen3 Coder, Kimi K2.6, GLM, gpt-oss and more) behind an OpenAI-compatible API, so it uses `type: "custom"` with base URL `https://api.runcrate.ai/v1`, the same shape as those entries. One file, 8 lines. No backend change was needed. ## Verification - `cd web && yarn lint`: no findings - `cd web && npx tsc -b`: exit 0 - Live, through the backend's own provider checks (a temporary Go test in `object/`, not committed) with a provider built from the preset (`Type: "custom"`, `BaseUrl: "https://api.runcrate.ai/v1"`, a Runcrate key, model `deepseek-ai/DeepSeek-V4-Flash`): ``` FetchProviderModels: 127 models, err=<nil> TestProviderConnectivity: ok=true status=200 msg="deepseek-ai/DeepSeek-V4-Flash answered" ``` This PR was prepared with AI assistance (omp with Claude): the preset and this description were written with it, and the checks above were run as shown. I work on Runcrate. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
