mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 11:28:38 +00:00
Agents: pass agent-scoped image roots
This commit is contained in:
@@ -80,6 +80,12 @@ export function createOpenClawTools(options?: {
|
|||||||
? createImageTool({
|
? createImageTool({
|
||||||
config: options?.config,
|
config: options?.config,
|
||||||
agentDir: options.agentDir,
|
agentDir: options.agentDir,
|
||||||
|
agentId:
|
||||||
|
options?.requesterAgentIdOverride ??
|
||||||
|
resolveSessionAgentId({
|
||||||
|
sessionKey: options?.agentSessionKey,
|
||||||
|
config: options?.config,
|
||||||
|
}),
|
||||||
workspaceDir,
|
workspaceDir,
|
||||||
sandbox:
|
sandbox:
|
||||||
options?.sandboxRoot && options?.sandboxFsBridge
|
options?.sandboxRoot && options?.sandboxFsBridge
|
||||||
@@ -113,6 +119,7 @@ export function createOpenClawTools(options?: {
|
|||||||
? null
|
? null
|
||||||
: createMessageTool({
|
: createMessageTool({
|
||||||
agentAccountId: options?.agentAccountId,
|
agentAccountId: options?.agentAccountId,
|
||||||
|
agentId: options?.requesterAgentIdOverride,
|
||||||
agentSessionKey: options?.agentSessionKey,
|
agentSessionKey: options?.agentSessionKey,
|
||||||
config: options?.config,
|
config: options?.config,
|
||||||
currentChannelId: options?.currentChannelId,
|
currentChannelId: options?.currentChannelId,
|
||||||
|
|||||||
Reference in New Issue
Block a user