Spaces:
Running
Running
File size: 561 Bytes
15a5288 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import type { ProviderEntry, ProviderFetcher } from './types';
import { BaseProviderFetcher } from './base';
export class NScaleFetcher extends BaseProviderFetcher implements ProviderFetcher {
name = 'nscale';
constructor(apiKey?: string) {
super('https://api.nscale.ai/v1', apiKey);
}
async fetchModels(): Promise<ProviderEntry[]> {
// NScale doesn't provide a public API for model listing
// Data will come from HuggingFace router API
console.log('NScale API not available - using HuggingFace router data');
return [];
}
} |