forked from open-webui/open-webui
feat: external model info
This commit is contained in:
parent
eb004ccfc2
commit
32cb5f3ceb
3 changed files with 27 additions and 21 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue