From dd815c077813baac4936670ed1c9b195eb98e1ba Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 25 Nov 2025 12:47:15 +0100 Subject: [PATCH] Fix AI bundle recipe to use 'prompt' instead of deprecated 'system_prompt' The 'system_prompt' configuration key is no longer supported in Symfony AI. This updates the recipe to use the correct 'prompt' key as per the current Symfony AI documentation. --- symfony/ai-bundle/0.1/config/packages/ai.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/ai-bundle/0.1/config/packages/ai.yaml b/symfony/ai-bundle/0.1/config/packages/ai.yaml index 860e99c86..8d1a54e9f 100644 --- a/symfony/ai-bundle/0.1/config/packages/ai.yaml +++ b/symfony/ai-bundle/0.1/config/packages/ai.yaml @@ -15,7 +15,7 @@ ai: default: platform: 'ai.platform.openai' model: 'gpt-4o-mini' - system_prompt: | + prompt: | You are a helpful assistant and you can provide the current date and time. tools: - 'Symfony\AI\Agent\Toolbox\Tool\Clock'