mirror of
https://github.com/symfony/recipes.git
synced 2026-09-16 01:26:25 +03:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user