change read_timeout and implement x-request-timeout for Bricks

This commit is contained in:
LeonOstrez
2024-11-11 22:26:37 +01:00
parent e23969b0ca
commit 5a1e42cc50
2 changed files with 5 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ class ProviderConfig(_StrictModel):
ge=0.0,
)
read_timeout: float = Field(
default=20.0,
default=60.0,
description="Timeout (in seconds) for receiving a new chunk of data from the response stream",
ge=0.0,
)
@@ -156,7 +156,7 @@ class LLMConfig(_StrictModel):
ge=0.0,
)
read_timeout: float = Field(
default=20.0,
default=60.0,
description="Timeout (in seconds) for receiving a new chunk of data from the response stream",
ge=0.0,
)