Update Flex endpoint

This commit is contained in:
github-action[bot]
2025-09-29 09:17:19 +00:00
parent bc7807e51e
commit 8225845bcc
2 changed files with 51 additions and 4 deletions
@@ -0,0 +1,49 @@
{
"manifests": {
"symfony/ai-bundle": {
"manifest": {
"bundles": {
"Symfony\\AI\\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": "c8da024bc06438f321f35296ef9ed6c2235bfa33"
}
}
}
+2 -4
View File
@@ -33,9 +33,7 @@
" agent:",
" default:",
" platform: 'ai.platform.openai'",
" model:",
" class: 'Symfony\\AI\\Platform\\Bridge\\OpenAi\\Gpt'",
" name: 'gpt-4o-mini' # !php/const Symfony\\AI\\Platform\\Bridge\\OpenAi\\Gpt::GPT_4O_MINI",
" model: 'gpt-4o-mini'",
" system_prompt: |",
" You are a helpful assistant and you can provide the current date and time.",
" tools:",
@@ -45,7 +43,7 @@
"executable": false
}
},
"ref": "d906c1d536a3fb5c675653b08bde9a157bb27670"
"ref": "c8da024bc06438f321f35296ef9ed6c2235bfa33"
}
}
}