mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-16 21:11:36 +00:00
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 head30c9fc130f. - Required merge gates passed before the squash merge. Prepared head SHA:30c9fc130fReview: 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
33 lines
831 B
TypeScript
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;
|