mirror of
https://github.com/trycua/computer.git
synced 2026-01-01 11:00:31 -06:00
Added grounding model fallback
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user