Add .har file support for OpenaiChat

Update model list of HuggingChat
Update styles of scrollbar in gui
Fix image upload in gui
This commit is contained in:
Heiner Lohaus 2024-03-25 21:06:51 +01:00
parent bf82352a3b
commit 347d3f92da
9 changed files with 235 additions and 69 deletions

View file

@ -955,7 +955,7 @@ async function api(ressource, args=null, file=null) {
}
const url = `/backend-api/v2/${ressource}`;
if (ressource == "conversation") {
const body = JSON.stringify(args);
let body = JSON.stringify(args);
const headers = {
accept: 'text/event-stream'
}