mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #250] bug: create_artifact fails with TypeError on queued/resumed tool-call replay paths #164
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1-kabir on GitHub (Sep 5, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/250
bug:
create_artifactfails with TypeError on queued/resumed tool-call replay pathsBug description
When a
create_artifacttool call is replayed from the queue (queued toolcalls and resumed tasks), the call fails and no artifact is created.
To Reproduce
create_artifacttool call (or resume a task with a pendingcreate_artifactcall).Actual behavior
The replay paths invoke
create_artifact(**args, workspace=workspace), butcreate_artifactdoes not declare aworkspaceparameter — it receives theworkspace via
__context__, like every other tool. So every replayedcreate_artifactcall raises:Expected behavior
Queued/replayed
create_artifactcalls should succeed. The call should inject__context__(includingcall_id) the same wayexecute_tooldoes for allother tools on the same paths, e.g.:
Affected sites are in
run_chat_taskincptr/utils/chat_task.py.Environment
@owui-terminator[bot] commented on GitHub (Sep 5, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
This is directly about
create_artifactfailing with aworkspaceargument mismatch inchat_task.py. The earlier report describes the same function and the same TypeError family, making it the closest match to the replay-path bug.by rgaricano
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.