This commit is contained in:
Bentlybro
2026-01-19 14:15:04 +00:00
parent 336fc43b24
commit 358a21c6fc
2 changed files with 7 additions and 2 deletions

View File

@@ -209,7 +209,8 @@ export function DisableModelModal({
/>
<p className="mt-1 text-xs text-muted-foreground">
Override pricing for migrated workflows. When set, billing
will use this cost instead of the target model&apos;s cost.
will use this cost instead of the target model&apos;s
cost.
</p>
</label>
</div>

View File

@@ -189,7 +189,11 @@ export function EditModelModal({
<input
type="hidden"
name="credential_type"
value={cost?.credential_type ?? provider?.default_credential_type ?? "api_key"}
value={
cost?.credential_type ??
provider?.default_credential_type ??
"api_key"
}
/>
<input type="hidden" name="unit" value={cost?.unit ?? "RUN"} />