Register ShengSuanYun as a standard provider
This commit is contained in:
1 parent
0b9e546672
commit
259c05e747
17 files changed
+265
-503
No files matched your search
@@ -227,10 +227,10 @@ const PROVIDER_BRANDS: Record<string, ProviderBrand> = {
|
||||
color: "#3050FF",
|
||||
initials: "SX",
|
||||
},
|
||||
siliconflow: brand("siliconflow.cn", "#111827", "SF"),
|
||||
"template:shengsuanyun": { ...brand("shengsuanyun.com", "#5742EE", "SSY", [
|
||||
shengsuanyun: { ...brand("shengsuanyun.com", "#5742EE", "SSY", [
|
||||
"https://www.shengsuanyun.com/svg/logo-C_e87Vaj.svg",
|
||||
]), logoLayout: "tile" },
|
||||
siliconflow: brand("siliconflow.cn", "#111827", "SF"),
|
||||
skywork: brand("skywork.ai", "#5B5BF6", "SW"),
|
||||
stepfun: brand("stepfun.com", "#2F6BFF", "SF", [
|
||||
"https://www.stepfun.com/step_favicon.svg",
|
||||
|
||||
@@ -734,15 +734,6 @@ export interface SandboxCheck {
|
||||
supported_backend: "bwrap" | "seatbelt" | null;
|
||||
}
|
||||
|
||||
export interface ProviderSetupTemplate {
|
||||
id: string;
|
||||
label: string;
|
||||
suggested_name: string;
|
||||
search_aliases: string;
|
||||
api_base: string;
|
||||
api: ModelAPIConfig;
|
||||
}
|
||||
|
||||
export interface SettingsPayload {
|
||||
runtime_config?: Record<string, RuntimeConfigValue>;
|
||||
surface?: RuntimeSurface;
|
||||
@@ -798,7 +789,6 @@ export interface SettingsPayload {
|
||||
model_request_overrides_supported?: boolean;
|
||||
created_model_preset?: string;
|
||||
created_provider?: string;
|
||||
provider_setup_templates?: ProviderSetupTemplate[];
|
||||
providers: Array<{
|
||||
name: string;
|
||||
label: string;
|
||||
|
||||
Reference in new issue
Block a user