更新
This commit is contained in:
@@ -42,7 +42,8 @@ namespace {
|
||||
$options = ['should_abort' => static fn (): bool => $GLOBALS['lifecycleCancelled'],
|
||||
'on_authorized' => static function (array $metadata): bool {
|
||||
$GLOBALS['lifecycle'][] = 'start';
|
||||
lifecycleExpect($metadata === ['diagnosis_id' => 11, 'task' => 'summary', 'model_key' => 'qwen'], 'early start exposes only authorized identity and model key');
|
||||
lifecycleExpect($metadata === ['diagnosis_id' => 11, 'task' => 'summary', 'model_key' => 'qwen', 'required_sections' => []],
|
||||
'early start exposes authorized identity and no unaggregated section claims');
|
||||
return true;
|
||||
},
|
||||
'on_progress' => static function (array $event): void { $GLOBALS['lifecycle'][] = $event; }];
|
||||
|
||||
Reference in New Issue
Block a user