fix(studio): display configured generation budgets
This commit is contained in:
1 parent
65d9c844d6
commit
ba752e556d
3 files changed
+3
-3
No files matched your search
@@ -391,7 +391,7 @@
|
||||
},
|
||||
"packages/design-studio": {
|
||||
"name": "@wrnexus/design-studio",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"dependencies": {
|
||||
"@wrnexus/ai": "workspace:*",
|
||||
"@wrnexus/compiler": "workspace:*",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wrnexus/design-studio",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
@@ -436,7 +436,7 @@ export function setupGuidance(
|
||||
$("generation-provider").textContent =
|
||||
config.provider === "local-rules"
|
||||
? "Local rules · no network generation"
|
||||
: `${config.provider} / ${config.model ?? "configured model"} · Sends the current design, brief and contract capabilities to this configured provider only when you generate. At most two attempts, 4096 output tokens per attempt, 20-second deadline.`;
|
||||
: `${config.provider} / ${config.model ?? "configured model"} · Sends the current design, brief and contract capabilities to this configured provider only when you generate. At most ${config.maxAttempts ?? 2} attempts, ${config.maxOutputTokens ?? 4096} output tokens per attempt, ${(config.timeoutMs ?? 20000) / 1000}-second deadline.`;
|
||||
})
|
||||
.catch(() => {});
|
||||
render();
|
||||
|
||||
Reference in new issue
Block a user