640 [6].png

id: d24de46165e64044b6a197b31413febb
mime: image/png
filename: 
created_time: 2025-11-28T16:55:25.186Z
updated_time: 2025-11-30T13:34:20.265Z
user_created_time: 2025-11-28T16:55:25.186Z
user_updated_time: 2025-11-30T13:34:20.265Z
file_extension: png
encryption_cipher_text: 
encryption_applied: 0
encryption_blob_encrypted: 0
size: 49718
is_shared: 0
share_id: 
master_key_id: 
user_data: 
blob_updated_time: 1764348925186
ocr_text: 1 export interface Env {\n2 AT: Af;\n\n\n5 export default {\n6 async fetch(request, env): PromisecResponse> {\n7 const response = await env.AL.run("@cf/deepseek-ai/deepseek-r1-distill-quen-32b", {\n\n10\nn 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): Promisecvoid> [f\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’);\n20 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}’);|\n23 i\n24} satisfies ExportedHandler<Env>;\n25
ocr_details: [{"words":[{"t":"1","bb":[13,19,4,13],"bl":[13,19,13,13]},{"t":"export","bb":[46,91,4,16],"bl":[46,91,13,13]},{"t":"interface","bb":[101,168,3,13],"bl":[101,168,13,13]},{"t":"Env","bb":[178,200,4,13],"bl":[178,200,13,13]},{"t":"{","bb":[208,215,3,16],"bl":[208,215,13,13]}]},{"words":[{"t":"2","bb":[13,19,23,32],"bl":[13,19,32,32]},{"t":"AT:","bb":[61,82,23,32],"bl":[61,82,32,32]},{"t":"Af;","bb":[92,113,22,34],"bl":[92,113,32,33]}]},{"words":[{"t":"5","bb":[13,19,80,89],"bl":[13,19,89,89]},{"t":"export","bb":[46,91,80,92],"bl":[46,91,89,89]},{"t":"default","bb":[100,153,79,89],"bl":[100,153,89,89]},{"t":"{","bb":[162,168,79,92],"bl":[162,168,89,89]}]},{"words":[{"t":"6","bb":[13,19,99,108],"bl":[13,19,108,108]},{"t":"async","bb":[77,114,101,111],"bl":[77,114,108,108]},{"t":"fetch(request,","bb":[123,229,98,111],"bl":[123,229,108,108]},{"t":"env):","bb":[239,275,98,111],"bl":[239,275,108,108]},{"t":"PromisecResponse>","bb":[285,415,98,111],"bl":[285,415,108,108]},{"t":"{","bb":[424,430,98,111],"bl":[424,430,108,108]}]},{"words":[{"t":"7","bb":[13,19,118,127],"bl":[13,19,127,127]},{"t":"const","bb":[108,145,118,127],"bl":[108,145,127,127]},{"t":"response","bb":[155,215,120,130],"bl":[155,215,127,127]},{"t":"=","bb":[223,230,122,125],"bl":[223,230,127,127]},{"t":"await","bb":[239,276,117,127],"bl":[239,276,127,127]},{"t":"env.AL.run(\"@cf/deepseek-ai/deepseek-r1-distill-quen-32b\",","bb":[285,729,117,130],"bl":[285,729,127,127]},{"t":"{","bb":[739,746,117,130],"bl":[739,746,127,127]}]},{"words":[{"t":"10","bb":[5,20,175,184],"bl":[5,20,184,184]}]},{"words":[{"t":"n","bb":[5,19,194,203],"bl":[5,19,203,203]},{"t":"return","bb":[108,153,194,203],"bl":[108,153,203,203]},{"t":"new","bb":[162,184,196,203],"bl":[162,184,203,203]},{"t":"Response(JSON.stringify","bb":[194,369,183,213],"bl":[194,369,203,203]},{"t":"(response);","bb":[371,460,196,205],"bl":[371,460,203,203]}]},{"words":[{"t":"12","bb":[5,19,213,222],"bl":[5,19,225,225]},{"t":"1","bb":[78,90,212,225],"bl":[78,90,225,224]}]},{"words":[{"t":"13","bb":[5,19,232,241],"bl":[5,19,241,241]}]},{"words":[{"t":"1","bb":[5,20,251,260],"bl":[5,20,260,260]},{"t":"/1","bb":[78,91,250,261],"bl":[78,91,260,260]},{"t":"The","bb":[101,122,250,260],"bl":[101,122,260,260]},{"t":"scheduled","bb":[132,199,250,260],"bl":[132,199,260,260]},{"t":"handler","bb":[209,261,250,260],"bl":[209,261,260,260]},{"t":"is","bb":[270,284,250,260],"bl":[270,284,260,260]},{"t":"invoked","bb":[293,345,250,260],"bl":[293,345,260,260]},{"t":"at","bb":[355,368,251,260],"bl":[355,368,260,260]},{"t":"the","bb":[377,399,250,260],"bl":[377,399,260,260]},{"t":"interval","bb":[409,469,250,260],"bl":[409,469,260,260]},{"t":"set","bb":[478,499,251,260],"bl":[478,499,260,260]},{"t":"in","bb":[509,522,250,260],"bl":[509,522,260,260]},{"t":"our","bb":[532,553,253,260],"bl":[532,553,260,260]},{"t":"wrangler.jsonc's","bb":[562,684,250,263],"bl":[562,684,260,260]}]},{"words":[{"t":"15","bb":[5,19,270,279],"bl":[5,19,279,279]},{"t":"/1","bb":[78,91,269,280],"bl":[78,91,279,279]},{"t":"[[triggers]]","bb":[102,190,269,282],"bl":[102,190,279,279]},{"t":"configuration.","bb":[201,305,269,282],"bl":[201,305,279,279]}]},{"words":[{"t":"16","bb":[5,19,289,298],"bl":[5,19,298,298]},{"t":"async","bb":[77,114,291,301],"bl":[77,114,298,298]},{"t":"scheduled(event,","bb":[124,244,288,301],"bl":[124,244,298,298]},{"t":"env,","bb":[255,283,291,300],"bl":[255,283,298,298]},{"t":"ctx):","bb":[293,329,288,301],"bl":[293,329,298,298]},{"t":"Promisecvoid>","bb":[339,454,284,303],"bl":[339,454,298,298]},{"t":"[f","bb":[442,458,280,307],"bl":[442,458,298,298]}]},{"words":[{"t":"17","bb":[5,19,308,317],"bl":[5,19,317,317]}]},{"words":[{"t":"18","bb":[5,19,327,336],"bl":[5,19,336,336]},{"t":"17","bb":[108,122,326,337],"bl":[108,122,336,336]},{"t":"We'll","bb":[131,168,326,336],"bl":[131,168,336,336]},{"t":"keep","bb":[178,207,326,339],"bl":[178,207,336,336]},{"t":"it","bb":[216,230,326,336],"bl":[216,230,336,336]},{"t":"simple","bb":[240,284,326,339],"bl":[240,284,336,336]},{"t":"and","bb":[293,314,326,336],"bl":[293,314,336,336]},{"t":"make","bb":[324,353,326,336],"bl":[324,353,336,336]},{"t":"an","bb":[362,376,329,336],"bl":[362,376,336,336]},{"t":"APT","bb":[385,407,327,336],"bl":[385,407,336,336]},{"t":"call","bb":[416,445,326,336],"bl":[416,445,336,336]},{"t":"to","bb":[454,469,327,336],"bl":[454,469,336,336]},{"t":"a","bb":[478,484,329,336],"bl":[478,484,336,336]},{"t":"Cloudflare","bb":[493,569,326,336],"bl":[493,569,336,336]},{"t":"APT:","bb":[577,605,327,336],"bl":[577,605,336,336]}]},{"words":[{"t":"19","bb":[5,19,346,355],"bl":[5,19,355,355]},{"t":"let","bb":[108,130,345,355],"bl":[108,130,355,355]},{"t":"resp","bb":[139,169,348,358],"bl":[139,169,355,355]},{"t":"=","bb":[177,184,350,353],"bl":[177,184,355,355]},{"t":"await","bb":[193,230,345,355],"bl":[193,230,355,355]},{"t":"fetch(https://api.cloudflare.com/client/v4/ips’);","bb":[238,622,345,358],"bl":[238,622,355,355]}]},{"words":[{"t":"20","bb":[5,20,365,374],"bl":[5,20,374,374]},{"t":"let","bb":[108,130,364,374],"bl":[108,130,374,374]},{"t":"wasSuccessful","bb":[138,238,364,374],"bl":[138,238,374,374]},{"t":"=","bb":[247,254,369,372],"bl":[247,254,374,374]},{"t":"resp.ok","bb":[262,316,364,377],"bl":[262,316,374,374]},{"t":"?","bb":[324,330,364,374],"bl":[324,330,374,374]},{"t":"‘success’","bb":[342,405,364,374],"bl":[342,405,374,374]},{"t":":","bb":[418,421,367,374],"bl":[418,421,374,374]},{"t":"‘fail’;","bb":[434,483,364,376],"bl":[434,483,374,374]}]},{"words":[{"t":"2","bb":[5,19,384,393],"bl":[5,19,393,393]},{"t":"17","bb":[108,122,383,394],"bl":[108,122,393,393]},{"t":"Tn","bb":[132,145,384,393],"bl":[132,145,393,393]},{"t":"this","bb":[154,183,383,393],"bl":[154,183,393,393]},{"t":"template,","bb":[193,259,383,396],"bl":[193,259,393,393]},{"t":"we'll","bb":[270,307,383,393],"bl":[270,307,393,393]},{"t":"just","bb":[316,345,384,396],"bl":[316,345,393,393]},{"t":"log","bb":[355,377,383,396],"bl":[355,377,393,393]},{"t":"the","bb":[385,407,383,393],"bl":[385,407,393,393]},{"t":"result:","bb":[417,467,383,393],"bl":[417,467,393,393]}]},{"words":[{"t":"2","bb":[5,20,403,412],"bl":[5,20,412,412]},{"t":"console.","bb":[108,261,402,415],"bl":[108,261,412,412]},{"t":"log(\"","bb":[171,204,392,422],"bl":[171,204,412,412]},{"t":"trigger","bb":[209,261,402,415],"bl":[209,261,412,412]},{"t":"fired","bb":[270,307,402,412],"bl":[270,307,412,412]},{"t":"at","bb":[316,330,403,412],"bl":[316,330,412,412]},{"t":"${event.cron):","bb":[339,444,402,415],"bl":[339,444,412,412]},{"t":"${wassuccessful}’);|","bb":[454,601,398,417],"bl":[454,601,412,412]}]},{"words":[{"t":"23","bb":[5,19,422,431],"bl":[5,19,431,431]},{"t":"i","bb":[78,84,418,431],"bl":[78,84,431,431]}]},{"words":[{"t":"24}","bb":[5,53,440,453],"bl":[5,53,450,450]},{"t":"satisfies","bb":[62,130,440,450],"bl":[62,130,450,450]},{"t":"ExportedHandler<Env>;","bb":[139,298,440,453],"bl":[139,298,450,450]}]},{"words":[{"t":"25","bb":[5,19,460,469],"bl":[5,19,469,469]}]}]
ocr_status: 2
ocr_error: 
ocr_driver_id: 1
type_: 4