diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dd145f..0b0f80b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,7 @@ jobs: with: go-version: '1.20.5' - run: | + sudo apt-get update sudo apt-get install upx sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev go install github.com/wailsapp/wails/v2/cmd/wails@latest diff --git a/CURRENT_CHANGE.md b/CURRENT_CHANGE.md index 916be4f..30c4d75 100644 --- a/CURRENT_CHANGE.md +++ b/CURRENT_CHANGE.md @@ -1,9 +1,8 @@ ## Changes -- add usage and exact model name to API -- embeddings API compatible with openai api and langchain (sdk) -- update manifest -- refactor and chore +- add DPI Scaling setting +- allow custom api url, key, model +- add chat and completion error messages ## Install diff --git a/frontend/src/_locales/zh-hans/main.json b/frontend/src/_locales/zh-hans/main.json index 0d76584..07462ae 100644 --- a/frontend/src/_locales/zh-hans/main.json +++ b/frontend/src/_locales/zh-hans/main.json @@ -153,5 +153,6 @@ "Restart the app to apply DPI Scaling.": "重启应用以使显示缩放生效", "Restart": "重启", "API Chat Model Name": "API聊天模型名", - "API Completion Model Name": "API补全模型名" + "API Completion Model Name": "API补全模型名", + "Localhost": "本地" } \ No newline at end of file diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index 0345ce3..b6ad520 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -197,8 +197,8 @@ export const Settings: FC = observer(() => { }); } }}> + - } />