fix(agents): pass agentDir to media understanding in ACP dispatch path · openclaw/openclaw@2b578c3
luyao618
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,6 +6,7 @@ import {
|
6 | 6 | isSessionIdentityPending, |
7 | 7 | resolveSessionIdentityFromMeta, |
8 | 8 | } from "../../acp/runtime/session-identity.js"; |
| 9 | +import { resolveAgentDir } from "../../agents/agent-scope.js"; |
9 | 10 | import type { OpenClawConfig } from "../../config/types.openclaw.js"; |
10 | 11 | import type { TtsAutoMode } from "../../config/types.tts.js"; |
11 | 12 | import { logVerbose } from "../../globals.js"; |
@@ -420,6 +421,7 @@ export async function tryDispatchAcpReply(params: {
|
420 | 421 | await applyMediaUnderstanding({ |
421 | 422 | ctx: params.ctx, |
422 | 423 | cfg: params.cfg, |
| 424 | +agentDir: resolveAgentDir(params.cfg, acpAgentId), |
423 | 425 | }); |
424 | 426 | } catch (err) { |
425 | 427 | logVerbose( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。