Providers
Tencent Cloud (TokenHub / TokenPlan)
Installieren Sie das offizielle Tencent-Cloud-Provider-Plugin, um über zwei Endpunkte auf Tencent Hy3 zuzugreifen — TokenHub (tencent-tokenhub) und TokenPlan (tencent-tokenplan) — unter Verwendung einer OpenAI-kompatiblen API.
| Eigenschaft | Wert |
|---|---|
| Provider-IDs | tencent-tokenhub, tencent-tokenplan |
| Paket | @openclaw/tencent-provider |
| TokenHub-Umgebungsvariable für die Authentifizierung | TOKENHUB_API_KEY |
| TokenPlan-Umgebungsvariable für die Authentifizierung | TOKENPLAN_API_KEY |
| TokenHub-Onboarding-Flag | --auth-choice tokenhub-api-key |
| TokenPlan-Onboarding-Flag | --auth-choice tokenplan-api-key |
| Direktes TokenHub-CLI-Flag | --tokenhub-api-key <key> |
| Direktes TokenPlan-CLI-Flag | --tokenplan-api-key <key> |
| API | OpenAI-kompatibel (openai-completions) |
| TokenHub-Basis-URL | https://tokenhub.tencentmaas.com/v1 |
| Globale TokenHub-Basis-URL | https://tokenhub-intl.tencentmaas.com/v1 (Überschreibung) |
| TokenPlan-Basis-URL | https://api.lkeap.cloud.tencent.com/plan/v3 |
| Standardmodell | tencent-tokenhub/hy3 |
Schnellstart
Tencent-API-Schlüssel erstellen
Erstellen Sie einen API-Schlüssel für Tencent Cloud TokenHub und TokenPlan. Wenn Sie für den Schlüssel einen eingeschränkten Zugriffsbereich wählen, nehmen Sie hy3 (und hy3 preview, falls Sie es mit TokenHub verwenden möchten) in die zulässigen Modelle auf.
Onboarding ausführen
openclaw onboard --auth-choice tokenhub-api-keyopenclaw onboard --non-interactive \--auth-choice tokenhub-api-key \--tokenhub-api-key "$TOKENHUB_API_KEY"openclaw onboard --auth-choice tokenplan-api-keyopenclaw onboard --non-interactive \--auth-choice tokenplan-api-key \--tokenplan-api-key "$TOKENPLAN_API_KEY"export TOKENHUB_API_KEY=...export TOKENPLAN_API_KEY=...Modell überprüfen
openclaw models list --provider tencent-tokenhubopenclaw models list --provider tencent-tokenplanNicht interaktive Einrichtung
# TokenHubopenclaw onboard --non-interactive \ --mode local \ --auth-choice tokenhub-api-key \ --tokenhub-api-key "$TOKENHUB_API_KEY" \ --skip-health \ --accept-risk # TokenPlanopenclaw onboard --non-interactive \ --mode local \ --auth-choice tokenplan-api-key \ --tokenplan-api-key "$TOKENPLAN_API_KEY" \ --skip-health \ --accept-riskIntegrierter Katalog
| Modellreferenz | Name | Eingabe | Kontext | Maximale Ausgabe | Hinweise |
|---|---|---|---|---|---|
tencent-tokenhub/hy3-preview |
hy3 preview (TokenHub) | Text | 256,000 | 64,000 | Schlussfolgern aktiviert |
tencent-tokenhub/hy3 |
hy3 (TokenHub) | Text | 256,000 | 64,000 | Schlussfolgern aktiviert |
tencent-tokenplan/hy3 |
hy3 (TokenPlan) | Text | 256,000 | 64,000 | Schlussfolgern aktiviert |
hy3 ist das große MoE-Sprachmodell von Tencent Hunyuan für Schlussfolgerungen, das Befolgen von Anweisungen mit langem Kontext, Code und Agenten-Workflows. Die OpenAI-kompatiblen Beispiele von Tencent verwenden hy3 als Modell-ID und unterstützen standardmäßige Tool-Aufrufe über Chat Completions sowie reasoning_effort.
Erweiterte Konfiguration
Endpunkt überschreiben
Der integrierte Katalog von OpenClaw verwendet den Tencent-Cloud-Endpunkt https://tokenhub.tencentmaas.com/v1. Überschreiben Sie ihn nur, wenn Ihr TokenHub-Konto oder Ihre Region einen anderen Endpunkt erfordert:
openclaw config set models.providers.tencent-tokenhub.baseUrl "https://your-endpoint/v1"Umgebungsverfügbarkeit für den Daemon
Wenn das Gateway als verwalteter Dienst ausgeführt wird (launchd, systemd, Docker), müssen TOKENHUB_API_KEY und TOKENPLAN_API_KEY für diesen Prozess sichtbar sein. Legen Sie sie in ~/.openclaw/.env oder über env.shellEnv fest, damit launchd-, systemd- oder Docker-Exec-Umgebungen sie lesen können.
Verwandte Themen
Auswahl von Providern, Modellreferenzen und Failover-Verhalten.
Vollständiges Konfigurationsschema einschließlich der Provider-Einstellungen.
Die TokenHub-Produktseite von Tencent Cloud.
Details und Benchmarks zu Tencent Hunyuan Hy3 preview.