From 7193bd28c22975b07524849d8f3c8508341b1bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Mon, 21 Sep 2026 15:10:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=A7=86=E5=9B=BE=E5=8F=AF=E9=80=89?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E5=8E=BB=E6=8E=89=E9=A6=96=E5=B0=BE=E7=A9=BA?= =?UTF-8?q?=E7=99=BD=E5=86=8D=E6=8F=90=E4=BA=A4provider=20-=20optional=5Fv?= =?UTF-8?q?iew=20=E5=85=88=E7=94=A8=20trim=20=E5=88=A4=E7=A9=BA=E3=80=81?= =?UTF-8?q?=E5=86=8D=E6=8A=8A=E6=9C=AA=20trim=20=E7=9A=84=E5=8E=9F?= =?UTF-8?q?=E4=B8=B2=E4=BA=A4=E7=BB=99=20FileInput=EF=BC=8C=E4=B8=A4?= =?UTF-8?q?=E4=BE=A7=E5=8F=A3=E5=BE=84=E4=B8=8D=E4=B8=80=E8=87=B4=20-=20?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=8F=90=E4=BA=A4=E5=89=8D=20trim=EF=BC=8C?= =?UTF-8?q?=E7=A9=BA=E7=99=BD=E8=A7=86=E5=9B=BE=E4=BB=8D=E6=8C=89=E6=9C=AA?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crates/platform-tripo/src/multiview_to_model/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-rs/crates/platform-tripo/src/multiview_to_model/client.rs b/server-rs/crates/platform-tripo/src/multiview_to_model/client.rs index ad32a5555..7de1e63bf 100644 --- a/server-rs/crates/platform-tripo/src/multiview_to_model/client.rs +++ b/server-rs/crates/platform-tripo/src/multiview_to_model/client.rs @@ -77,7 +77,7 @@ fn optional_view(value: &Option) -> Option { value .as_deref() .filter(|value| !value.trim().is_empty()) - .map(FileInput::from) + .map(|value| FileInput::from(value.trim())) } fn to_sdk_params(request: &Model3dMultiviewToModelRequest) -> MultiviewToModelParams {