fix(canvas): 创作输入栏 - 分离模型价格展示并收敛录音与附件入口
This commit is contained in:
@@ -24,6 +24,7 @@ type ModelPickerProps = {
|
||||
placeholder?: string;
|
||||
onMissingConfig?: () => void;
|
||||
showSelectedPrice?: boolean;
|
||||
showOptionPrices?: boolean;
|
||||
variant?: "default" | "creation";
|
||||
requirements?: ModelRequirements;
|
||||
showConfiguredModelName?: boolean;
|
||||
@@ -40,6 +41,7 @@ export function ModelPicker({
|
||||
placeholder = "选择模型",
|
||||
onMissingConfig,
|
||||
showSelectedPrice = true,
|
||||
showOptionPrices = showSelectedPrice,
|
||||
variant = "default",
|
||||
requirements,
|
||||
showConfiguredModelName = false,
|
||||
@@ -226,7 +228,7 @@ export function ModelPicker({
|
||||
theme={theme}
|
||||
creationVariant={creationVariant}
|
||||
showConfiguredModelName={showConfiguredModelName}
|
||||
showPrice={showSelectedPrice && creditsEnabled}
|
||||
showPrice={showOptionPrices && creditsEnabled}
|
||||
disabledReason={disabledReason}
|
||||
/>
|
||||
{selected ? <Check className="canvas-model-picker-option-check" style={{ color: theme.node.activeStroke }} /> : null}
|
||||
|
||||
Reference in New Issue
Block a user