Laisky.Cai
79bd053a0a
Merge branch 'feature/replicate-remix'
2024-12-16 09:28:53 +00:00
Laisky.Cai
f72c715e4c
feat: support image inpainting for flux-fill on replicate
2024-12-16 09:12:24 +00:00
Laisky.Cai
61d5f0eccf
fix: update request URL formatting in Adaptor for proper query string handling
2024-12-15 02:16:56 +00:00
Laisky.Cai
33493aa8b3
fix: resolve race condition in processChannelRelayError and update API version handling for gemini-2.0-flash-exp
2024-12-15 02:06:35 +00:00
Laisky.Cai
c76ac9043d
feat: add support for gemini-2.0-flash-exp model in constants and billing ratio
2024-12-14 01:10:48 +00:00
Laisky.Cai
60ffeb8ef6
Merge branch 'upstream/main'
2024-12-09 12:24:29 +00:00
Laisky.Cai
dce57eb4e7
docs: add support for Replicate in the README
2024-12-08 05:59:46 +00:00
Calcium-Ion
7c8628bd95
feat: support gzip decode ( #1962 )
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-12-04 23:34:24 +08:00
Laisky.Cai
36e99cf6ec
fix: update image request handling to always return one image and improve error logging
2024-11-28 09:15:40 +00:00
Laisky.Cai
ae7117beee
feat: add Replicate adaptor and integrate into channel and API types
2024-11-28 09:04:02 +00:00
Laisky.Cai
3cb1b4fd35
fix: enhance request body handling for OpenAI API type in RelayTextHelper
2024-11-27 06:38:24 +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
26c57f3be6
fix: comment out cache-to option in CI workflow for clarity
2024-11-27 06:02:49 +00:00
Laisky.Cai
95fda50365
feat: add o1-mini model to the ModelList in constants
2024-11-27 06:00:55 +00:00
Laisky.Cai
05c73c6fc3
feat: add new models and update pricing for o1-preview and o1-mini in constants and ratios
2024-11-27 06:00:17 +00:00
Laisky.Cai
1f103202a6
fix: refactor postConsumeQuota function to return quota and update user request cost handling
2024-11-22 03:12:09 +00:00
Laisky.Cai
f322f8029d
fix: enhance token status handling in UpdateToken function with additional cases
2024-11-20 03:02:21 +00:00
Laisky.Cai
0d9c79be35
fix: update Go base image version and enhance token status checks in UpdateToken function
2024-11-20 02:52:09 +00:00
Laisky.Cai
0e335db90c
feat: add remaining quota and status fields to token update
2024-11-20 02:43:41 +00:00
Laisky.Cai
383c1396ff
docs: enhance user interface for improved accessibility and navigation
2024-11-20 02:13:57 +00:00
Laisky.Cai
d097011cd5
feat: improve error handling and update billing model with latest ratio
2024-11-20 02:11:16 +00:00
Laisky.Cai
082cfbe574
Merge remote-tracking branch 'origin/upstream/main'
2024-11-20 02:09:28 +00:00
JustSong
6ab87f8a08
feat: add warning in log when system prompt is reset
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-11-10 17:18:46 +08:00
JustSong
833fa7ad6f
feat: support set system_prompt for theme air & berry
2024-11-10 15:09:02 +08:00
JustSong
6eb0770a89
feat: support set system prompt for channel ( close #1920 )
2024-11-10 14:53:34 +08:00
JustSong
92cd46d64f
feat: able to use ENFORCE_INCLUDE_USAGE to enforce include usage in response
CI / Unit tests (push) Waiting to run
CI / commit_lint (push) Waiting to run
2024-11-10 00:36:08 +08:00
lihangfu
2b2dc2c733
fix: update Spark Lite's domain to lite ( #1896 )
2024-11-09 23:55:55 +08:00
JustSong
a3d7df7f89
feat: update GeneralOpenAIRequest
2024-11-09 23:43:08 +08:00
wanthigh
c368232f50
fix: changeoptional field to pointer type ( #1907 )
...
* fix:修复在渠道配置中设置模型重定向时,temperature为0被忽略的问题
* fix: set optional fields to pointer type
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-11-09 23:31:46 +08:00
Laisky.Cai
cbfc983dc3
feat: add new claude models ( #1910 )
...
* feat: Add new models to ModelList in constants.go
* feat: update model lists and mappings for Claude 3.5 versions
---------
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-11-09 22:48:54 +08:00
Ryo Shen
8ec092ba44
feat: add support for xAI ( #1915 )
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-11-07 23:52:38 +08:00
shaoyun
b0b88a79ff
feat: added support for Claude 3.5 Haiku ( #1912 )
2024-11-07 23:51:17 +08:00
Laisky.Cai
62a8ea9967
feat: Update model lists and mappings for Claude 3.5 versions
2024-11-05 00:50:18 +00:00
Laisky.Cai
12be7700b9
feat: Add new models to ModelList in constants.go
2024-10-31 13:14:58 +00:00
Laisky.Cai
2e5e6faad7
Merge remote-tracking branch 'origin/upstream/main'
2024-10-29 01:15:54 +00:00
Laisky.Cai
8160de80ef
feat: Add new model to AwsModelIDMap
...
Add the "claude-3-5-sonnet-20241022" model to the AwsModelIDMap in the main.go file.
2024-10-28 01:12:13 +00:00
JustSong
7e51b04221
feat: able to hide test model selector and balance col
CI / Unit tests (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
2024-10-27 18:31:43 +08:00
JustSong
f75a17f8eb
feat: always return usage in stream mode
2024-10-27 17:58:44 +08:00
Wei Tingjiang
6f13a3bb3c
feat: update Gemini adaptor to support custom response format ( #1892 )
2024-10-27 17:10:50 +08:00
shaoyun
f092eed1db
feat: add support for Claude Sonnet 3.5 v2 ( #1888 )
2024-10-27 17:10:02 +08:00
longkeyy
629378691b
feat: update groq model and price ( #1864 )
2024-10-27 17:07:24 +08:00
liangjs
3716e1b0e6
fix: use modelMap when testing a channel ( #1855 )
...
Co-authored-by: oliang <oliang@tencent.com>
2024-10-27 17:06:41 +08:00
Pan, Wen-Ming
a4d6e7a886
feat: add Vertex AI gemini-1.5-pro-002 and gemini-1.5-flash-002 ( #1854 )
2024-10-27 17:04:41 +08:00
千寻简
cb772e5d06
fix:unsuccessful lobechat redirection link ( #1843 )
2024-10-27 17:03:35 +08:00
lihangfu
e32cb0b844
feat: support SparkDesk-v3.5-32K ( #1832 )
...
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-10-27 17:02:54 +08:00
Laisky.Cai
b048cad5a6
fix: update model list in vertexai/claude/adapter.go
...
The commit updates the model list in the `vertexai/claude/adapter.go` file. It adds a new model, `claude-3-5-sonnet-v2@20241022`, to the list. This change ensures that the latest model is included in the list.
2024-10-23 13:28:26 +00:00
Laisky.Cai
ce57b2e1e1
fix: update Go base image version and reorder model list in constants
2024-09-25 09:55:57 +00:00
Laisky.Cai
3f905ea0a4
Merge branch 'upstream/main'
2024-09-25 09:22:57 +00:00