Files
openclaw/extensions/tencent/provider-discovery.ts
Sulaga 2b51c255f8 feat(tencent): add Tencent Hy3 provider (TokenHub and TokenPlan) (#99076)
Summary:
- Merged feat(tencent): add Tencent Hy3 provider (TokenHub and TokenPlan) after ClawSweeper review.

Automerge notes:
- Ran the ClawSweeper repair loop before final review.
- Included post-review commit in the final squash: fix(tencent): preserve TokenHub auth compatibility
- Included post-review commit in the final squash: refactor(tencent): unify TokenPlan env/flag naming with TokenHub
- Included post-review commit in the final squash: docs: refresh Tencent provider docs metadata
- Included post-review commit in the final squash: fix: allow TokenPlan provider config overlays
- Included post-review commit in the final squash: docs: dedupe Tencent provider glossary labels
- Included post-review commit in the final squash: fix(tencent): repair TokenHub model defaults

Validation:
- ClawSweeper review passed for head 30c9fc130f.
- Required merge gates passed before the squash merge.

Prepared head SHA: 30c9fc130f
Review: https://github.com/openclaw/openclaw/pull/99076#issuecomment-4888527271

Co-authored-by: leisang <leisang@tencent.com>
Co-authored-by: Mason Huang <masonxhuang@tencent.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: hxy91819
2026-07-06 04:29:48 +00:00

33 lines
831 B
TypeScript

// Tencent provider module implements model/runtime integration.
import type { ProviderPlugin } from "openclaw/plugin-sdk/provider-model-shared";
import { buildTokenHubProvider, buildTokenPlanProvider } from "./provider-catalog.js";
const tencentProviderDiscovery: ProviderPlugin[] = [
{
id: "tencent-tokenhub",
label: "Tencent TokenHub",
docsPath: "/providers/tencent",
auth: [],
staticCatalog: {
order: "simple",
run: async () => ({
provider: buildTokenHubProvider(),
}),
},
},
{
id: "tencent-tokenplan",
label: "Tencent TokenPlan",
docsPath: "/providers/tencent",
auth: [],
staticCatalog: {
order: "simple",
run: async () => ({
provider: buildTokenPlanProvider(),
}),
},
},
];
export default tencentProviderDiscovery;