Skip to content

Add WebWright (Wren R1) model provider - #7367

Open
T145 wants to merge 1 commit into
1Panel-dev:v2from
T145:add-webwright-provider
Open

T145 wants to merge 1 commit into
1Panel-dev:v2from
T145:add-webwright-provider

Conversation

@T145

@T145 T145 commented Oct 16, 2026

Copy link
Copy Markdown

What this adds

A WebWright model provider. WebWright serves an OpenAI-compatible chat completions API at https://webwright.ai/v1 with the Wren R1 model.

The provider follows the existing OpenAI-compatible provider pattern in this repository. The chat model reuses the shared BaseChatOpenAI implementation, so the change is a thin wrapper plus its registration.

Files

  • apps/models_provider/impl/webwright_model_provider/ is the new provider package:
    • webwright_model_provider.py registers the provider and the wren-r1 model.
    • credential/llm.py collects the API base URL, defaulting to https://webwright.ai/v1, and an API key.
    • model/llm.py is the chat model, built on BaseChatOpenAI.
    • icon/webwright_icon_svg is the provider icon.
  • apps/models_provider/constants/model_provider_constants.py imports and registers the provider.
  • ui/src/components/dynamics-form/items/model/provider-data.ts adds the provider to the UI list.

Notes

  • Default API base: https://webwright.ai/v1. Model: wren-r1. Auth: bearer API key.
  • The credential form validates by sending a single Hello message, which matches the other OpenAI-compatible providers here.

Disclosure

I work on WebWright, so this provider entry is an affiliated contribution. The endpoint and model id are the ones WebWright publishes. Happy to adjust anything to fit the project's conventions.

WebWright serves an OpenAI-compatible chat completions API at
https://webwright.ai/v1 with the Wren R1 model. This adds a WebWright
provider that reuses the shared BaseChatOpenAI implementation, plus its
credential (API base URL and API key), the wren-r1 model entry, the
provider icon, and the provider registration in the constants enum and
the UI provider list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant