Added grounding model fallback

This commit is contained in:
Dillon DuPont
2025-08-28 16:39:43 -04:00
parent 53aa6b6299
commit b7cbac31a0

View File

@@ -253,6 +253,10 @@ class ComputerAgent:
# == Initialize computer agent ==
# If the loop is "human/human", we need to prefix a grounding model fallback
if self.agent_loop in ["human/human", "human"]:
self.agent_loop = "openai/computer-use-preview+human/human"
# Find the appropriate agent loop
if custom_loop:
self.agent_loop = custom_loop