Yanyutin753
02a918b149
fix only extract and record the most critical part.
...
Because sometimes when certain models transfer files, the error information here becomes too long, leading to very large log sizes. Therefore, I hope that only the most critical parts are extracted and recorded when an error is logged here.
2024-03-16 17:35:37 +08:00
majian
205aba694f
chore: limit the temperature and top_p parameter value range to (0.0, 1) for zhipu ( #1091 )
2024-03-16 13:39:30 +08:00
Jguobao
66efabd5ae
fix: fix baidu url check ( #1143 )
...
添加百度的另外3个向量模型【"bge-large-zh",
"bge-large-en",
"tao-8k",
】
2024-03-14 23:31:07 +08:00
JustSong
b169173860
fix: force set Accept header for ali stream request ( close #1151 )
2024-03-14 23:20:38 +08:00
JustSong
e3767cbb07
fix: fix haiku model name ( close #1149 )
2024-03-14 23:13:05 +08:00
JustSong
be9eb59fbb
feat: support lingyiwanwu
2024-03-14 23:11:36 +08:00
JustSong
2dcef85285
feat: support ollama now ( close #870 )
2024-03-14 01:02:47 +08:00
JustSong
79d0cd378a
fix: fix baidu system prompt ( close #1079 )
2024-03-13 22:56:54 +08:00
sparanoid
a45fc7d736
fix: model name typo ( #1109 )
2024-03-11 00:44:49 +08:00
JustSong
2346bf70af
fix: check response type when expect stream response
2024-03-10 14:59:40 +08:00
JustSong
f05b403ca5
feat: use real system prompt now ( close #1079 )
2024-03-10 14:32:30 +08:00
JustSong
b33616df44
feat: support groq now ( close #1087 )
2024-03-10 14:09:44 +08:00
JustSong
bf2e26a48f
feat: support claude-3 ( close #1080 , close #1094 )
2024-03-09 01:12:47 +08:00
momomobinx
4fb22ad4ce
feat: support third part models of baidu ( #1046 )
...
百度千帆平台上的第三方大模型调用
2024-03-03 23:50:28 +08:00
JustSong
c6ace985c2
fix: set missing ali parameters ( close #1028 )
2024-03-03 22:51:01 +08:00
JustSong
9d8967f7d3
feat: support Mistral's models now ( close #1051 )
2024-03-03 21:46:45 +08:00
JustSong
b35f3523d3
feat: add gemini model alias ( close #1064 )
2024-03-03 21:03:04 +08:00
JustSong
1d0b7fb5ae
feat: support chatglm-4 ( close #1045 , close #952 , close #952 , close #943 )
2024-03-02 03:05:25 +08:00
JustSong
df1fd9aa81
feat: support minimax's models now ( close #354 )
2024-03-02 01:24:28 +08:00
JustSong
614c2e0442
feat: support baichuan's models now ( close #1057 )
2024-03-02 00:55:48 +08:00
JustSong
6b27d6659a
fix: add role for ChatCompletionsStreamResponseChoice.Delta
2024-02-25 19:49:22 +08:00
JustSong
dc5b781191
fix: fix stream response id
2024-02-25 19:47:59 +08:00
JustSong
c880b4a9a3
fix: fix missing index in ChatCompletionsStreamResponseChoice ( #1037 )
2024-02-25 19:17:37 +08:00
JustSong
6cf5ce9a7a
fix: fix SparkDesk model name
2024-02-18 17:11:16 +08:00
JustSong
f598b9df87
feat: add new SparkDesk models
2024-02-18 17:02:36 +08:00
JustSong
2acc2f5017
feat: support moonshot now ( close #804 )
2024-02-18 16:17:19 +08:00
JustSong
604ac56305
fix: set seed parameter for qwen ( close #1005 )
2024-02-18 15:01:09 +08:00
JustSong
9383b638a6
feat: add ChatPro & ChatStd for tencent ( #1010 )
2024-02-18 14:40:01 +08:00
JustSong
de9a58ca0b
refactor: use config field to save config
2024-02-18 02:22:50 +08:00
JustSong
1aa374ccfb
refactor: use adaptor to do relay & test
2024-02-18 00:15:31 +08:00
Laisky.Cai
d548a01c59
feat: Handle errors, validate model names, and calculate quota usage ( #978 )
...
- Improved error handling in various modules for better stability and responsiveness.
- Optimized code in several files for improved efficiency and readability.
- Enhanced user experience by providing more detailed error responses in the controller.
- Strengthened security by ignoring sensitive files in `.gitignore`.
2024-02-12 21:35:40 +08:00
JustSong
2cd1a78203
chore: update module name
2024-01-28 19:38:58 +08:00
JustSong
2d760d4a01
refactor: refactor relay part ( #957 )
...
* refactor: refactor relay part
* refactor: refactor config part
2024-01-21 23:21:42 +08:00
JustSong
eed9f5fdf0
refactor: refactor relay part ( #935 )
2024-01-14 19:21:03 +08:00