chore: 迁移服务器前同步本地修改

This commit is contained in:
2026-08-05 21:26:13 +08:00
parent aa47a19e98
commit 1a914a2517
73 changed files with 908 additions and 1961 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
from kilostar.utils.ray_hook import ray_actor_hook
from kilostar.utils.actor import get_actor
async def approval(message: str, trace_id: str) -> str:
@@ -11,7 +11,7 @@ async def approval(message: str, trace_id: str) -> str:
Returns:
用户的审批结果
"""
actor_list = ray_actor_hook("global_workflow_manager")
await actor_list.global_workflow_manager.put_pending.remote(trace_id, message)
reply = await actor_list.global_workflow_manager.get_received.remote(trace_id)
gwm = get_actor("global_workflow_manager")
await gwm.put_pending(trace_id, message)
reply = await gwm.get_received(trace_id)
return reply