Skip to content

Commit 2ba34ce

Browse files
committed
fix(provider): use the published meta default model
1 parent 90af8b9 commit 2ba34ce

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎packages/first-class-providers/src/providers.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ describe("FIRST_CLASS_PROVIDERS", () => {
109109
expect(api?.auth).toBe("api-key");
110110
expect(api?.providerId).toBe("meta-api");
111111
expect(api?.baseURL).toBe("https://api.meta.ai/v1");
112-
expect(api?.defaultModel).toBe("muse-spark-1.3");
112+
expect(api?.defaultModel).toBe("muse-wonder-1.0");
113113
expect((api?.models ?? []).length).toBeGreaterThan(0);
114114
expect(api?.models).toContain(api?.defaultModel);
115115
expect(api?.authHint).toContain("LLM|");

‎packages/first-class-providers/src/providers.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const FIRST_CLASS_PROVIDERS: readonly FirstClassProviderDef[] = [
110110
auth: "api-key",
111111
baseURL: META_BASE_URL,
112112
models: META_DEFAULT_MODELS,
113-
defaultModel: "muse-spark-1.3",
113+
defaultModel: META_DEFAULT_MODELS[0],
114114
authHint: "Paste your Meta API key (LLM|...)",
115115
providerId: META_API_KEY_PROVIDER_ID,
116116
},

‎src/config/meta-providers.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
describe("Meta OAuth provider projection", () => {
1515
test("default models lead with the Muse coding model", () => {
1616
expect(META_DEFAULT_MODELS.length).toBeGreaterThan(1);
17-
expect(META_DEFAULT_MODELS[0]).toBe("muse-spark-1.3");
17+
expect(META_DEFAULT_MODELS[0]).toBe("muse-wonder-1.0");
1818
});
1919

2020
const profile: MetaProfile = {

‎src/tui/provider-setup.test.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,9 @@ describe("runProviderSetup sign-in", () => {
12991299
expect(providerChoiceById("meta-api")?.baseURL).toBe(
13001300
"https://api.meta.ai/v1",
13011301
);
1302-
expect(providerChoiceById("meta-api")?.defaultModel).toBe("muse-spark-1.3");
1302+
expect(providerChoiceById("meta-api")?.defaultModel).toBe(
1303+
"muse-wonder-1.0",
1304+
);
13031305
});
13041306

13051307
test("picking the Meta API-key row walks the key path, not the sign-in", async () => {
@@ -1320,7 +1322,7 @@ describe("runProviderSetup sign-in", () => {
13201322
expect(await done).toBe(true);
13211323
expect(seen[0]?.name).toBe("meta-api/default");
13221324
expect(seen[0]?.apiKey).toBe("LLM|test-key");
1323-
expect(seen[0]?.model).toBe("muse-spark-1.3");
1325+
expect(seen[0]?.model).toBe("muse-wonder-1.0");
13241326
});
13251327
});
13261328

0 commit comments

Comments
 (0)