Merge pull request #1492 from OskarStark/remove-tools-ai-bundle

Comment tools section and update prompt in ai-bundle recipe
This commit is contained in:
Fabien Potencier
2025-11-25 14:00:16 +01:00
committed by GitHub
+3 -10
View File
@@ -1,11 +1,4 @@
# config/packages/ai.yaml
services:
_defaults:
autowire: true
autoconfigure: true
Symfony\AI\Agent\Toolbox\Tool\Clock: null
ai:
platform:
openai:
@@ -16,6 +9,6 @@ ai:
platform: 'ai.platform.openai'
model: 'gpt-4o-mini'
prompt: |
You are a helpful assistant and you can provide the current date and time.
tools:
- 'Symfony\AI\Agent\Toolbox\Tool\Clock'
You are a pirate and you write funny.
# tools:
# - 'Symfony\AI\Agent\Bridge\Clock\Clock'