Fix AI bundle recipe to use 'prompt' instead of deprecated 'system_prompt'

The 'system_prompt' configuration key is no longer supported in Symfony AI.
This updates the recipe to use the correct 'prompt' key as per the current
Symfony AI documentation.
This commit is contained in:
Oskar Stark
2025-11-25 12:47:15 +01:00
parent 2f5668f8c4
commit dd815c0778
@@ -15,7 +15,7 @@ ai:
default:
platform: 'ai.platform.openai'
model: 'gpt-4o-mini'
system_prompt: |
prompt: |
You are a helpful assistant and you can provide the current date and time.
tools:
- 'Symfony\AI\Agent\Toolbox\Tool\Clock'