From ab92737a9ab21c562d5e6718e59eb76cbfe7f219 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 7 Mar 2025 17:24:52 +0000 Subject: [PATCH] refac --- src/lib/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 3e905fe53..cff735d71 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -752,7 +752,7 @@ export const extractSentencesForAudio = (text: string) => { }; export const getMessageContentParts = (content: string, split_on: string = 'punctuation') => { - content = removeDetails(content, ['reasoning', 'code_interpreter']); + content = removeDetails(content, ['reasoning', 'code_interpreter', 'tool_calls']); const messageContentParts: string[] = []; switch (split_on) {