We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735978b commit 50f5238Copy full SHA for 50f5238
libs/client-api/src/http_chat.rs
@@ -183,7 +183,7 @@ impl Client {
183
let resp = self
184
.http_client_with_auth(Method::POST, &url)
185
.await?
186
- .timeout(Duration::from_secs(30))
+ .timeout(Duration::from_secs(60))
187
.json(&query)
188
.send()
189
.await?;
@@ -446,7 +446,10 @@ impl Stream for QuestionStream {
446
Poll::Ready(None)
447
},
448
449
- Some(Err(err)) => Poll::Ready(Some(Err(err))),
+ Some(Err(err)) => {
450
+ error!("Error while streaming answer: {:?}", err);
451
+ Poll::Ready(None)
452
+ },
453
None => Poll::Ready(None),
454
}
455
0 commit comments