mirror of
https://github.com/open-webui/computer.git
synced 2026-11-24 14:30:22 -05:00
refac
This commit is contained in:
1 parent
9b15e89b02
commit
0a4166baa0
2 files changed
+5
-1
No files matched your search
@@ -2166,7 +2166,9 @@ async def run_chat_task(
|
||||
for idx in other_indices:
|
||||
tc, item = call_items[idx]
|
||||
if tc["name"] == "create_artifact":
|
||||
result = await create_artifact(**tc["arguments"], workspace=workspace)
|
||||
args = dict(tc["arguments"])
|
||||
args.pop("workspace", None)
|
||||
result = await create_artifact(**args, workspace=workspace)
|
||||
else:
|
||||
result = await execute_tool(
|
||||
tc["name"],
|
||||
|
||||
Reference in new issue
Block a user