25import{a as _E,b as xE,c as DE,d as Yr,e as He,f as jE,g as ym,h as HE,i as FE,j as GE,l as BE,n as tb,o as nb}from"./chunk-ZCJ5QBVD.js";import{a as Fe}from"./chunk-QGAJTUPE.js";im...
26`)}i(oa,"extractAllText");async function*GH(t,e){let n=Qt(t),o=e.clone().body;if(!o||!n)return;let r=o.getReader(),s=new TextDecoder,a="";try{for(;;){let{done:c,value:u}=await r.re...
⋯
29`).filter(d=>d.startsWith("data:")).map(d=>d.slice(5).trim());if(n.length===0)return null;let o=n.join(`
30`);if(o==="[DONE]")return{raw:"[DONE]",done:!0};let r;try{r=JSON.parse(o)}catch{return{raw:o}}let s=r,a=e==="openai-responses"?s?.response:e==="anthropic-messages"?s?.message:void ...
31`).filter(e=>!e.trim().startsWith("at async file")).map((e,n)=>{let o=e.replaceAll(u1,"").replaceAll(l1,"").