import { apiFetch } from "./client"; export interface Settings { workspace?: string; provider?: string; model?: string; thinking?: string; } export const getSettings = () => apiFetch("/settings"); export const putSettings = (s: Settings) => apiFetch("/settings", { method: "PUT", body: JSON.stringify(s) });