release v1.2.6

This commit is contained in:
josc146 2023-06-21 00:46:57 +08:00
parent f998ff239a
commit 25a41e51b3
4 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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": "本地"
}

View File

@ -197,8 +197,8 @@ export const Settings: FC = observer(() => {
});
}
}}>
<Option value="">{t('Localhost')!}</Option>
<Option value="https://api.openai.com">OpenAI</Option>
<Option value="">Clear</Option>
</Dropdown>
</div>
} />