Laisky.Cai
2ba2503874
Merge branch 'patch/o3-mini'
2025-02-01 13:26:59 +00:00
Laisky.Cai
790e1e9f5b
feat: extend support for o3 models and update model ratios
2025-02-01 13:25:47 +00:00
Laisky.Cai
0e19d60769
feat: extend support for o3 models and update model ratios
2025-02-01 11:44:04 +00:00
Laisky.Cai
303ab407d0
fix: update repository links
2025-01-26 12:29:20 +00:00
Laisky.Cai
a46b94d4c5
feat: only allow gpt-audio stream mode when EnforceIncludeUsage is true
2025-01-26 08:21:51 +00:00
Laisky.Cai
1ea322f371
fix: update OpenAI adaptor to set default temperature and clarify model limitations
2025-01-24 13:41:00 +00:00
Laisky.Cai
9730ac3bb5
feat: support gpt-4o-audio
2025-01-14 06:38:07 +00:00
Laisky.Cai
feacea0321
feat: support vertex imagen3
2025-01-12 04:18:57 +00:00
Laisky.Cai
73a928f970
fix: update comments for o1 model handling
2025-01-05 02:42:37 +00:00
Laisky.Cai
09bfd61f2e
refactor: replace Laisky/errors with pkg/errors for improved error handling
2024-12-20 03:06:09 +00:00
Laisky.Cai
79257420a8
fix: update request handling to enforce usage inclusion and remove unused import
2024-11-27 06:25:15 +00:00
Laisky.Cai
988a054178
fix: remove unused slices import from adaptor.go
2024-11-27 06:16:53 +00:00
Laisky.Cai
5449190b8e
fix: implement handling for o1-mini and o1-preview models to disable system prompt and max_tokens
2024-11-27 06:11:34 +00:00
Laisky.Cai
2e5e6faad7
Merge remote-tracking branch 'origin/upstream/main'
2024-10-29 01:15:54 +00:00
JustSong
f75a17f8eb
feat: always return usage in stream mode
2024-10-27 17:58:44 +08:00
Laisky.Cai
f9417d32e1
Merge remote-tracking branch 'origin/upstream/main'
2024-07-09 06:28:06 +00:00
Jason
e090e76c86
feat: add Novita AI as model provider ( #1609 )
2024-07-06 13:16:46 +08:00
Laisky.Cai
91ec8b92f0
Merge remote-tracking branch 'origin/upstream/main'
2024-06-09 13:39:05 +00:00
取梦为饮
98669d5d48
feat: add support for bytedance's doubao ( #1438 )
...
* 增加豆包大模型支持
* chore: update channel options & add prompt
---------
Co-authored-by: 康龙彪 <longbiao.kang@i-tudou.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-06-08 13:26:26 +08:00
Laisky.Cai
c524e60d9f
Merge remote-tracking branch 'origin/upstream/main'
2024-05-29 06:12:37 +00:00
Laisky.Cai
7f0238e64c
Merge remote-tracking branch 'origin/upstream/main'
2024-05-04 00:54:10 +00: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
JustSong
9026ec7510
feat: support cloudflare now
2024-04-26 23:05:48 +08:00
Laisky.Cai
425059f5c6
feat: support openai images edits api
2024-04-25 03:02:20 +00:00
Laisky.Cai
c735b9b4d3
Merge commit '2369025842b828ac38f4427fd1ebab8d03b1fe7f'
2024-04-20 01:07:29 +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
f586ae0ad8
chore: remove helper & util subpackage for relay
2024-04-06 01:50:12 +08:00
JustSong
24ed170e7b
chore: reorganize adaptor related package
2024-04-06 01:36:48 +08:00