Skip to content

Commit d7e243c

Browse files
committed
fix Gemini structured output for 3 series models and adapt schema
1 parent c0efd2b commit d7e243c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Providers/Gemini/HandleStructured.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use function end;
1212
use function is_array;
1313
use function json_encode;
14+
use function in_array;
1415

1516
/**
1617
* Structured outputs with tools is available only for the Gemini 3 series models.

tests/Workflow/Persistence/DatabasePersistenceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public function testMultipleWorkflowsCanBeSavedIndependently(): void
306306

307307
try {
308308
$workflow1->start()->getResult();
309-
} catch (WorkflowInterrupt $interrupt) {
309+
} catch (WorkflowInterrupt) {
310310
// Expected
311311
}
312312

0 commit comments

Comments
 (0)