mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #110] bug: Issue with create_artifact (Plan Mode) #51
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#51
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 @rgaricano on GitHub (Jul 8, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/110
I found problems with some models in Plan Mode, mainly because the models inject the workspace param and then arise a type error that block the artifact creation, or if it is created it's not showed.
TypeError: create_artifact() got multiple values for keyword argument 'workspace'<Error: create_artifact tool is unavailable in current environment. Research must proceed with read-only tools only.>For solve it I added a guard for duplicated workspace argument (keeping the actual KEYWORD_ONLY & only inject the one supplied by llm if workspace doesn't exists....perhaps in the future it will be desirable to allow LLMs to plan in mixed workspaces) :
github.com/open-webui/computer@7e3f3ffe92/cptr/utils/chat_task.py (L2168-L2169)-->
To ensure it was displayed I added an explicit instruction to PLAN_MODE_PROMPT:
...using create_artifact (and show it)...@owui-terminator[bot] commented on GitHub (Jul 8, 2026):
⚠️ Missing Issue Title Prefix
@rgaricano, your issue title is missing a categorising prefix (e.g.
bug:,feat:,docs:).Please update the title to lead with one of:
Example:
bug: Login fails when the password contains special characters@tjbck commented on GitHub (Jul 9, 2026):
Should be addressed!