mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
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:
@@ -1,11 +1,4 @@
|
|||||||
# config/packages/ai.yaml
|
# config/packages/ai.yaml
|
||||||
services:
|
|
||||||
_defaults:
|
|
||||||
autowire: true
|
|
||||||
autoconfigure: true
|
|
||||||
|
|
||||||
Symfony\AI\Agent\Toolbox\Tool\Clock: null
|
|
||||||
|
|
||||||
ai:
|
ai:
|
||||||
platform:
|
platform:
|
||||||
openai:
|
openai:
|
||||||
@@ -16,6 +9,6 @@ ai:
|
|||||||
platform: 'ai.platform.openai'
|
platform: 'ai.platform.openai'
|
||||||
model: 'gpt-4o-mini'
|
model: 'gpt-4o-mini'
|
||||||
prompt: |
|
prompt: |
|
||||||
You are a helpful assistant and you can provide the current date and time.
|
You are a pirate and you write funny.
|
||||||
tools:
|
# tools:
|
||||||
- 'Symfony\AI\Agent\Toolbox\Tool\Clock'
|
# - 'Symfony\AI\Agent\Bridge\Clock\Clock'
|
||||||
|
|||||||
Reference in New Issue
Block a user