mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
refac
This commit is contained in:
parent
d7a0437438
commit
ab92737a9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue