640 [2].png

id: 76f21bb1b78048ef9859b729e5c9a529
mime: image/png
filename: 
created_time: 2025-11-28T16:55:25.163Z
updated_time: 2025-11-30T13:34:20.902Z
user_created_time: 2025-11-28T16:55:25.163Z
user_updated_time: 2025-11-30T13:34:20.902Z
file_extension: png
encryption_cipher_text: 
encryption_applied: 0
encryption_blob_encrypted: 0
size: 54917
is_shared: 0
share_id: 
master_key_id: 
user_data: 
blob_updated_time: 1764348925163
ocr_text: D: > Cloudflare > workers > treehold=3i > src > TS indexts > ...\n1| export interface Env {\n2| | ar: ai;\na\n5 export default {\n7 const response = await env.AL.run("@cf/deepseek-ai/deepseek-r1-distill-quen-32b", {\n10\n1 return new Response(JSON. stringify(response));\n12 1\n13\n1 /1 The scheduled handler is invoked at the interval set in our wrangler.jsonc's\n15 /1 [[triggers]] configuration.\n16 async scheduled(event, env, ctx): Promisecvoids {\n17\n18 17 We'll keep it simple and make an APT call to a Cloudflare APT:\n19 let resp = await fetch(https://api.cloudflare.com/client/v4/ips’);\n2 let wasSuccessful = resp.ok ? ‘success’ : ‘fail’;\n2 17 Tn this template, we'll just log the result:\n2 console. log(" trigger fired at ${event.cron}: ${wasSuccessful}’);\n2 1\n24} satisfies ExportedHandler<Env>;
ocr_details: [{"words":[{"t":"D:","bb":[17,31,29,59],"bl":[17,31,49,49]},{"t":">","bb":[33,38,39,49],"bl":[33,38,49,49]},{"t":"Cloudflare","bb":[46,101,39,49],"bl":[46,101,49,49]},{"t":">","bb":[110,113,29,59],"bl":[110,113,49,49]},{"t":"workers","bb":[123,162,43,49],"bl":[123,162,49,49]},{"t":">","bb":[170,173,29,59],"bl":[170,173,49,49]},{"t":"treehold=3i","bb":[187,382,39,49],"bl":[187,382,49,49]},{"t":">","bb":[250,256,29,59],"bl":[250,256,49,49]},{"t":"src","bb":[260,276,29,59],"bl":[260,276,49,49]},{"t":">","bb":[283,288,29,59],"bl":[283,288,49,49]},{"t":"TS","bb":[293,306,29,59],"bl":[293,306,49,49]},{"t":"indexts","bb":[313,356,29,59],"bl":[313,356,49,49]},{"t":">","bb":[363,368,29,59],"bl":[363,368,49,49]},{"t":"...","bb":[373,386,29,59],"bl":[373,386,49,49]}]},{"words":[{"t":"1|","bb":[35,41,60,69],"bl":[35,41,69,69]},{"t":"export","bb":[68,113,60,72],"bl":[68,113,69,69]},{"t":"interface","bb":[123,190,59,69],"bl":[123,190,69,69]},{"t":"Env","bb":[200,222,60,69],"bl":[200,222,69,69]},{"t":"{","bb":[230,237,59,72],"bl":[230,237,69,69]}]},{"words":[{"t":"2|","bb":[35,41,79,88],"bl":[35,41,88,88]},{"t":"|","bb":[62,73,69,98],"bl":[62,73,88,88]},{"t":"ar:","bb":[83,104,79,88],"bl":[83,104,88,88]},{"t":"ai;","bb":[114,135,78,90],"bl":[114,135,88,89]}]},{"words":[{"t":"a","bb":[34,42,117,126],"bl":[34,42,124,124]}]},{"words":[{"t":"5","bb":[35,41,136,145],"bl":[35,41,145,145]},{"t":"export","bb":[68,113,136,148],"bl":[68,113,145,145]},{"t":"default","bb":[122,175,135,145],"bl":[122,175,145,145]},{"t":"{","bb":[184,190,135,148],"bl":[184,190,145,145]}]},{"words":[{"t":"7","bb":[35,41,174,183],"bl":[35,41,183,183]},{"t":"const","bb":[130,167,174,183],"bl":[130,167,183,183]},{"t":"response","bb":[177,237,176,186],"bl":[177,237,183,183]},{"t":"=","bb":[245,252,178,181],"bl":[245,252,183,183]},{"t":"await","bb":[261,298,173,183],"bl":[261,298,183,183]},{"t":"env.AL.run(\"@cf/deepseek-ai/deepseek-r1-distill-quen-32b\",","bb":[307,751,173,186],"bl":[307,751,183,183]},{"t":"{","bb":[761,768,173,186],"bl":[761,768,183,183]}]},{"words":[{"t":"10","bb":[27,42,231,240],"bl":[27,42,240,240]}]},{"words":[{"t":"1","bb":[27,41,250,259],"bl":[27,41,259,259]},{"t":"return","bb":[130,175,250,259],"bl":[130,175,259,259]},{"t":"new","bb":[184,206,252,259],"bl":[184,206,259,259]},{"t":"Response(JSON.","bb":[215,320,240,269],"bl":[215,320,259,259]},{"t":"stringify(response));","bb":[324,482,252,261],"bl":[324,482,259,259]}]},{"words":[{"t":"12","bb":[27,41,269,278],"bl":[27,41,281,281]},{"t":"1","bb":[100,112,268,281],"bl":[100,112,281,280]}]},{"words":[{"t":"13","bb":[27,41,288,297],"bl":[27,41,297,297]}]},{"words":[{"t":"1","bb":[27,42,307,316],"bl":[27,42,316,316]},{"t":"/1","bb":[100,113,306,317],"bl":[100,113,316,316]},{"t":"The","bb":[123,144,306,316],"bl":[123,144,316,316]},{"t":"scheduled","bb":[154,221,306,316],"bl":[154,221,316,316]},{"t":"handler","bb":[231,283,306,316],"bl":[231,283,316,316]},{"t":"is","bb":[292,306,306,316],"bl":[292,306,316,316]},{"t":"invoked","bb":[315,367,306,316],"bl":[315,367,316,316]},{"t":"at","bb":[377,390,307,316],"bl":[377,390,316,316]},{"t":"the","bb":[399,421,306,316],"bl":[399,421,316,316]},{"t":"interval","bb":[431,491,306,316],"bl":[431,491,316,316]},{"t":"set","bb":[500,521,307,316],"bl":[500,521,316,316]},{"t":"in","bb":[531,544,306,316],"bl":[531,544,316,316]},{"t":"our","bb":[554,575,309,316],"bl":[554,575,316,316]},{"t":"wrangler.jsonc's","bb":[584,706,306,319],"bl":[584,706,316,316]}]},{"words":[{"t":"15","bb":[27,41,326,335],"bl":[27,41,335,335]},{"t":"/1","bb":[100,113,325,336],"bl":[100,113,335,335]},{"t":"[[triggers]]","bb":[124,212,325,338],"bl":[124,212,335,335]},{"t":"configuration.","bb":[223,327,325,338],"bl":[223,327,335,335]}]},{"words":[{"t":"16","bb":[27,41,345,354],"bl":[27,41,354,354]},{"t":"async","bb":[99,136,347,357],"bl":[99,136,354,354]},{"t":"scheduled(event,","bb":[146,266,344,357],"bl":[146,266,354,354]},{"t":"env,","bb":[277,305,347,356],"bl":[277,305,354,354]},{"t":"ctx):","bb":[315,351,344,357],"bl":[315,351,354,354]},{"t":"Promisecvoids","bb":[361,460,344,354],"bl":[361,460,354,354]},{"t":"{","bb":[469,475,344,357],"bl":[469,475,354,354]}]},{"words":[{"t":"17","bb":[27,41,364,373],"bl":[27,41,373,373]}]},{"words":[{"t":"18","bb":[27,41,383,392],"bl":[27,41,392,392]},{"t":"17","bb":[130,144,382,393],"bl":[130,144,392,392]},{"t":"We'll","bb":[153,190,382,392],"bl":[153,190,392,392]},{"t":"keep","bb":[200,229,382,395],"bl":[200,229,392,392]},{"t":"it","bb":[238,252,382,392],"bl":[238,252,392,392]},{"t":"simple","bb":[262,306,382,395],"bl":[262,306,392,392]},{"t":"and","bb":[315,336,382,392],"bl":[315,336,392,392]},{"t":"make","bb":[346,375,382,392],"bl":[346,375,392,392]},{"t":"an","bb":[384,398,385,392],"bl":[384,398,392,392]},{"t":"APT","bb":[407,429,383,392],"bl":[407,429,392,392]},{"t":"call","bb":[438,467,382,392],"bl":[438,467,392,392]},{"t":"to","bb":[476,491,383,392],"bl":[476,491,392,392]},{"t":"a","bb":[500,506,385,392],"bl":[500,506,392,392]},{"t":"Cloudflare","bb":[515,591,382,392],"bl":[515,591,392,392]},{"t":"APT:","bb":[599,627,383,392],"bl":[599,627,392,392]}]},{"words":[{"t":"19","bb":[27,41,402,411],"bl":[27,41,411,411]},{"t":"let","bb":[130,152,401,411],"bl":[130,152,411,411]},{"t":"resp","bb":[161,191,404,414],"bl":[161,191,411,411]},{"t":"=","bb":[199,206,406,409],"bl":[199,206,411,411]},{"t":"await","bb":[215,252,401,411],"bl":[215,252,411,411]},{"t":"fetch(https://api.cloudflare.com/client/v4/ips’);","bb":[260,644,401,414],"bl":[260,644,411,411]}]},{"words":[{"t":"2","bb":[27,42,421,430],"bl":[27,42,430,430]},{"t":"let","bb":[130,152,420,430],"bl":[130,152,430,430]},{"t":"wasSuccessful","bb":[160,260,420,430],"bl":[160,260,430,430]},{"t":"=","bb":[269,276,425,428],"bl":[269,276,430,430]},{"t":"resp.ok","bb":[284,338,420,433],"bl":[284,338,430,430]},{"t":"?","bb":[346,352,420,430],"bl":[346,352,430,430]},{"t":"‘success’","bb":[364,427,420,430],"bl":[364,427,430,430]},{"t":":","bb":[440,443,423,430],"bl":[440,443,430,430]},{"t":"‘fail’;","bb":[456,505,420,432],"bl":[456,505,430,430]}]},{"words":[{"t":"2","bb":[27,41,440,449],"bl":[27,41,449,449]},{"t":"17","bb":[130,144,439,450],"bl":[130,144,449,449]},{"t":"Tn","bb":[154,167,440,449],"bl":[154,167,449,449]},{"t":"this","bb":[176,205,439,449],"bl":[176,205,449,449]},{"t":"template,","bb":[215,281,439,452],"bl":[215,281,449,449]},{"t":"we'll","bb":[292,329,439,449],"bl":[292,329,449,449]},{"t":"just","bb":[338,367,440,452],"bl":[338,367,449,449]},{"t":"log","bb":[377,399,439,452],"bl":[377,399,449,449]},{"t":"the","bb":[407,429,439,449],"bl":[407,429,449,449]},{"t":"result:","bb":[439,489,439,449],"bl":[439,489,449,449]}]},{"words":[{"t":"2","bb":[27,41,459,468],"bl":[27,41,468,468]},{"t":"console.","bb":[130,283,458,471],"bl":[130,283,468,468]},{"t":"log(\"","bb":[193,228,449,478],"bl":[193,228,468,468]},{"t":"trigger","bb":[229,283,458,471],"bl":[229,283,468,468]},{"t":"fired","bb":[292,329,458,468],"bl":[292,329,468,468]},{"t":"at","bb":[338,352,459,468],"bl":[338,352,468,468]},{"t":"${event.cron}:","bb":[361,466,458,471],"bl":[361,466,468,468]},{"t":"${wasSuccessful}’);","bb":[476,620,458,471],"bl":[476,620,468,468]}]},{"words":[{"t":"2","bb":[27,41,478,487],"bl":[27,41,490,490]},{"t":"1","bb":[100,112,477,490],"bl":[100,112,490,489]}]},{"words":[{"t":"24}","bb":[27,75,496,509],"bl":[27,75,506,506]},{"t":"satisfies","bb":[84,152,496,506],"bl":[84,152,506,506]},{"t":"ExportedHandler<Env>;","bb":[161,320,496,509],"bl":[161,320,506,506]}]}]
ocr_status: 2
ocr_error: 
ocr_driver_id: 1
type_: 4