From af5d54f1ce0e94cd518c6ed3ee2cacb091260f35 Mon Sep 17 00:00:00 2001 From: hibobmaster <32976627+hibobmaster@users.noreply.github.com> Date: Sat, 23 Dec 2023 22:37:36 +0800 Subject: [PATCH] v1.3.0 --- CHANGELOG.md | 3 +++ full-config.json.example | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2f9d93..ffb3bb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## v1.3.0 +- Fix localai v2.0+ image generation +- Support specific output image format(jpeg, png) and size ## v1.2.0 - support sending typing state diff --git a/full-config.json.example b/full-config.json.example index d964c3a..cdbff48 100644 --- a/full-config.json.example +++ b/full-config.json.example @@ -3,7 +3,7 @@ "email": "bot@hibobmaster.com", "username": "@bot", "password": "SfBKY%K7*e&a%ZX$3g@Am&jQ", - "port": "8065", + "port": 8065, "scheme": "http", "openai_api_key": "xxxxxxxxxxxxxxxxxxxxxxxx", "gpt_api_endpoint": "https://api.openai.com/v1/chat/completions", @@ -18,6 +18,6 @@ "image_generation_endpoint": "http://localai:8080/v1/images/generations", "image_generation_backend": "localai", "image_generation_size": "512x512", - "image_format": "webp", + "image_format": "jpeg", "timeout": 120.0 }