Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aisbf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
aisbf
Commits
f3e6a719
Commit
f3e6a719
authored
Apr 21, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Update providers page to use new /dashboard/api/cache-settings endpoint
parent
186b1d38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
antani_sqlite_db_3f9c7e7f.sqlite3
antani_sqlite_db_3f9c7e7f.sqlite3
+0
-0
user_providers.html
templates/dashboard/user_providers.html
+4
-2
No files found.
antani_sqlite_db_3f9c7e7f.sqlite3
deleted
100644 → 0
View file @
186b1d38
templates/dashboard/user_providers.html
View file @
f3e6a719
...
...
@@ -139,7 +139,7 @@ let cacheSettings = [];
async
function
setCacheSetting
(
provider_id
,
model_name
,
enabled
)
{
try
{
const
response
=
await
fetch
(
'{{ url_for(request, "/
api/user
/cache-settings") }}'
,
{
const
response
=
await
fetch
(
'{{ url_for(request, "/
dashboard/api
/cache-settings") }}'
,
{
method
:
'POST'
,
headers
:
{
'Content-Type'
:
'application/json'
},
body
:
JSON
.
stringify
({
...
...
@@ -164,7 +164,9 @@ async function setCacheSetting(provider_id, model_name, enabled) {
async
function
loadCacheSettings
()
{
try
{
const
response
=
await
fetch
(
'{{ url_for(request, "/api/user/cache-settings") }}'
);
const
response
=
await
fetch
(
'{{ url_for(request, "/dashboard/api/cache-settings") }}'
,
{
credentials
:
'same-origin'
});
const
data
=
await
response
.
json
();
cacheSettings
=
data
.
settings
||
[];
}
catch
(
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment