mirror of
https://github.com/katanemo/plano.git
synced 2026-05-07 14:52:42 +02:00
bug fix - allow image content to pass through (#539)
fixes https://github.com/katanemo/archgw/issues/535
This commit is contained in:
parent
92a425facd
commit
04c7e5a175
3 changed files with 69 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ pub async fn chat_completions(
|
|||
|
||||
let chat_request_bytes = request.collect().await?.to_bytes();
|
||||
|
||||
debug!("Received request body (raw utf8): {}", String::from_utf8_lossy(&chat_request_bytes));
|
||||
|
||||
let chat_request_parsed = serde_json::from_slice::<serde_json::Value>(&chat_request_bytes)
|
||||
.inspect_err(|err| {
|
||||
warn!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue