From 7dc96a54aae57d357a5e0f1e33ac0af8e382e2ca Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 3 Dec 2024 10:04:52 +0100 Subject: [PATCH] fix(TaskProcessingService): Use correct field name (#461) Signed-off-by: Marcel Klehr --- lib/Service/ProvidersAI/TaskProcessingService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/ProvidersAI/TaskProcessingService.php b/lib/Service/ProvidersAI/TaskProcessingService.php index 64bd1282..d8672af5 100644 --- a/lib/Service/ProvidersAI/TaskProcessingService.php +++ b/lib/Service/ProvidersAI/TaskProcessingService.php @@ -384,7 +384,7 @@ public function getInputShape(): array { return array_map(static fn (array $shape) => new ShapeDescriptor( $shape['name'], $shape['description'], - EShapeType::from($shape['type']), + EShapeType::from($shape['shape_type']), ), $this->customTaskType['input_shape']); } @@ -392,7 +392,7 @@ public function getOutputShape(): array { return array_map(static fn (array $shape) => new ShapeDescriptor( $shape['name'], $shape['description'], - EShapeType::from($shape['type']), + EShapeType::from($shape['shape_type']), ), $this->customTaskType['output_shape']); } };