vibebench
Version:
CLI tool for VibeBench - vote on AI models from your terminal
11 lines • 425 B
JavaScript
import { formatModelStats, formatError } from '../lib/formatters.js';
export async function statsCommand(api, modelSlug) {
try {
const model = await api.getModelStats(modelSlug);
console.log(formatModelStats(model));
}
catch (error) {
console.log(formatError('Failed to get model stats', error instanceof Error ? error.message : 'Unknown error'));
}
}
//# sourceMappingURL=stats.js.map