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