mirror of
https://github.com/alibaba/higress.git
synced 2026-05-08 04:17:27 +08:00
1.8 KiB
1.8 KiB
Higress AI Gateway Plugin
OpenClaw model provider plugin for Higress AI Gateway with auto-routing support.
What is this?
This is a TypeScript-based provider plugin that enables OpenClaw to use Higress AI Gateway as a model provider. It provides:
- Auto-routing support: Use
higress/autoto intelligently route requests based on message content - Dynamic model discovery: Auto-detect available models from Higress Console
- Smart URL handling: Automatic URL normalization and validation
- Flexible authentication: Support for both local and remote gateway deployments
Files
- index.ts: Main plugin implementation
- package.json: NPM package metadata and OpenClaw extension declaration
- openclaw.plugin.json: Plugin manifest for OpenClaw
Installation
This plugin is automatically installed when you use the higress-openclaw-integration skill. See parent SKILL.md for complete installation instructions.
Manual Installation
If you need to install manually:
# Copy plugin files
mkdir -p "$HOME/.openclaw/extensions/higress"
cp -r ./* "$HOME/.openclaw/extensions/higress/"
# Configure provider
openclaw plugins enable higress
openclaw models auth login --provider higress
Usage
After installation, configure Higress as a model provider:
openclaw models auth login --provider higress
The plugin will prompt for:
- Gateway URL (default: http://localhost:8080)
- Console URL (default: http://localhost:8001)
- API Key (optional for local deployments)
- Model list (auto-detected or manually specified)
- Auto-routing default model (if using higress/auto)
Related Resources
- Parent Skill: higress-openclaw-integration
- Auto-routing Configuration: higress-auto-router
License
Apache-2.0