From 82168d73a030602ca8a966ff23e5ea114faeac2c Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sat, 12 Sep 2026 17:35:42 +0000 Subject: [PATCH] Create Flex endpoint --- davidjln.llm-carbon-bundle.1.0.json | 36 +++++++++++++++++++++++++++++ index.json | 20 ++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 davidjln.llm-carbon-bundle.1.0.json create mode 100644 index.json diff --git a/davidjln.llm-carbon-bundle.1.0.json b/davidjln.llm-carbon-bundle.1.0.json new file mode 100644 index 00000000..a228b90e --- /dev/null +++ b/davidjln.llm-carbon-bundle.1.0.json @@ -0,0 +1,36 @@ +{ + "manifests": { + "davidjln/llm-carbon-bundle": { + "manifest": { + "bundles": { + "LlmCarbon\\Bundle\\LlmCarbonBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + "The default configuration was written to config/packages/llm_carbon.yaml.", + "", + " * Review and adjust default_zone to match your deployment region", + " (must be one of the zones exposed by LlmCarbon\\EmissionFactor::all()).", + " * Add your model catalog under the models key if needed." + ] + }, + "files": { + "config/packages/llm_carbon.yaml": { + "contents": [ + "llm_carbon:", + " default_zone: 'France'", + " calculator: complete", + " models: []", + "" + ], + "executable": false + } + }, + "ref": "f966c37d0921c62fcfd2318a84c019a2206c9697" + } + } +} diff --git a/index.json b/index.json new file mode 100644 index 00000000..790e9494 --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "davidjln/llm-carbon-bundle": [ + "1.0" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2051/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2051/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +}