sailfork / t3code-github / .repos/ alchemy-effect/ examples/ cloudflare-flue/ src/ agents/ assistant.ts
"use agent";
import { useModel } from "@flue/runtime";
// Model traffic goes through the Workers AI binding (`env.AI`), so the agent
// needs no provider API key.
export function Assistant() {
useModel("cloudflare/@cf/moonshotai/kimi-k2.6");
return "You are a terse assistant. Follow the user's formatting instructions exactly.";
}