From 98ef5d60c466f4f163138594d4e066919b19643f Mon Sep 17 00:00:00 2001 From: "inference-gateway-maintainer[bot]" <246577062+inference-gateway-maintainer[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 13:59:46 +0000 Subject: [PATCH] docs: restore the WebWright provider (re-added upstream) inference-gateway/schemas@main restored the WebWright provider (commit 955185e3, schemas PR 292), undoing its Oct 20 revert. The docs follow the schema, so this re-applies what 915aee4 had removed for exactly that reason: the webwright entry in scripts/provider-overrides.json, the fixture block and expected provider list, and the regenerated regions in supported-providers.md, configuration.md, sdks.md, rust-adk.md and typescript-adk.md. Verified with bun test, lint:md, format:check and build. A task generate run against the live schemas main leaves the generated regions unchanged, so the Docs drift job goes green again. --- configuration.md | 9 +++++++++ rust-adk.md | 1 + scripts/__fixtures__/openapi.sample.yaml | 11 +++++++++++ scripts/generate-provider-docs.test.mjs | 1 + scripts/provider-overrides.json | 6 ++++++ sdks.md | 2 +- supported-providers.md | 3 ++- typescript-adk.md | 1 + 8 files changed, 32 insertions(+), 2 deletions(-) diff --git a/configuration.md b/configuration.md index abb47af..16d8010 100644 --- a/configuration.md +++ b/configuration.md @@ -144,6 +144,11 @@ const zaiSettings = [ { variable: 'ZAI_API_KEY', description: 'Z-AI API Key', defaultValue: '""' }, ]; +const webwrightSettings = [ + { variable: 'WEBWRIGHT_API_URL', description: 'WebWright API URL', defaultValue: 'https://webwright.ai/v1' }, + { variable: 'WEBWRIGHT_API_KEY', description: 'WebWright API Key', defaultValue: '""' }, +]; + const elevenlabsSettings = [ { variable: 'ELEVENLABS_API_URL', description: 'ElevenLabs API URL', defaultValue: 'https://api.elevenlabs.io/v1' }, { variable: 'ELEVENLABS_API_KEY', description: 'ElevenLabs API Key', defaultValue: '""' }, @@ -425,6 +430,10 @@ ElevenLabs is the one exception to "LLM provider": it has no chat-completions AP +#### WebWright + + + #### ElevenLabs diff --git a/rust-adk.md b/rust-adk.md index 0390f7b..cd08f10 100644 --- a/rust-adk.md +++ b/rust-adk.md @@ -161,6 +161,7 @@ async fn main() -> Result<(), Box> { | Moonshot | `moonshot` | `kimi-latest` | `MOONSHOT_API_KEY` | | NVIDIA | `nvidia` | `nvidia/meta/llama-3.1-8b-instruct` | `NVIDIA_API_KEY` | | Z-AI | `zai` | `glm-5.2` | `ZAI_API_KEY` | +| WebWright | `webwright` | `` | `WEBWRIGHT_API_KEY` | diff --git a/scripts/__fixtures__/openapi.sample.yaml b/scripts/__fixtures__/openapi.sample.yaml index f48d0cf..2fa84c8 100644 --- a/scripts/__fixtures__/openapi.sample.yaml +++ b/scripts/__fixtures__/openapi.sample.yaml @@ -25,6 +25,7 @@ components: - nvidia - llamacpp - zai + - webwright - elevenlabs x-provider-configs: openai: @@ -181,6 +182,16 @@ components: chat: method: POST path: /chat/completions + webwright: + url: https://webwright.ai/v1 + auth_type: bearer + endpoints: + models: + method: GET + path: /models + chat: + method: POST + path: /chat/completions elevenlabs: url: https://api.elevenlabs.io/v1 auth_type: xheader diff --git a/scripts/generate-provider-docs.test.mjs b/scripts/generate-provider-docs.test.mjs index 427e9fc..5aa9fd5 100644 --- a/scripts/generate-provider-docs.test.mjs +++ b/scripts/generate-provider-docs.test.mjs @@ -56,6 +56,7 @@ test('fixture yields the full canonical provider set in schema order', () => { 'moonshot', 'nvidia', 'zai', + 'webwright', 'elevenlabs', ]); }); diff --git a/scripts/provider-overrides.json b/scripts/provider-overrides.json index 9ea2cd8..033b2ad 100644 --- a/scripts/provider-overrides.json +++ b/scripts/provider-overrides.json @@ -110,6 +110,12 @@ "vision": "GLM 5.2", "adkExampleModel": "glm-5.2" }, + "webwright": { + "displayName": "WebWright", + "urlLabel": "WebWright", + "keyLabel": "WebWright", + "adkExampleModel": "" + }, "elevenlabs": { "displayName": "ElevenLabs", "urlLabel": "ElevenLabs", diff --git a/sdks.md b/sdks.md index 664932e..a89543e 100644 --- a/sdks.md +++ b/sdks.md @@ -37,7 +37,7 @@ All four SDKs target the same gateway, so they share a single provider set. Rout -`openai`, `deepseek`, `anthropic`, `cohere`, `groq`, `cloudflare`, `ollama_cloud`, `ollama`, `llamacpp`, `google`, `mistral`, `minimax`, `moonshot`, `nvidia`, `zai`, and `elevenlabs`. +`openai`, `deepseek`, `anthropic`, `cohere`, `groq`, `cloudflare`, `ollama_cloud`, `ollama`, `llamacpp`, `google`, `mistral`, `minimax`, `moonshot`, `nvidia`, `zai`, `webwright`, and `elevenlabs`. diff --git a/supported-providers.md b/supported-providers.md index 0a7038e..ce0c5a5 100644 --- a/supported-providers.md +++ b/supported-providers.md @@ -28,6 +28,7 @@ Inference Gateway provides a unified interface to interact with multiple LLM pro | Moonshot | Bearer Token | `https://api.moonshot.ai/v1` | No | | NVIDIA | Bearer Token | `https://integrate.api.nvidia.com/v1` | No | | Z-AI | Bearer Token | `https://api.z.ai/api/coding/paas/v4` | No | +| WebWright | Bearer Token | `https://webwright.ai/v1` | No | | ElevenLabs | X-Header | `https://api.elevenlabs.io/v1` | No | @@ -88,7 +89,7 @@ Each provider requires specific configuration through environment variables: -Replace "PROVIDER" with the provider name (uppercase): OPENAI, DEEPSEEK, ANTHROPIC, COHERE, GROQ, CLOUDFLARE, OLLAMA_CLOUD, OLLAMA, LLAMACPP, GOOGLE, MISTRAL, MINIMAX, MOONSHOT, NVIDIA, ZAI, ELEVENLABS. +Replace "PROVIDER" with the provider name (uppercase): OPENAI, DEEPSEEK, ANTHROPIC, COHERE, GROQ, CLOUDFLARE, OLLAMA_CLOUD, OLLAMA, LLAMACPP, GOOGLE, MISTRAL, MINIMAX, MOONSHOT, NVIDIA, ZAI, WEBWRIGHT, ELEVENLABS. diff --git a/typescript-adk.md b/typescript-adk.md index 5201b1b..d9b73f5 100644 --- a/typescript-adk.md +++ b/typescript-adk.md @@ -1293,6 +1293,7 @@ The full event-type matrix exposed on `AGENT_EVENT_TYPE` is documented in [Cloud | Moonshot | `moonshot` | `kimi-latest` | `MOONSHOT_API_KEY` | | NVIDIA | `nvidia` | `nvidia/meta/llama-3.1-8b-instruct` | `NVIDIA_API_KEY` | | Z-AI | `zai` | `glm-5.2` | `ZAI_API_KEY` | +| WebWright | `webwright` | `` | `WEBWRIGHT_API_KEY` |