mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-19 17:34:59 +00:00
refactor: OpenAI integration (#996)
- Add `OpenAIResponse` to trim the `<think>...</think>` block - Add an `Enable Streaming` option to fix the issue that some services do not support streaming output Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
69d107430a
commit
c3eca0d7fd
6 changed files with 145 additions and 85 deletions
|
@ -462,6 +462,7 @@
|
|||
<x:String x:Key="Text.Preferences.AI.Model" xml:space="preserve">模型</x:String>
|
||||
<x:String x:Key="Text.Preferences.AI.Name" xml:space="preserve">配置名称</x:String>
|
||||
<x:String x:Key="Text.Preferences.AI.Server" xml:space="preserve">服务地址</x:String>
|
||||
<x:String x:Key="Text.Preferences.AI.Streaming" xml:space="preserve">启用流式输出</x:String>
|
||||
<x:String x:Key="Text.Preferences.Appearance" xml:space="preserve">外观配置</x:String>
|
||||
<x:String x:Key="Text.Preferences.Appearance.DefaultFont" xml:space="preserve">缺省字体</x:String>
|
||||
<x:String x:Key="Text.Preferences.Appearance.FontSize" xml:space="preserve">字体大小</x:String>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue