新增api-server Tripo3D模块与泥点定价结构
- 新增 tripo3d/pricing.rs,底价按 endpoint × 模型版本 × 是否有贴图,add-on 按固定键表叠加 - 定价段加载即校验全部底价与 add-on 键,缺键即配置非法;缺段代表未配置,查价直接拒绝 - editor_generation_config 挂载可选 model3d 段并提供 fail-closed 查价入口 - 后台记录形状尚不支持 3D 段,暂由文件配置提供并留下同步待办 - model_version 增加 ALL 与排序,供定价表枚举校验
This commit is contained in:
@@ -703,6 +703,7 @@ mod tests {
|
||||
&EditorToolContext::default(),
|
||||
&EditorGenerationPricingConfig {
|
||||
models: Default::default(),
|
||||
model3d: None,
|
||||
},
|
||||
)
|
||||
.expect("successful partial tool output should still build a confirmation card");
|
||||
|
||||
Reference in New Issue
Block a user