fix(providers): point Skywork at APIFree agent endpoint

This commit is contained in:
Xubin Ren
2026-05-20 12:33:03 +08:00
parent 6194a9b919
commit eae51333ad
8 changed files with 6 additions and 127 deletions
@@ -2150,7 +2150,6 @@ const PROVIDER_ICONS: Record<string, LucideIcon> = {
byteplus_coding_plan: Cloud,
qianfan: Database,
ant_ling: Sparkles,
apifree: Sparkles,
azure_openai: Cloud,
bedrock: Database,
vllm: Cpu,
-10
View File
@@ -580,13 +580,6 @@ describe("App layout", () => {
api_key_required: true,
default_api_base: "https://api.ant-ling.com/v1",
},
{
name: "apifree",
label: "APIFree",
configured: false,
api_key_required: true,
default_api_base: "https://api.apifree.ai/agent/v1",
},
{
name: "azure_openai",
label: "Azure OpenAI",
@@ -746,7 +739,6 @@ describe("App layout", () => {
fireEvent.click(within(settingsNav).getByRole("button", { name: "Providers" }));
expect(screen.getByText("OpenRouter")).toBeInTheDocument();
expect(screen.getByText("Ant Ling")).toBeInTheDocument();
expect(screen.getByText("APIFree")).toBeInTheDocument();
expect(screen.getAllByText("Not configured").length).toBeGreaterThan(0);
fireEvent.click(screen.getByText("OpenAI"));
fireEvent.click(screen.getByRole("button", { name: "Edit" }));
@@ -759,8 +751,6 @@ describe("App layout", () => {
expect(screen.queryByDisplayValue("unsaved-openai-key")).not.toBeInTheDocument();
fireEvent.click(screen.getByText("Ant Ling"));
expect(screen.getByDisplayValue("https://api.ant-ling.com/v1")).toBeInTheDocument();
fireEvent.click(screen.getByText("APIFree"));
expect(screen.getByDisplayValue("https://api.apifree.ai/agent/v1")).toBeInTheDocument();
fireEvent.click(screen.getByText("Atomic Chat"));
expect(screen.getByDisplayValue("http://localhost:1337/v1")).toBeInTheDocument();
expect(screen.getByRole("button", { name: "Save" })).toBeEnabled();