mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-23 23:29:31 +01:00
feat: external model info
This commit is contained in:
@@ -31,6 +31,10 @@ export const getModels = async (token: string) => {
|
||||
// Helper functions
|
||||
//////////////////////////
|
||||
|
||||
export const capitalizeFirstLetter = (string) => {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
};
|
||||
|
||||
export const splitStream = (splitOn) => {
|
||||
let buffer = '';
|
||||
return new TransformStream({
|
||||
|
||||
Reference in New Issue
Block a user