mirror of
https://github.com/katanemo/plano.git
synced 2026-07-14 16:22:12 +02:00
Send back developer error correctly
This commit is contained in:
parent
6cd05572c4
commit
b18c8d313c
3 changed files with 32 additions and 12 deletions
|
|
@ -335,8 +335,8 @@ impl HttpContext for LlmGatewayStreamContext {
|
|||
Ok(de) => de,
|
||||
Err(e) => {
|
||||
debug!("invalid response: {}", String::from_utf8_lossy(&body));
|
||||
self.send_server_error(ServerError::Deserialization(e), None);
|
||||
return Action::Pause;
|
||||
// self.send_server_error(ServerError::Deserialization(e), None);
|
||||
return Action::Continue;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue