Skip to content

Commit 7dc96a5

Browse files
authored
fix(TaskProcessingService): Use correct field name (#461)
Signed-off-by: Marcel Klehr <[email protected]>
1 parent d85b82f commit 7dc96a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Service/ProvidersAI/TaskProcessingService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,15 +384,15 @@ public function getInputShape(): array {
384384
return array_map(static fn (array $shape) => new ShapeDescriptor(
385385
$shape['name'],
386386
$shape['description'],
387-
EShapeType::from($shape['type']),
387+
EShapeType::from($shape['shape_type']),
388388
), $this->customTaskType['input_shape']);
389389
}
390390

391391
public function getOutputShape(): array {
392392
return array_map(static fn (array $shape) => new ShapeDescriptor(
393393
$shape['name'],
394394
$shape['description'],
395-
EShapeType::from($shape['type']),
395+
EShapeType::from($shape['shape_type']),
396396
), $this->customTaskType['output_shape']);
397397
}
398398
};

0 commit comments

Comments
 (0)