feat(web): bots page

This commit is contained in:
Acbox
2026-02-10 18:59:18 +08:00
parent 4d265b8f24
commit 169d9a35af
21 changed files with 1814 additions and 11 deletions
@@ -28,6 +28,14 @@ export function useProviderList(clientType: Ref<string>) {
})
}
/** 获取所有 Provider(无过滤) */
export function useAllProviders() {
return useQuery({
key: ['all-providers'],
query: () => fetchApi<ProviderWithId[]>('/providers'),
})
}
// ---- Mutations ----
export function useCreateProvider() {