MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / getSharedPoolStats

Function getSharedPoolStats

lib/api.ts:1003–1009  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1001 * 获取共享池统计信息
1002 */
1003export async function getSharedPoolStats(): Promise<SharedPoolStats> {
1004 const result = await fetchWithAuth<{ success: boolean; data: SharedPoolStats }>(
1005 `${API_BASE_URL}/api/usage/shared-pool/stats`,
1006 { method: 'GET' }
1007 );
1008 return result.data;
1009}
1010
1011// ==================== 聊天相关 API ====================
1012

Callers 2

loadModelsFunction · 0.90
loadStatsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected