chunk-d33cw7d3.js
Exactly one line exceeds 1000 bytesUses the application/octet-stream MIME type
SHA-2565c4e3a93f7481a859a8c32bc842082a61ac652bc6eacefeccec9b6ad048c25bc
MaleculeH(Db)Md
Evidence
1// @bun @bytecode
2import{xd,GH,Je,rt,$H,gH,Kv,$2,Dce,Xv,cr,ci,WJ,QU,jO,Mo,YU,Jv,Fo,Du,Wo,$e,zo,sH,ki,tk,ok,WE,Yv,VO}from"/$bunfs/root/chunk-sj6twx68.js";import{BJ,MO,yO,jJ,RJ,rce,Hce,Rv,sce,fce,wO,vO,SO,Fv,cce,m5}from"/$bunfs/root/chunk-rnt48b19.js";import{Vt,Lc,o6}from"/$bunfs/root/chunk-5s5mxrq5.js";import{Yu,ie,Xt,hH,n,b,iH,ee,t,o,G,Lt,_,S,X,Ks,nt}from"/$bunfs/root/chunk-we45bwgb.js";import{E,s,L,y,A,Ke}from"/$bunfs/root/chunk-041a2png.js";import{Lo}from"/$bunfs/root/chunk-ag9s1eyp.js";var T="open-responses.websocket.v1",C=1,N=(e)=>{if(e?.protocol!==T||!rt(e.value))return;if(e.value.version!==C)return;if(typeof e.value.responseID!=="string"||e.value.responseID.trim().length===0)return;if(!rt(e.value.request)||!Array.isArray(e.value.output))return;return{version:C,respon …
2:2518… on*(){let c=yield*fce(d).pipe(y((f)=>zo(e.id,`Invalid ${e.name} WebSocket event`,d,f))),l=yield*e.base.observe(a,d);if(c.type==="response.output_item.done"&&c.item)u.push(c.item);if(l.type==="provider-failure"){let f=Q(c);if(f==="previous_response_not_found")return x(l,"re …
2:2817… et_connection_limit_reached")return x(l,"rotate-and-retry-full");if(a.mode==="incremental"&&l.error.reason._tag==="InvalidRequest"&&l.error.reason.classification===void 0)return x(l,"retry-full")}if(l.type!=="completed")return l;if(Array.isArray(r.input)&&r.input.some((f)=>rt(f)&&f. …
2:4991… urn{type:"frame",frame:a}})}},ae=(e)=>{let p=WE.with();return{id:p.id,prepare:(r)=>s(function*(){let i=yield*ok(r),u=Yu(e.headers?.(i.headers)??i.he …
2:8713… ype:"media",media:B(i.file_url===void 0?i.file_data:i.file_url,"application/octet-stream"),filename:i.filename,providerMetadata:i.detail===void 0?void 0:{[r]:{detail:i.detail}}}})})}var B=(e,p)=>Dce(e)??(/^https?:\/\//.test(e)?$2(e,{mediaType:p}):Kv(e,p));
3export{wU,pJ};