From 48a858f748cf32f7ff152f2c6a0a970062aa6081 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 18 Jul 2025 05:44:15 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 1 + ...a5a7b816e8fe7d7576aac295a2fb6afcfc36f.json | 51 +++++++++++++++++++ index.json | 6 +++ symfony.ai-bundle.0.1.json | 51 +++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 archived/symfony.ai-bundle/098a5a7b816e8fe7d7576aac295a2fb6afcfc36f.json create mode 100644 symfony.ai-bundle.0.1.json diff --git a/RECIPES.md b/RECIPES.md index 17bd5f26..9ac12e42 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -32,6 +32,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [sensiolabs/ansi-to-html](https://packagist.org/packages/sensiolabs/ansi-to-html) | [1.2](sensiolabs/ansi-to-html/1.2) | | | [sensiolabs/security-checker](https://packagist.org/packages/sensiolabs/security-checker) | [4.0](sensiolabs/security-checker/4.0) | `sec-check`, `sec-checker`, `sec-checks`, `seccheck`, `secchecker`, `secchecks`, `security-check`, `security-checker`, `securitycheck`, `securitychecker` | | [symfony/aha-send-mailer](https://packagist.org/packages/symfony/aha-send-mailer) | [7.2](symfony/aha-send-mailer/7.2) | `aha-send-mailer`, `ahasendmailer` | +| [symfony/ai-bundle](https://packagist.org/packages/symfony/ai-bundle) | [0.1](symfony/ai-bundle/0.1) | `ai`, `ai-bundle`, `aibundle` | | [symfony/all-my-sms-notifier](https://packagist.org/packages/symfony/all-my-sms-notifier) | [5.3](symfony/all-my-sms-notifier/5.3) | `all-my-sms-notifier` | | [symfony/allmysms-notifier](https://packagist.org/packages/symfony/allmysms-notifier) | [5.3](symfony/allmysms-notifier/5.3) | `allmysms-notifier`, `allmysmsnotifier` | | [symfony/amazon-mailer](https://packagist.org/packages/symfony/amazon-mailer) | [4.4](symfony/amazon-mailer/4.4) | `amazon-mailer`, `amazonmailer` | diff --git a/archived/symfony.ai-bundle/098a5a7b816e8fe7d7576aac295a2fb6afcfc36f.json b/archived/symfony.ai-bundle/098a5a7b816e8fe7d7576aac295a2fb6afcfc36f.json new file mode 100644 index 00000000..fc684f71 --- /dev/null +++ b/archived/symfony.ai-bundle/098a5a7b816e8fe7d7576aac295a2fb6afcfc36f.json @@ -0,0 +1,51 @@ +{ + "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:", + " class: 'Symfony\\AI\\Platform\\Bridge\\OpenAI\\GPT'", + " name: 'gpt-4o-mini' # !php/const Symfony\\AI\\Platform\\Bridge\\OpenAI\\GPT::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": "098a5a7b816e8fe7d7576aac295a2fb6afcfc36f" + } + } +} diff --git a/index.json b/index.json index 8c5d838a..3846a602 100644 --- a/index.json +++ b/index.json @@ -8,6 +8,9 @@ "admingenerator": "easycorp/easyadmin-bundle", "aha-send-mailer": "symfony/aha-send-mailer", "ahasendmailer": "symfony/aha-send-mailer", + "ai": "symfony/ai-bundle", + "ai-bundle": "symfony/ai-bundle", + "aibundle": "symfony/ai-bundle", "alice": "hautelook/alice-bundle", "all-my-sms-notifier": "symfony/all-my-sms-notifier", "allmysms-notifier": "symfony/allmysms-notifier", @@ -655,6 +658,9 @@ "symfony/aha-send-mailer": [ "7.2" ], + "symfony/ai-bundle": [ + "0.1" + ], "symfony/all-my-sms-notifier": [ "5.3" ], diff --git a/symfony.ai-bundle.0.1.json b/symfony.ai-bundle.0.1.json new file mode 100644 index 00000000..fc684f71 --- /dev/null +++ b/symfony.ai-bundle.0.1.json @@ -0,0 +1,51 @@ +{ + "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:", + " class: 'Symfony\\AI\\Platform\\Bridge\\OpenAI\\GPT'", + " name: 'gpt-4o-mini' # !php/const Symfony\\AI\\Platform\\Bridge\\OpenAI\\GPT::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": "098a5a7b816e8fe7d7576aac295a2fb6afcfc36f" + } + } +}