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,42 @@
|
||||
{
|
||||
"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",
|
||||
"ai:",
|
||||
" platform:",
|
||||
" openai:",
|
||||
" api_key: '%env(OPENAI_API_KEY)%'",
|
||||
"",
|
||||
" agent:",
|
||||
" default:",
|
||||
" platform: 'ai.platform.openai'",
|
||||
" model: 'gpt-5-mini'",
|
||||
" prompt: |",
|
||||
" You are a pirate and you write funny.",
|
||||
"# tools:",
|
||||
"# - 'Symfony\\AI\\Agent\\Bridge\\Clock\\Clock'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "39bb71a39860be3a261f5b527ed57e952366943d"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
" agent:",
|
||||
" default:",
|
||||
" platform: 'ai.platform.openai'",
|
||||
" model: 'gpt-4o-mini'",
|
||||
" model: 'gpt-5-mini'",
|
||||
" prompt: |",
|
||||
" You are a pirate and you write funny.",
|
||||
"# tools:",
|
||||
@@ -36,7 +36,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "05cfb98b7551d4647c6a9b6f777a8a697642eb9e"
|
||||
"ref": "39bb71a39860be3a261f5b527ed57e952366943d"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user