feat: set default models globally
This commit is contained in:
1 parent
5719bcad1f
commit
dfde45d365
2 files changed
+9
-3
No files matched your search
@@ -4,7 +4,7 @@ export const setDefaultModels = async (token: string, models: string) => {
|
||||
let error = null;
|
||||
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/configs/default/models`, {
|
||||
method: 'GET',
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
Authorization: `Bearer ${token}`
|
||||
|
||||
Reference in new issue
Block a user