Remove tools section and update prompt in ai-bundle recipe

- Remove Clock tool configuration from services
- Remove tools array from default agent
- Update system prompt to pirate theme
This commit is contained in:
Oskar Stark
2025-11-25 12:50:32 +01:00
parent f9648936ae
commit 127c1fae5d

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'