import { apiFetch } from "./client"; export interface PiModel { provider: string; id: string; name: string; reasoning: boolean; } export const listModels = () => apiFetch<{ models: PiModel[] }>("/models");