TypeScript 97.4%
SQL 1%
JavaScript 0.9%
CSS 0.6%
1import { post, short } from "./lib.ts";2const r = await post("/chat/completions", { model: "glm-5-2", messages: [{ role: "user", content: "Say OK." }], max_tokens: 30, reasoning_effort: "minimal" });3const b: any = r.body; const c = b?.choices?.[0]?.message?.content;4console.log("glm minimal", r.status, r.status === 200 ? `shape=${Array.isArray(c) ? "arr(" + c.map((x: any) => x.type).join(",") + ")" : typeof c} ct=${b.usage?.completion_tokens}` : short(b, 200));5const v = await post("/chat/completions", { model: "voxtral-small-latest", messages: [{ role: "user", content: "Say OK." }], max_tokens: 10, reasoning_effort: "high" });6console.log("voxtral reasoning_effort", v.status, short(v.body, 150));7