Skip to content

Commit dd815c0

Browse files
committed
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.
1 parent 2f5668f commit dd815c0

File tree

1 file changed

+1
-1
lines changed
  • symfony/ai-bundle/0.1/config/packages

1 file changed

+1
-1
lines changed

symfony/ai-bundle/0.1/config/packages/ai.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ai:
1515
default:
1616
platform: 'ai.platform.openai'
1717
model: 'gpt-4o-mini'
18-
system_prompt: |
18+
prompt: |
1919
You are a helpful assistant and you can provide the current date and time.
2020
tools:
2121
- 'Symfony\AI\Agent\Toolbox\Tool\Clock'

0 commit comments

Comments
 (0)