refactor(workspace): enforce layered crate boundaries

This commit is contained in:
elky
2026-07-15 23:47:19 +08:00
parent a728c090a9
commit 8616fe6ee2
969 changed files with 40187 additions and 27240 deletions
@@ -601,6 +601,7 @@ import {
EMBEDDING_API_FORMATS,
buildGlobalModelCreatePayload,
buildGlobalModelUpdatePayload,
cloneTieredPricingConfig,
} from './global-model-form-helpers'
import { tieredPricingHasImageOutputPricing } from '../utils/tiered-pricing'
@@ -1106,7 +1107,7 @@ function selectModel(model: ModelsDevModelItem) {
loadVideoPricingFromConfig()
tieredPricing.value = model.tieredPricing
? structuredClone(model.tieredPricing)
? cloneTieredPricingConfig(model.tieredPricing)
: null
presetPanelCollapsed.value = true