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.
This commit is contained in:
Riccardo Schirone
2025-10-03 18:26:49 +02:00
committed by GitHub
parent 1a0295e48e
commit 3251477c56
+1
View File
@@ -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)