mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
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:
committed by
GitHub
parent
1a0295e48e
commit
3251477c56
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user