name = "aizhaiyao" main = "src/worker.ts" compatibility_date = "2026-01-05" [vars] # Workers AI model id MODEL = "@cf/meta/llama-3.1-8b-instruct" [ai] binding = "AI" [assets] directory = "./public" binding = "ASSETS" # 1) Create KV namespace (replace ids below): # wrangler kv namespace create KV # wrangler kv namespace create KV --preview # # 2) Then uncomment and fill the ids: # [[kv_namespaces]] # binding = "KV" # id = "REPLACE_WITH_ID" # preview_id = "REPLACE_WITH_PREVIEW_ID" [[kv_namespaces]] binding = "KV" id = "5feef48eef8b43bbbb3487b7a1982fb4"