mirror of
https://github.com/open-webui/computer.git
synced 2026-12-02 01:42:55 -05:00
refac
This commit is contained in:
1 parent
28064c17d2
commit
9c47e65420
24 files changed
+924
-455
No files matched your search
@@ -1800,7 +1800,7 @@ async def run_chat_task(
|
||||
system += f"\n\n[CONVERSATION SUMMARY]\n{loaded_summary}"
|
||||
if regeneration_prompt:
|
||||
messages.append({"role": "user", "content": regeneration_prompt})
|
||||
tools = await get_tool_list(builtin_tools=builtin_tools)
|
||||
tools = await get_tool_list(builtin_tools=builtin_tools, workspace=workspace)
|
||||
if not skill_authoring_allowed:
|
||||
tools = [t for t in tools if t["name"] != "manage_skill"]
|
||||
|
||||
|
||||
Reference in new issue
Block a user