Skip to content

Commit 42345d3

Browse files
committed
minor #1023 [Platform][Gemini] Switch to newer gemini model supporting structured + tool call (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [Platform][Gemini] Switch to newer gemini model supporting structured + tool call | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | Fix #803 | License | MIT Only 3 supports that again Commits ------- 53b9070 Switch to newer gemini model supporting structured + tool call
2 parents 7b43743 + 53b9070 commit 42345d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gemini/structured-output-clock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
$clock = new Clock(new SymfonyClock());
3131
$toolbox = new Toolbox([$clock], logger: logger());
3232
$toolProcessor = new AgentProcessor($toolbox);
33-
$agent = new Agent($platform, 'gemini-2.5-flash', [$toolProcessor], [$toolProcessor]);
33+
$agent = new Agent($platform, 'gemini-3-pro-preview', [$toolProcessor], [$toolProcessor]);
3434

3535
$messages = new MessageBag(Message::ofUser('What date and time is it?'));
3636
$result = $agent->call($messages, ['response_format' => [

0 commit comments

Comments
 (0)