style: format helper
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user