Laisky.Cai
f56a469199
Merge remote-tracking branch 'origin/upstream/main'
2024-05-25 13:20:54 +00: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
Laisky.Cai
ca23dd9a97
Merge commit '1c2654320e5b6268b13b6efca40ce37a523d032b'
2024-04-28 01:53:31 +00:00
JustSong
007906216d
feat: support DeepL's model ( close #1126 )
2024-04-27 13:37:22 +08:00
JustSong
e64e7707a0
feat: support cohere's web search
2024-04-27 00:06:43 +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
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
Laisky.Cai
7047d9605e
Merge commit '3d149fedf45472eff92910324974c762fc37dad6'
2024-04-21 15:05:13 +00:00
JustSong
b2679cca65
fix: fix preview completion ratio ( close #1326 )
2024-04-21 15:57:01 +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
Laisky.Cai
c735b9b4d3
Merge commit '2369025842b828ac38f4427fd1ebab8d03b1fe7f'
2024-04-20 01:07:29 +00:00
Laisky.Cai
b638a2fcbd
Merge commit '7bf61f916504097ac23efb765b938d8f94c342ce'
2024-04-17 05:18:58 +00:00
JustSong
a10232f43a
feat: add gpt-4-turbo support ( close #1304 )
2024-04-13 11:39:31 +08:00
Laisky.Cai
9cb3a06dd5
Merge commit 'af543ab8ecb6827cbbc151c2cff181cdc3286274'
2024-04-08 01:13:00 +00:00
Laisky.Cai
50bab08496
Refactor codebase, introduce relaymode package, update constants and improve consistency
...
- Refactor constant definitions and organization
- Clean up package level variables and functions
- Introduce new `relaymode` and `apitype` packages for constant definitions
- Refactor and simplify code in several packages including `openai`, `relay/channel/baidu`, `relay/util`, `relay/controller`, `relay/channeltype`
- Add helper functions in `relay/channeltype` package to convert channel type constants to corresponding API type constants
- Remove deprecated functions such as `ResponseText2Usage` from `relay/channel/openai/helper.go`
- Modify code in `relay/util/validation.go` and related files to use new `validator.ValidateTextRequest` function
- Rename `util` package to `relaymode` and update related imports in several packages
2024-04-06 05:18:04 +00:00
JustSong
572fc9ffb8
fix: fix stepfun model ratio & id
2024-04-06 10:43:54 +08:00
JustSong
8f4d78e24d
chore: reorganize billing related package
2024-04-06 01:26:48 +08:00