@base44-preview/cli 0.1.15-pr.630.a6f9272 → 0.1.15-pr.630.ca4815b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +5 -14
- package/dist/cli/index.js.map +6 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -269452,27 +269452,18 @@ function getAgentsCommand() {
|
|
|
269452
269452
|
|
|
269453
269453
|
// src/core/model.ts
|
|
269454
269454
|
var MODELS = [
|
|
269455
|
-
{
|
|
269456
|
-
name: "Automatic",
|
|
269457
|
-
id: null,
|
|
269458
|
-
note: "matched with the best model",
|
|
269459
|
-
aliases: ["default", "auto"]
|
|
269460
|
-
},
|
|
269455
|
+
{ name: "default", id: null, note: "let Base44 choose" },
|
|
269461
269456
|
{ name: "Opus 5", id: "claude_opus_5" },
|
|
269462
269457
|
{ name: "Sonnet 5", id: "claude-sonnet-5" },
|
|
269463
269458
|
{ name: "Fable 5", id: "claude_fable_5", note: "uses more credits" },
|
|
269464
269459
|
{ name: "GPT-5.6 Sol", id: "gpt_5_6_sol" },
|
|
269465
|
-
{
|
|
269466
|
-
name: "Gemini 3.8 Flash",
|
|
269467
|
-
id: "gemini_3_8_flash",
|
|
269468
|
-
note: "fast responses for everyday tasks"
|
|
269469
|
-
},
|
|
269460
|
+
{ name: "Gemini 3.8 Flash", id: "gemini_3_8_flash", note: "fast" },
|
|
269470
269461
|
{ name: "Base 1", id: "base1" }
|
|
269471
269462
|
];
|
|
269472
269463
|
var fold = (s) => s.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
269473
269464
|
function resolvePick(input) {
|
|
269474
269465
|
const key = fold(input);
|
|
269475
|
-
const byExact = MODELS.find((m) => fold(m.name) === key || m.id && fold(m.id) === key
|
|
269466
|
+
const byExact = MODELS.find((m) => fold(m.name) === key || m.id && fold(m.id) === key);
|
|
269476
269467
|
if (byExact)
|
|
269477
269468
|
return byExact;
|
|
269478
269469
|
const byContains = MODELS.filter((m) => fold(m.name).includes(key) || m.id && fold(m.id).includes(key));
|
|
@@ -269500,7 +269491,7 @@ async function saveBuilderModel(userId, modelId) {
|
|
|
269500
269491
|
throw await ApiError.fromHttpError(error, "saving your model choice");
|
|
269501
269492
|
}
|
|
269502
269493
|
}
|
|
269503
|
-
var displayName = (id) => MODELS.find((m) => m.id === id)?.name ?? id ?? "
|
|
269494
|
+
var displayName = (id) => MODELS.find((m) => m.id === id)?.name ?? id ?? "default";
|
|
269504
269495
|
|
|
269505
269496
|
// src/cli/commands/app/model.ts
|
|
269506
269497
|
async function modelAction({ log, jsonMode }, input) {
|
|
@@ -288334,4 +288325,4 @@ export {
|
|
|
288334
288325
|
runCLI
|
|
288335
288326
|
};
|
|
288336
288327
|
|
|
288337
|
-
//# debugId=
|
|
288328
|
+
//# debugId=3E91D87E1D11D84464756E2164756E21
|