mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 22:55:58 +08:00
refac
This commit is contained in:
parent
d7a0437438
commit
ab92737a9a
@ -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…
x
Reference in New Issue
Block a user