refactor: trim provider discovery internal exports

This commit is contained in:
Peter Steinberger
2026-05-01 11:44:13 +01:00
parent b6daa922d6
commit 0d631fa701
7 changed files with 7 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ function resolveClaudeCliSyntheticAuth() {
};
}
export const anthropicProviderDiscovery: ProviderPlugin = {
const anthropicProviderDiscovery: ProviderPlugin = {
id: CLAUDE_CLI_BACKEND_ID,
label: "Claude CLI",
docsPath: "/providers/models",

View File

@@ -1,7 +1,7 @@
import type { ProviderPlugin } from "openclaw/plugin-sdk/provider-model-shared";
import { buildBytePlusCodingProvider, buildBytePlusProvider } from "./provider-catalog.js";
export const bytePlusProviderDiscovery: ProviderPlugin[] = [
const bytePlusProviderDiscovery: ProviderPlugin[] = [
{
id: "byteplus",
label: "BytePlus",

View File

@@ -1,7 +1,7 @@
import type { ProviderPlugin } from "openclaw/plugin-sdk/provider-model-shared";
import { buildDeepSeekProvider } from "./provider-catalog.js";
export const deepSeekProviderDiscovery: ProviderPlugin = {
const deepSeekProviderDiscovery: ProviderPlugin = {
id: "deepseek",
label: "DeepSeek",
docsPath: "/providers/deepseek",

View File

@@ -1,7 +1,7 @@
import type { ProviderPlugin } from "openclaw/plugin-sdk/provider-model-shared";
import { buildMoonshotProvider } from "./provider-catalog.js";
export const moonshotProviderDiscovery: ProviderPlugin = {
const moonshotProviderDiscovery: ProviderPlugin = {
id: "moonshot",
label: "Moonshot",
docsPath: "/providers/moonshot",

View File

@@ -1,7 +1,7 @@
import type { ProviderPlugin } from "openclaw/plugin-sdk/provider-model-shared";
import { buildTokenHubProvider } from "./provider-catalog.js";
export const tencentProviderDiscovery: ProviderPlugin = {
const tencentProviderDiscovery: ProviderPlugin = {
id: "tencent-tokenhub",
label: "Tencent TokenHub",
docsPath: "/providers/models",

View File

@@ -1,7 +1,7 @@
import type { ProviderPlugin } from "openclaw/plugin-sdk/provider-model-shared";
import { buildDoubaoCodingProvider, buildDoubaoProvider } from "./provider-catalog.js";
export const volcengineProviderDiscovery: ProviderPlugin[] = [
const volcengineProviderDiscovery: ProviderPlugin[] = [
{
id: "volcengine",
label: "Volcengine",

View File

@@ -16,7 +16,7 @@ function resolveXaiSyntheticAuth(config: unknown) {
: undefined;
}
export const xaiProviderDiscovery: ProviderPlugin = {
const xaiProviderDiscovery: ProviderPlugin = {
id: PROVIDER_ID,
label: "xAI",
docsPath: "/providers/models",