Skip to content

Commit ad0206a

Browse files
committed
minor #894 [Website] Update the models used in the code sample (javiereguiluz, OskarStark)
This PR was merged into the main branch. Discussion ---------- [Website] Update the models used in the code sample | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | - | License | MIT Related to the great change made in #891. I propose to always show the latest and greatest models, because otherwise some visitors could think that we're outdated. Commits ------- 6b914bd Update ai.symfony.com/templates/homepage.html.twig 85ec755 [Website] Update the models used in the code sample
2 parents eb68d06 + 6b914bd commit ad0206a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai.symfony.com/templates/homepage.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{% set model_typed = stimulus_controller('typed', {
3333
loop: true,
3434
cursorChar: '|',
35-
strings: ['gpt-4o', 'mistral-large-latest', 'gemini-2.0-flash', 'claude-sonnet-4-0'],
35+
strings: ['gpt-5.1', 'mistral-large-latest', 'gemini-3-pro-preview', 'claude-sonnet-4-5'],
3636
}) %}
3737
<pre class="terminal"><code><span class="variable">$platform</span> = <span class="title class_">PlatformFactory</span>::<span class="title function_ invoke__">create</span>(...);
3838
<span class="variable">$agent</span> = <span class="keyword">new</span> <span class="title class_">Agent</span>(<span class="variable">$platform</span>, <span class="string">'</span><span class="string" {{ model_typed|raw }}></span><span class="string">'</span>)

0 commit comments

Comments
 (0)