Versions 190 to 191
new file, 45 lines
1+// Ask the local auto-settle Worker (workers-ai/, run with wrangler dev) how a hold should be settled (#19).
2+
4+
6+
18+
19+export async function askWorkersAi(h: Hold, opts: { model?: string; url?: string } = {}): Promise<ModelVerdict> {
35+ if (!res.ok || out.error || !out.pick) throw new Error(`Workers AI: ${out.error ?? res.status}`);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 190 191 scripts/autosettle/workers-ai.ts --json
- JSON
- /christopher/abso-core/compare/190..191?file=scripts%2Fautosettle%2Fworkers-ai.ts&format=json