byte911
88acc5a614
fix: return the usage info if not null ( #1792 )
...
Usage is missing.
2024-09-22 16:41:10 +08:00
lihangfu
32f90a79a8
feat: support SparkDesk-v3.1-128K ( #1732 )
...
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
---------
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-09-22 16:29:09 +08:00
TAKO
649ecbf29c
feat: support new openai models (4o 0806, chatgpt-4o-latest) ( #1721 )
...
* feat: support new model gpt-4o-2024-08-06
* feat: support new model chatgpt-4o-latest
2024-09-21 23:01:19 +08:00
forrestlinfeng
c9ac670ba1
feat: update stepfun models ( #1740 )
...
Co-authored-by: chenlinfeng <chenlinfeng@step.ai>
2024-09-21 22:48:46 +08:00
leavegee
15f815c23c
fix: fix ali embedding model always use v1 ( #1747 )
...
* fix:ali embedding model: v2 and v3
* chore: use ctxkey.RequestModel to eliminate hardcoding
---------
Co-authored-by: xuejia <gexuejia@djbx.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-21 22:40:06 +08:00
majian
89b63ca96f
feat: ResponseFormat support json_schema ( #1759 )
...
* feat: responseFormat support json_schema
* chore: rename struct name
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-21 22:35:24 +08:00
TAKO
2af6f6a166
feat: add Cloudflare New Free Model Llama 3.1 8b ( #1703 )
2024-08-06 23:49:48 +08:00
MotorBottle
04bb3ef392
feat: add Max Tokens and Context Window Setting Options for Ollama Channel ( #1694 )
...
* Update main.go with max_tokens param
* Update model.go with max_tokens param
* Update model.go
* Update main.go
* Update main.go
* Adds num_ctx param for Ollama Channel
* Added num_ctx param for ollama adapter
* Added num_ctx param for ollama adapter
* Improved data process logic
2024-08-06 23:44:37 +08:00
longkeyy
b4bfa418a8
feat: update gemini model and price ( #1705 )
2024-08-06 23:43:33 +08:00
SLKun
e7e99e558a
feat: update Ollama embedding API to latest version with multi-text embedding support ( #1715 )
2024-08-06 23:43:20 +08:00
Shenghang Tsai
402fcf7f79
feat: add SiliconFlow ( #1717 )
...
* Add SiliconFlow
* Update README.md
* Update README.md
* Update channel.constants.js
* Update ChannelConstants.js
* Update channel.constants.js
* Update ChannelConstants.js
* Update compatible.go
* Update README.md
2024-08-06 23:42:25 +08:00
Laisky.Cai
c936198ac8
feat: add Proxy channel type and relay mode ( #1678 )
...
Add the Proxy channel type and relay mode to support proxying requests to custom upstream services.
2024-07-22 22:51:19 +08:00
TAKO
296ab013b8
feat: support gpt-4o mini ( #1665 )
...
* feat: support gpt-4o mini
* feat: fix gpt-4o mini image price
2024-07-22 22:44:08 +08:00
igophper
39383e5532
fix: support embedding models for doubao ( #1662 )
...
Fixes #1594
2024-07-22 22:38:50 +08:00
Laisky.Cai
adba54acd3
fix: implement improved headers for anthropic to support 8k outputs ( #1654 )
2024-07-16 23:48:54 +08:00
zijiren
6209ff9ea9
feat: vertexai support proxy url(example: cloudflare ai gateway) and fix some vertexai bug ( #1642 )
...
* feat: vertexai support proxy url(example: cloudflare ai gateway)
* fix: do resp model mapping
* fix: missing system
* fix: stream need query alt=sse
2024-07-16 01:02:06 +08:00
F1ynn Zhan9
422a4e8ee5
feat: add field stop in GeneralOpenAIRequest ( #1637 )
2024-07-14 17:57:16 +08:00
LiuVaayne
cf9b5f0b92
feat: support claude and gemini in vertex ai ( #1621 )
...
* feat: support claude and gemini in vertex ai
* fix: do not show api key field in channel page when the type is VertexAI
* fix: update getToken function to include channelId in cache key
2024-07-13 14:59:28 +08:00
Ghostz
65acb94f45
fix: text filed check for 4v request ( #1634 )
2024-07-13 14:57:08 +08:00
zijiren
6ad169975f
fix: impl cloudflare worker ai gateway ( #1617 )
2024-07-09 22:57:06 +08:00
Qiying Wang
f636c50c84
fix: duplicate [DONE] ( #1629 )
2024-07-09 22:43:59 +08:00
Qiying Wang
720fe2dfeb
feat: refactor AwsClaude to Aws to support both llama3 and claude ( #1601 )
...
* feat: refactor AwsClaude to Aws to support both llama3 and claude
* fix: aws llama3 ratio
2024-07-06 13:19:41 +08:00
Jason
e090e76c86
feat: add Novita AI as model provider ( #1609 )
2024-07-06 13:16:46 +08:00
zijiren
efd30a40b3
feat: cloudflare support native openai api ( #1596 )
2024-07-06 13:12:30 +08:00
Mikey
0fc07ea558
feat: add support for Claude 3 tool use (function calling) ( #1587 )
...
* feat: add tool support for AWS & Claude
* fix: add {} for openai compatibility in streaming tool_use
2024-07-02 00:12:01 +08:00
igophper
fecaece71b
fix: fix size not support during image generation ( #1564 )
...
Fixes #1224 , #1068
2024-06-30 19:52:33 +08:00
Shi Jilin
c135d74f13
feat: support Spark4.0 Ultra ( #1575 )
...
* fix: fix SparkDesk Function Call (修复 Spark Pro/Max函数调用只会返回普通对话回答而不是Function Call回答的问题
* feat: support Spark4.0 Ultra
2024-06-30 19:38:02 +08:00
lihangfu
d0369b114f
feat: support spark4.0 ultra ( #1569 )
...
* feat: 支持v3最新协议的腾讯混元(#1452)
* feat: 支持Spark4.0 Ultra
---------
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-06-30 19:37:07 +08:00
zijiren
b21b3b5b46
refactor: abusing goroutines and channel ( #1561 )
...
* refactor: abusing goroutines
* fix: trim data prefix
* refactor: move functions to render package
* refactor: add back trim & flush
---------
Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-06-30 18:36:33 +08:00
shaoyun
ae1cd29f94
feat: added support for Claude Sonnet 3.5 ( #1567 )
2024-06-30 16:25:25 +08:00
Ghostz
5a58426859
fix minimax empty log ( #1560 )
2024-06-30 16:09:16 +08:00
JustSong
3777517f64
chore: add ut
2024-06-23 14:28:55 +08:00
Shi Jilin
ff196b75a7
fix: fix sparkdesk function call
2024-06-20 22:56:59 +08:00
lihangfu
279caf82dc
feat: support tencent v3 api ( #1542 )
...
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-06-20 00:23:08 +08:00
Wei Tingjiang
b1520b308b
Try to fix Gemini streaming return being truncated by FinishReason. ( #1477 )
...
1
2024-06-14 00:30:47 +08:00
Zhong Liu
c1971870fa
fix: support for Spark Lite model ( #1526 )
...
* fix: Support for Spark Lite model
* fix: fix panic
* fix: fix xunfei version config
---------
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-06-13 00:07:26 +08:00
wagxuebing
f83894c83f
fix: xunfei interface call 4001 error ( #1499 )
...
Co-authored-by: lynnssb <lynntobing@gmail.com>
2024-06-12 23:12:58 +08:00
fxsome
e9981fff36
feat: post all messages for cloudflare ( #1515 )
2024-06-08 13:34:23 +08: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
Wei Tingjiang
9321427c6e
feat: support gemini embeddings (text-embedding-004,embedding-001) ( #1475 )
...
* Refactor Gemini Adaptor to Support Embeddings
* Add new models to ModelList
2024-05-29 01:17:32 +08:00
JustSong
ceea4c6d4a
feat: support user content download proxy & relay proxy now
2024-05-29 01:14:00 +08:00
Mo
332c8db0b3
fix: add prefixes to image models to solve the problem of duplicate models ( #1469 )
...
* Add prefixes to image models to solve the problem of duplicate models
* Fix the issue that response_format is not set, causing the b64_json parameter to be ignored.
2024-05-28 01:32:57 +08:00
Dafei Zhao
a9211d66f6
fix: fix gpt-4o token encoding ( #1446 )
2024-05-28 01:26:07 +08:00
Qiying Wang
2457d00afb
feat: support gpt-4o ( #1431 )
2024-05-21 01:14:22 +08:00
JustSong
91b80ae879
fix: remove extra space
2024-05-07 23:57:34 +08: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