mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/ai-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\AI\\AiBundle\\AiBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"OPENAI_API_KEY": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/ai.yaml": {
|
||||
"contents": [
|
||||
"# config/packages/ai.yaml",
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
" autoconfigure: true",
|
||||
"",
|
||||
" Symfony\\AI\\Agent\\Toolbox\\Tool\\Clock: null",
|
||||
"",
|
||||
"ai:",
|
||||
" platform:",
|
||||
" openai:",
|
||||
" api_key: '%env(OPENAI_API_KEY)%'",
|
||||
"",
|
||||
" agent:",
|
||||
" default:",
|
||||
" platform: 'ai.platform.openai'",
|
||||
" model: 'gpt-4o-mini'",
|
||||
" system_prompt: |",
|
||||
" You are a helpful assistant and you can provide the current date and time.",
|
||||
" tools:",
|
||||
" - 'Symfony\\AI\\Agent\\Toolbox\\Tool\\Clock'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "db3f1c8c57991c8ded8c1b165e3b73b99cd20008"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"symfony/ai-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\AI\\AiBundle": [
|
||||
"Symfony\\AI\\AiBundle\\AiBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
@@ -43,7 +43,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c8da024bc06438f321f35296ef9ed6c2235bfa33"
|
||||
"ref": "db3f1c8c57991c8ded8c1b165e3b73b99cd20008"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user