Laisky.Cai
f56a469199
Merge remote-tracking branch 'origin/upstream/main'
2024-05-25 13:20:54 +00:00
JustSong
0acee9a065
fix: fix berry error ( close #1445 )
2024-05-22 01:00:00 +08:00
JustSong
f965469e8a
chore: update dependencies version
2024-05-22 00:52:23 +08:00
JustSong
03ea60532a
fix: fix html lang attribute ( close #1433 )
2024-05-21 01:20:37 +08:00
Qiying Wang
2457d00afb
feat: support gpt-4o ( #1431 )
2024-05-21 01:14:22 +08:00
Laisky.Cai
a2e6c86bf3
Merge remote-tracking branch 'origin/upstream/main'
2024-05-14 01:17:53 +00:00
JustSong
91b80ae879
fix: remove extra space
2024-05-07 23:57:34 +08:00
Laisky.Cai
7f0238e64c
Merge remote-tracking branch 'origin/upstream/main'
2024-05-04 00:54:10 +00:00
JustSong
2720e1a358
feat: support minimax's 6.5 models ( close #1395 )
2024-04-30 02:23:14 +08:00
JustSong
71f4403fd5
feat: add together.ai support ( #1298 )
2024-04-30 02:16:53 +08:00
JustSong
1f76c80553
fix: fix aws claude panic ( #1384 )
2024-04-29 22:49:06 +08:00
JustSong
7e027d2bd0
fix: fix minimax prompt & completion tokens is empty ( #1391 )
2024-04-29 22:35:47 +08:00
JustSong
30f373b623
fix: fix usage is empty ( close #1391 )
2024-04-29 22:29:13 +08:00
Laisky.Cai
ca23dd9a97
Merge commit '1c2654320e5b6268b13b6efca40ce37a523d032b'
2024-04-28 01:53:31 +00:00
plusye
1c2654320e
fix: fix getPreConsumedQuota ( #1312 )
2024-04-27 16:07:06 +08:00
caixinjiang
6cffb116b7
fix: fix zhipu embedding error when input is array but not string ( #1306 )
...
* fix zhipu embedding error when input is array but not string
* fix: only use the first one
---------
Co-authored-by: 蔡新疆 <cxj@icc.link>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-27 16:05:14 +08:00
Qiying Wang
a84c7b38b7
fix: claude stream response parse ( #1334 )
2024-04-27 15:58:07 +08:00
tylinux
1bd14af47b
feat: use mapped model name to test ( #1370 )
2024-04-27 15:53:20 +08:00
NongMO
6170b91d1c
feat: support for the ollama vision model ( #1376 )
...
* feat: support for the ollama vision model
`llava` model, pass test
* Update main.go
format code
* chore: remove useless log
---------
Co-authored-by: nongqiqin <nongqiqin@tipdm.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-27 15:47:27 +08:00
JustSong
04b49aa0ec
chore: use StringContent() to convert response to text
2024-04-27 15:41:02 +08:00
Wei Tingjiang
ef88497f25
fix: refactor Gemini adaptor to support streaming content generation ( #1382 )
2024-04-27 15:39:59 +08:00
JustSong
007906216d
feat: support DeepL's model ( close #1126 )
2024-04-27 13:37:22 +08:00
Laisky.Cai
e607a44d53
chore: Update GitHub Actions for cross-platform Docker builds on PRs
...
- Implemented a new GitHub Actions workflow, `pr-check`, for automated Docker image builds on the `master` and `main` branches
- Configured QEMU, Docker Buildx, and Docker Hub authentication within the CI/CD pipeline
- Introduced Docker image builds with cache for improved build performance and reliability
- Established a workflow for pushing built Docker images to Docker Hub
2024-04-27 05:10:58 +00:00
JustSong
e64e7707a0
feat: support cohere's web search
2024-04-27 00:06:43 +08:00
JustSong
ea210b6ed7
chore: update ollama models
2024-04-26 23:12:39 +08:00
JustSong
9026ec7510
feat: support cloudflare now
2024-04-26 23:05:48 +08:00
Laisky.Cai
e1ce7c1141
Merge commit 'c3178720975ee0b2767bc3b0ad98cfc533f22b6d'
2024-04-26 13:01:12 +00:00
JustSong
c317872097
feat: support deepseek now
2024-04-26 00:48:53 +08:00
Laisky.Cai
a516d5eadd
Merge commit 'da0842272ced7bee05a8f43c40a7a8c01b14d09a'
2024-04-25 03:04:12 +00:00
Laisky.Cai
425059f5c6
feat: support openai images edits api
2024-04-25 03:02:20 +00:00
JustSong
da0842272c
fix: add model to response ( close #1362 )
2024-04-24 22:19:58 +08:00
JustSong
0a650b85b4
chore: update berry
2024-04-24 22:08:47 +08:00
Ghostz
24f026d18e
feat: add cohere support ( #1355 )
...
* support cohere
* chore: tiny improvements
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-24 21:50:01 +08:00
tylinux
cb33e8aad5
fix: fix default theme blank screen when edit channel again ( #1363 )
...
* fix: throw exception after submit channel edit
* fix: replace with destructuring assignment
2024-04-24 21:29:48 +08:00
Wei Tingjiang
779b747e9e
feat: add function and tools support for Gemini ( #1358 )
...
* Update model.go
* Support Gemini tool_calls.
* Fix gemini tool calls (also keep support functions).
* Fixed the problem of arguments not being stringified.
Fix panic: candidate.Content.Parts out of range
2024-04-24 21:26:45 +08:00
Laisky.Cai
84a6817314
feat: able to fetch every request's cost
2024-04-23 00:58:25 +00:00
Laisky.Cai
7047d9605e
Merge commit '3d149fedf45472eff92910324974c762fc37dad6'
2024-04-21 15:05:13 +00:00
JustSong
3d149fedf4
chore: do not hardcode context key
2024-04-21 19:43:23 +08:00
JustSong
83517f687c
chore: move config key to package ctxkey
2024-04-21 18:55:25 +08:00
JustSong
e30ebda0fe
chore: move config key to package ctxkey
2024-04-21 18:55:13 +08:00
JustSong
d87c55f542
chore: render unknown channel type
2024-04-21 18:54:35 +08:00
JustSong
e5b3e37c46
feat: support bot prefix for coze
2024-04-21 18:04:56 +08:00
JustSong
8de489cf06
feat: support coze now
2024-04-21 17:59:57 +08:00
JustSong
d14e4aa01b
fix: key is wrongly updated
2024-04-21 17:38:39 +08:00
JustSong
541182102e
fix: ignore empty choice response for azure ( close #1324 )
2024-04-21 16:22:28 +08:00
JustSong
b2679cca65
fix: fix preview completion ratio ( close #1326 )
2024-04-21 15:57:01 +08:00
JustSong
8572fac7a2
fix: add back chat dropdown item for chatgpt next web ( close #1330 )
2024-04-21 15:50:35 +08:00
tylinux
a2a00dfbc3
feat: groq support Llama3 now ( #1333 )
...
* feat: groq support Llama3 now
* fix: update model ratio
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-21 14:53:03 +08:00
JustSong
129282f4a9
fix: fix wrong log type
2024-04-21 14:36:48 +08:00
Laisky.Cai
a873cbd392
fix: logger race ( #1339 )
...
- Refactor logger using sync.Once to improve performance
- Initiate log setup in a goroutine to prevent blocking
- Integrate gin.DefaultErrorWriter and gin.DefaultWriter for logging
- Introduce request ID generation for better request tracking
- Simplify setup logic by removing redundant variables and code
2024-04-21 14:35:51 +08:00