mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 09:00:42 +00:00
fix: annotate message-tool-only replies in Codex tool spec
Thread sourceReplyDeliveryMode into Codex/OpenClaw tool construction and annotate the message tool description for message-tool-only turns so visible replies use message(action=send).\n\nAlso adds focused regression coverage and a changelog entry.
This commit is contained in:
committed by
GitHub
parent
657d2331b3
commit
b62166301e
@@ -1821,6 +1821,7 @@ async function buildDynamicTools(input: DynamicToolBuildParams) {
|
||||
modelHasVision,
|
||||
requireExplicitMessageTarget:
|
||||
params.requireExplicitMessageTarget ?? isSubagentSessionKey(params.sessionKey),
|
||||
sourceReplyDeliveryMode: params.sourceReplyDeliveryMode,
|
||||
disableMessageTool: params.disableMessageTool,
|
||||
forceMessageTool: shouldForceMessageTool(params),
|
||||
enableHeartbeatTool: params.trigger === "heartbeat",
|
||||
|
||||
Reference in New Issue
Block a user