Update Flex endpoint

This commit is contained in:
github-action[bot]
2025-12-23 22:07:43 +00:00
parent 15eae169f9
commit f63571ad57
2 changed files with 88 additions and 14 deletions
@@ -0,0 +1,58 @@
{
"manifests": {
"symfony/ai-bundle": {
"manifest": {
"bundles": {
"Symfony\\AI\\AiBundle\\AiBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
" * Choose an inference platform and install the corresponding bridge",
"",
" * For example <fg=green>OpenAI</> with the <fg=green>symfony/ai-openai-bridge</> package",
" or <fg=green>Anthropic</> with the <fg=green>symfony/ai-anthropic-bridge</> package"
]
},
"files": {
"config/packages/ai.yaml": {
"contents": [
"ai:",
" platform:",
" # Inference Platform configuration",
" # see https://github.com/symfony/ai/tree/main/src/platform#platform-bridges",
"",
" # openai:",
" # api_key: '%env(OPENAI_API_KEY)%'",
"",
" agent:",
" # Agent configuration",
" # see https://symfony.com/doc/current/ai/bundles/ai-bundle.html",
"",
" # 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'",
"",
" store:",
" # Store configuration",
"",
" # chromadb:",
" # default:",
" # client: 'client.service.id'",
" # collection: 'my_collection'",
""
],
"executable": false
}
},
"ref": "917b2a3da78a22e9488e99e1847d1f019d18da76"
}
}
}
+30 -14
View File
@@ -10,33 +10,49 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"OPENAI_API_KEY": ""
}
"post-install-output": [
" * Choose an inference platform and install the corresponding bridge",
"",
" * For example <fg=green>OpenAI</> with the <fg=green>symfony/ai-openai-bridge</> package",
" or <fg=green>Anthropic</> with the <fg=green>symfony/ai-anthropic-bridge</> package"
]
},
"files": {
"config/packages/ai.yaml": {
"contents": [
"# config/packages/ai.yaml",
"ai:",
" platform:",
" openai:",
" api_key: '%env(OPENAI_API_KEY)%'",
" # Inference Platform configuration",
" # see https://github.com/symfony/ai/tree/main/src/platform#platform-bridges",
"",
" # 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'",
" # Agent configuration",
" # see https://symfony.com/doc/current/ai/bundles/ai-bundle.html",
"",
" # 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'",
"",
" store:",
" # Store configuration",
"",
" # chromadb:",
" # default:",
" # client: 'client.service.id'",
" # collection: 'my_collection'",
""
],
"executable": false
}
},
"ref": "39bb71a39860be3a261f5b527ed57e952366943d"
"ref": "917b2a3da78a22e9488e99e1847d1f019d18da76"
}
}
}