fix: eliminate ~5s delay when opening Switch Models panel with local provider (#8626)

Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
jh-block
2026-04-17 21:08:41 +02:00
committed by GitHub
parent 3f3b519b62
commit 1a18c2748c
9 changed files with 166 additions and 62 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+14
View File
@@ -3412,6 +3412,20 @@ export type SearchHfModelsResponses = {
export type SearchHfModelsResponse = SearchHfModelsResponses[keyof SearchHfModelsResponses];
export type SyncFeaturedModelsData = {
body?: never;
path?: never;
query?: never;
url: '/local-inference/sync-featured';
};
export type SyncFeaturedModelsResponses = {
/**
* Featured models synced to registry
*/
200: unknown;
};
export type McpUiProxyData = {
body?: never;
path?: never;