File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import { ModelStatus } from "./model-status"
3232import { RuntimeFlags } from "@/effect/runtime-flags"
3333import { ProviderError } from "./error"
3434
35- const OPENAI_HEADER_TIMEOUT_DEFAULT = 10_000
35+ const OPENAI_HEADER_TIMEOUT_DEFAULT = 300_000
3636
3737function wrapSSE ( res : Response , ms : number , ctl : AbortController ) {
3838 if ( typeof ms !== "number" || ms <= 0 ) return res
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ it.live("OpenAI API auth gets default headerTimeout", () =>
162162 Effect . gen ( function * ( ) {
163163 const provider = yield * Provider . Service
164164 const openai = yield * provider . getProvider ( ProviderV2 . ID . openai )
165- expect ( openai . options . headerTimeout ) . toBe ( 10_000 )
165+ expect ( openai . options . headerTimeout ) . toBe ( 300_000 )
166166 } ) ,
167167 )
168168 } ) ,
You can’t perform that action at this time.
0 commit comments