mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
refactor: trim provider discovery internal exports
This commit is contained in:
@@ -23,7 +23,7 @@ function resolveClaudeCliSyntheticAuth() {
|
||||
};
|
||||
}
|
||||
|
||||
export const anthropicProviderDiscovery: ProviderPlugin = {
|
||||
const anthropicProviderDiscovery: ProviderPlugin = {
|
||||
id: CLAUDE_CLI_BACKEND_ID,
|
||||
label: "Claude CLI",
|
||||
docsPath: "/providers/models",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -16,7 +16,7 @@ function resolveXaiSyntheticAuth(config: unknown) {
|
||||
: undefined;
|
||||
}
|
||||
|
||||
export const xaiProviderDiscovery: ProviderPlugin = {
|
||||
const xaiProviderDiscovery: ProviderPlugin = {
|
||||
id: PROVIDER_ID,
|
||||
label: "xAI",
|
||||
docsPath: "/providers/models",
|
||||
|
||||
Reference in New Issue
Block a user