fix(*): 支付与Agent运行 - 修复商品策略并保证审批恢复稳定

This commit is contained in:
ddcat666 committed 2026-09-29 11:07:11 +08:00
1 parent 37bb4d7242
commit 3dd84ff25b
17 files changed
+1836 -226

No files matched your search

+4 -2
View File
@@ -81,8 +81,10 @@ type Service struct {
piRunnerMu sync.Mutex
piRunnerWg sync.WaitGroup
piRunners map[string]context.CancelFunc
piRunnersClosed bool
disablePiRuntime bool
// piRunnerRestarts 记录审批恢复时旧会话仍在收尾的运行,旧会话退出后再启动一次。
piRunnerRestarts map[string]struct{}
piRunnersClosed bool
disablePiRuntime bool
// legacyCloudAgentRootTask is enabled only by tests that exercise the pre-Pi
// model-worker path. Runtime availability must not change root task semantics.
legacyCloudAgentRootTask bool