ryanhex53
8e2484fcdf
Refactor: Replace all provider split occurrences with getModelProvider utility method
2024-11-05 13:52:54 +00:00
ryanhex53
b844045d23
Custom model names can include the `@` symbol by itself.
...
To specify the model's provider, append it after the model name using `@` as before.
This format supports cases like `google vertex ai` with a model name like `claude-3-5-sonnet@20240620`.
For instance, `claude-3-5-sonnet@20240620@vertex-ai` will be split by `split(/@(?!.*@)/)` into:
`[ 'claude-3-5-sonnet@20240620', 'vertex-ai' ]`, where the former is the model name and the latter is the custom provider.
2024-11-05 07:44:12 +00:00
lyf
10d472e79e
fix
2024-09-25 14:41:41 +08:00
lyf
a6b920d9af
fix
2024-09-25 14:35:09 +08:00
lyf
248d27680d
fix style
2024-09-25 11:15:00 +08:00
lyf
fe4cba8baf
fix style slect button
2024-09-24 22:25:36 +08:00
Dogtiti
b32d82e6c1
Merge pull request #5426 from skymkmk/pr-summarize-customization
...
feat: summarize model customization
2024-09-14 14:18:25 +08:00
evenwan
84a7afcd94
feat: Improve setting.model selector
2024-09-14 09:31:05 +08:00
skymkmk
93bc2f5870
feat: now user can choose their own summarize model
2024-09-14 07:41:27 +08:00
lyf
14ff46b5cd
解决按钮无障碍
2024-08-07 13:01:08 +08:00
Lloyd Zhou
5b126c7e52
Revert "feat: improve components structure"
2024-07-22 22:18:51 +08:00
Dogtiti
038e6df8f0
feat: improve components structure
2024-07-22 16:02:45 +08:00
lloydzhou
1c20137b0e
support azure deployment name
2024-07-05 19:59:45 +08:00
fred-bf
bca74241e6
fix: fix gemini issue when using app ( #4013 )
...
* chore: update path
* fix: fix google auth logic
* fix: not using header authorization for google api
* chore: revert to allow stream
2024-02-07 13:17:11 +08:00
Fred Liang
7c3dfb7bae
feat: support custom gemini pro params
2023-12-24 17:24:04 +08:00
Fred Liang
778e88cb56
chore: resolve conflict
2023-12-24 02:15:30 +08:00
nanaya
3a654ba199
UI (model selection): hide unavailable model options
2023-11-12 11:18:14 +08:00
Yidadaa
d0a1d910d4
fix : #3186 enable max_tokens in chat payload
2023-11-09 03:19:13 +08:00
Yidadaa
d93f05f511
feat: close #3187 use CUSTOM_MODELS to control model list
2023-11-09 03:01:29 +08:00
Yidadaa
b5ef552c25
feat: improve auto scroll ux and edit model title
2023-08-02 23:35:51 +08:00
imldy
5e361f6748
dev: 增加模型设置项:是否启用注入全局 System Prompt 功能
2023-07-10 18:56:22 +08:00
Yidadaa
09b05cde7f
fix : #2303 should select custom models
2023-07-09 21:56:49 +08:00
Yidadaa
98ac7ee277
feat: close #2303 add custom model name config
2023-07-09 18:15:52 +08:00
Yifei Zhang
38f2495cf6
Merge pull request #2253 from Yidadaa/bugfix-0704
...
feat: close #2192 use /list/models to get model ids
2023-07-04 23:21:32 +08:00
Yidadaa
4131fccbe0
feat: close #2192 use /list/models to get model ids
2023-07-04 23:16:24 +08:00
PaRaD1SE98
0a2af9335c
fix: temperature -> top_p
2023-07-04 02:49:05 +09:00
Yidadaa
823032617d
feat: add top p config
2023-07-04 00:39:54 +08:00
Yidadaa
be597a551d
feat: #close 1789 add user input template
2023-06-24 00:07:46 +08:00
AngelLiang
72cbb156ae
feat: Add frequency_penalty request parameter
2023-06-04 16:05:35 +08:00
simondby
44874fb5e0
fix: typo PresencePenlty -> PresencePenalty
2023-05-16 15:40:43 +08:00
PaRaD1SE98
96e3d3a22c
给所有select元素添加一个右侧下拉按钮
2023-05-10 07:14:49 +00:00
Yidadaa
1b19fdfe11
feat: #1303 improve long text input ux and mobile modal
2023-05-08 22:49:51 +08:00
Yidadaa
ffa7302571
feat: add mask page
2023-04-25 00:49:27 +08:00
Yidadaa
e654cee3c8
fixup: request params
2023-04-23 21:54:18 +08:00
Yidadaa
b23adf9d5d
fixup
2023-04-23 01:37:47 +08:00
Yidadaa
7345639af3
feat: add session config modal
2023-04-23 01:27:15 +08:00