From 3251477c56cb4e1d2c72b98b3b5c41be06f8bf80 Mon Sep 17 00:00:00 2001 From: Riccardo Schirone <562321+ret2libc@users.noreply.github.com> Date: Fri, 3 Oct 2025 18:26:49 +0200 Subject: [PATCH] seed-gen: add OpenAI model to fallbacks (#370) Add an OpenAI model to the fallback models so that if only OpenAI API Key is provided, the seed-gen component still works. --- seed-gen/src/buttercup/seed_gen/task.py | 1 + 1 file changed, 1 insertion(+) diff --git a/seed-gen/src/buttercup/seed_gen/task.py b/seed-gen/src/buttercup/seed_gen/task.py index f4b3da60..c3c166d2 100644 --- a/seed-gen/src/buttercup/seed_gen/task.py +++ b/seed-gen/src/buttercup/seed_gen/task.py @@ -96,6 +96,7 @@ class Task: fallbacks = [ ButtercupLLM.CLAUDE_3_7_SONNET, ButtercupLLM.CLAUDE_3_5_SONNET, + ButtercupLLM.OPENAI_GPT_4_1, ButtercupLLM.GEMINI_PRO, ] self.llm = Task.get_llm(ButtercupLLM.CLAUDE_4_SONNET, fallbacks)