This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-12 16:56:07 +01:00
1 parent 6fa56a4893
commit 73d2fe054f
13 files changed
+1142 -8

No files matched your search

+2 -2
View File
@@ -798,7 +798,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 = get_tool_list()
tools = await get_tool_list()
# Remove view_skill tool if no skills are available
skills = discover_skills(workspace)
@@ -955,7 +955,7 @@ async def run_chat_task(
if name == "create_artifact":
result = await create_artifact(**event["arguments"], workspace=workspace)
else:
result = await execute_tool(name, event["arguments"], {"workspace": workspace, "user_id": user_id, "model_id": model})
result = await execute_tool(name, event["arguments"], {"workspace": workspace, "user_id": user_id, "model_id": model, "chat_id": chat_id})
# Update status to completed
item["status"] = "completed"