mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +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') => {
|
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 a new issue