Skip to content

Commit

Permalink
fix(TaskProcessingService): Use correct field name (#461)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr authored Dec 3, 2024
1 parent d85b82f commit 7dc96a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/ProvidersAI/TaskProcessingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,15 +384,15 @@ 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']);
}

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']);
}
};
Expand Down

0 comments on commit 7dc96a5

Please sign in to comment.