mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 14:31:42 +00:00
fix: preserve raw media invoke for HTTP tool clients (#34365)
This commit is contained in:
@@ -60,6 +60,8 @@ export function createOpenClawTools(options?: {
|
||||
hasRepliedRef?: { value: boolean };
|
||||
/** If true, the model has native vision capability */
|
||||
modelHasVision?: boolean;
|
||||
/** If true, nodes action="invoke" can call media-returning commands directly. */
|
||||
allowMediaInvokeCommands?: boolean;
|
||||
/** Explicit agent ID override for cron/hook sessions. */
|
||||
requesterAgentIdOverride?: string;
|
||||
/** Require explicit message targets (no implicit last-route sends). */
|
||||
@@ -137,6 +139,7 @@ export function createOpenClawTools(options?: {
|
||||
currentThreadTs: options?.currentThreadTs,
|
||||
config: options?.config,
|
||||
modelHasVision: options?.modelHasVision,
|
||||
allowMediaInvokeCommands: options?.allowMediaInvokeCommands,
|
||||
}),
|
||||
createCronTool({
|
||||
agentSessionKey: options?.agentSessionKey,
|
||||
|
||||
Reference in New Issue
Block a user