style: format helper
This commit is contained in:
parent
651a9e9be4
commit
7c925aa5a0
1 changed files with 3 additions and 1 deletions
|
|
@ -110,7 +110,9 @@ export async function sanitizeSessionMessagesImages(
|
|||
: undefined;
|
||||
const toolUseId = (toolMsg as { toolUseId?: unknown }).toolUseId;
|
||||
const sanitizedToolUseId =
|
||||
options?.sanitizeToolCallIds && typeof toolUseId === "string" && toolUseId
|
||||
options?.sanitizeToolCallIds &&
|
||||
typeof toolUseId === "string" &&
|
||||
toolUseId
|
||||
? sanitizeToolCallId(toolUseId)
|
||||
: undefined;
|
||||
const sanitizedMsg = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue