The best way to control Claude Code, Codex and more from any computer or phone

main
ts 9 lines 337 Bytes
Raw
1 "use agent";
2 import { useModel } from "@flue/runtime";
3
4 // Model traffic goes through the Workers AI binding (`env.AI`), so the agent
5 // needs no provider API key.
6 export function Assistant() {
7 useModel("cloudflare/@cf/moonshotai/kimi-k2.6");
8 return "You are a terse assistant. Follow the user's formatting instructions exactly.";
9 }