mirror of
https://github.com/open-webui/open-webui
synced 2025-05-25 07:14:43 +00: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') => {
|
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[] = [];
|
const messageContentParts: string[] = [];
|
||||||
|
|
||||||
switch (split_on) {
|
switch (split_on) {
|
||||||
|
Loading…
Reference in New Issue
Block a user