mirror of
https://github.com/open-webui/computer.git
synced 2026-12-06 11:37:58 -05:00
refac
This commit is contained in:
1 parent
e687f0e4ba
commit
7be9a08779
2 files changed
+3
-1
No files matched your search
@@ -1270,6 +1270,7 @@ async def run_chat_task(
|
||||
async def _run_agent_target(agent_target: AgentModelTarget):
|
||||
nonlocal content, text_buffer
|
||||
from cptr.utils.agents.claude_code import run_claude_code_agent
|
||||
from cptr.utils.agents.cline import run_cline_agent
|
||||
from cptr.utils.agents.codex import run_codex_agent
|
||||
from cptr.utils.agents.cursor import run_cursor_agent
|
||||
from cptr.utils.agents.grok import run_grok_agent
|
||||
@@ -1322,6 +1323,7 @@ async def run_chat_task(
|
||||
"cursor": run_cursor_agent,
|
||||
"grok": run_grok_agent,
|
||||
"opencode": run_opencode_agent,
|
||||
"cline": run_cline_agent,
|
||||
}
|
||||
runner = runners.get(agent_target.agent)
|
||||
if runner is None:
|
||||
|
||||
Reference in new issue
Block a user