style: format helper
parent
651a9e9be4
commit
7c925aa5a0
|
|
@ -110,7 +110,9 @@ export async function sanitizeSessionMessagesImages(
|
||||||
: undefined;
|
: undefined;
|
||||||
const toolUseId = (toolMsg as { toolUseId?: unknown }).toolUseId;
|
const toolUseId = (toolMsg as { toolUseId?: unknown }).toolUseId;
|
||||||
const sanitizedToolUseId =
|
const sanitizedToolUseId =
|
||||||
options?.sanitizeToolCallIds && typeof toolUseId === "string" && toolUseId
|
options?.sanitizeToolCallIds &&
|
||||||
|
typeof toolUseId === "string" &&
|
||||||
|
toolUseId
|
||||||
? sanitizeToolCallId(toolUseId)
|
? sanitizeToolCallId(toolUseId)
|
||||||
: undefined;
|
: undefined;
|
||||||
const sanitizedMsg = {
|
const sanitizedMsg = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue