@burdenoff/fluidgrids-fe-sdk 2026.1110.5 → 2026.1110.6
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.
|
@@ -513,44 +513,65 @@ function SettingRow({
|
|
|
513
513
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children })
|
|
514
514
|
] });
|
|
515
515
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
516
|
+
function rowCopy(tr, dimension) {
|
|
517
|
+
switch (dimension) {
|
|
518
|
+
case "maxSteps":
|
|
519
|
+
return {
|
|
520
|
+
label: tr(
|
|
521
|
+
"fluidgrids.settings.execution.budget.stepsLabel",
|
|
522
|
+
"Max model calls per run"
|
|
523
|
+
),
|
|
524
|
+
description: tr(
|
|
525
|
+
"fluidgrids.settings.execution.budget.stepsDescription",
|
|
526
|
+
"Every AI Agent turn and every call an AI node, tool or sub-node makes counts, including those of sub-workflows."
|
|
527
|
+
),
|
|
528
|
+
unit: tr("fluidgrids.settings.execution.budget.stepsUnit", "calls"),
|
|
529
|
+
step: "1"
|
|
530
|
+
};
|
|
531
|
+
case "maxTokens":
|
|
532
|
+
return {
|
|
533
|
+
label: tr(
|
|
534
|
+
"fluidgrids.settings.execution.budget.tokensLabel",
|
|
535
|
+
"Max tokens per run"
|
|
536
|
+
),
|
|
537
|
+
description: tr(
|
|
538
|
+
"fluidgrids.settings.execution.budget.tokensDescription",
|
|
539
|
+
"Input plus output tokens of the run's model calls, including those of sub-workflows."
|
|
540
|
+
),
|
|
541
|
+
unit: tr("fluidgrids.settings.execution.budget.tokensUnit", "tokens"),
|
|
542
|
+
step: "1"
|
|
543
|
+
};
|
|
544
|
+
case "maxCostMicroUsd":
|
|
545
|
+
return {
|
|
546
|
+
label: tr(
|
|
547
|
+
"fluidgrids.settings.execution.budget.costLabel",
|
|
548
|
+
"Max AI cost per run"
|
|
549
|
+
),
|
|
550
|
+
description: tr(
|
|
551
|
+
"fluidgrids.settings.execution.budget.costDescription",
|
|
552
|
+
"The estimated cost of the run's model calls, including those of sub-workflows. A call is priced after it returns, so the check can trail by one call."
|
|
553
|
+
),
|
|
554
|
+
unit: tr("fluidgrids.settings.execution.budget.costUnit", "USD"),
|
|
555
|
+
step: "0.01"
|
|
556
|
+
};
|
|
557
|
+
case "maxWallTimeSec":
|
|
558
|
+
return {
|
|
559
|
+
label: tr(
|
|
560
|
+
"fluidgrids.settings.execution.budget.wallTimeLabel",
|
|
561
|
+
"Max AI running time per run"
|
|
562
|
+
),
|
|
563
|
+
description: tr(
|
|
564
|
+
"fluidgrids.settings.execution.budget.wallTimeDescription",
|
|
565
|
+
"Checked before each model call. Time the run spends paused (an approval, a long Wait) does not count."
|
|
566
|
+
),
|
|
567
|
+
unit: tr(
|
|
568
|
+
"fluidgrids.settings.execution.budget.wallTimeUnit",
|
|
569
|
+
"seconds"
|
|
570
|
+
),
|
|
571
|
+
step: "1"
|
|
572
|
+
};
|
|
552
573
|
}
|
|
553
|
-
}
|
|
574
|
+
}
|
|
554
575
|
function RunBudgetSettings({
|
|
555
576
|
budget,
|
|
556
577
|
disabled,
|
|
@@ -558,15 +579,15 @@ function RunBudgetSettings({
|
|
|
558
579
|
}) {
|
|
559
580
|
const tr = useTr();
|
|
560
581
|
return /* @__PURE__ */ jsx(Fragment, { children: BUDGET_DIMENSIONS.map((dimension) => {
|
|
561
|
-
const row =
|
|
582
|
+
const row = rowCopy(tr, dimension);
|
|
562
583
|
const limit = budget?.[dimension];
|
|
563
584
|
const mode = limit?.mode ?? "HARD";
|
|
564
|
-
const label =
|
|
585
|
+
const label = row.label;
|
|
565
586
|
return /* @__PURE__ */ jsx(
|
|
566
587
|
SettingRow,
|
|
567
588
|
{
|
|
568
589
|
label,
|
|
569
|
-
description:
|
|
590
|
+
description: row.description,
|
|
570
591
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
571
592
|
/* @__PURE__ */ jsx(
|
|
572
593
|
Input,
|
|
@@ -587,7 +608,7 @@ function RunBudgetSettings({
|
|
|
587
608
|
className: "w-[110px] text-right"
|
|
588
609
|
}
|
|
589
610
|
),
|
|
590
|
-
/* @__PURE__ */ jsx("span", { className: "w-[52px] text-xs text-text-secondary", children:
|
|
611
|
+
/* @__PURE__ */ jsx("span", { className: "w-[52px] text-xs text-text-secondary", children: row.unit }),
|
|
591
612
|
/* @__PURE__ */ jsxs(
|
|
592
613
|
Select,
|
|
593
614
|
{
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export { NodesPage, fetchAllNodesWithManifests, useLazyNodeManifest, useNodeEndp
|
|
|
17
17
|
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-SUHVKRZU.js';
|
|
18
18
|
import './chunk-GA3DS2ZJ.js';
|
|
19
19
|
import './chunk-NZAYYUQ4.js';
|
|
20
|
-
export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-
|
|
20
|
+
export { ManagedAiPolicyAuthorityProvider, SettingsPage } from './chunk-3Z566C7Q.js';
|
|
21
21
|
export { checkCodecServerUrl, decodePayloads, isEncodedPayload } from './chunk-5NZANNKX.js';
|
|
22
22
|
export { useDataSinkData, useDataSinks, useInsightsData, useLogStreamDestinationActions, useLogStreamDestinations, useRunReplayActions } from './chunk-JGHDGMYV.js';
|
|
23
23
|
import './chunk-5ERAJC2I.js';
|
package/dist/settings.js
CHANGED