JustSong
d87c55f542
chore: render unknown channel type
2024-04-21 18:54:35 +08:00
JustSong
e5b3e37c46
feat: support bot prefix for coze
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.6-alpha.5
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
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.6-alpha.4
2024-04-21 17:38:39 +08:00
JustSong
541182102e
fix: ignore empty choice response for azure ( close #1324 )
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.6-alpha.3
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 )
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.6-alpha.2
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
JustSong
35ba1da984
fix: fix cannot submit aws claude config ( close #1343 )
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.6-alpha.1
2024-04-21 11:04:34 +08:00
JustSong
2369025842
fix: use prefix to match more json response
2024-04-20 01:15:33 +08:00
JustSong
f452bd481e
ci: update ci condition
2024-04-20 00:57:50 +08:00
JustSong
ddee58df36
fix: fix loading
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.6-alpha
2024-04-20 00:54:34 +08:00
JustSong
520a62e704
docs: update readme
2024-04-20 00:43:07 +08:00
Laisky.Cai
fc9a784950
feat: support aws bedrockruntime claude3 ( #1328 )
...
* feat: support aws bedrockruntime claude3
closes #622 , closes #749 , closes #1300
* fix: convert to aws claude model id
* fix: Update AWS adapter to handle stream completions and calculate usage metrics
Based on the file summaries provided, here are the important bullet points for the commit message:
- Add functionality to handle stream completion events from AWS in the relay/adaptor/aws/main.go file
- Marshall AWS response to OpenAI format and calculate usage metrics in the same file
- Implement a custom render function for streaming events in the same file
- Improve error handling for JSON unmarshalling and marshalling errors in the same file
* fix: Implement AWS handler with usage tracking and error handling
- Implemented streaming response handling for AWS handler
- Set response content type to text/event-stream
- Added error handling for failed marshaling/unmarshaling
- Updated return values to include `relaymodel.ErrorWithStatusCode` and `relaymodel.Usage`
- Improved error handling and response formatting for AWS adaptor
* fix: Refactor AWS Adapter for Improved Model Mapping and Error Handling
* Refactor AWS adapter to improve model management
- Replace hardcoded model list in `adapter.go` with a function to get models from `awsModelIDMap`
- Update `GetModelList` function to return model list directly
- Add `GetChannelName` function to get channel name from `Adaptor` object
* Improve error handling and code organization in main.go
- Replace switch statement with a map to map AWS model IDs to OpenAI model IDs
- Return an error if the model is not found in the map
- Use a single return statement instead of wrapping multiple return statements in the `awsModelID` function
- Add a new error message for when the model is not found in the map in the `Handler` function
* fix: bug fix
* chore: change variable name & package
* chore: change variable name
* perf: update config related code
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-20 00:40:47 +08:00
dependabot[bot]
1a0b039bcf
chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 ( #1335 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 21:52:51 +08:00
JustSong
7bf61f9165
fix: fix retry not working ( close #1314 )
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
v0.6.5
2024-04-15 23:09:12 +08:00
JustSong
a10232f43a
feat: add gpt-4-turbo support ( close #1304 )
2024-04-13 11:39:31 +08:00
JustSong
af543ab8ec
docs: update readme
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.18
2024-04-06 20:50:43 +08:00
JustSong
e086da05b1
feat: able to change gemini version ( close #1211 )
2024-04-06 20:48:22 +08:00
JustSong
3af4649b52
fix: only check model when request path in whitelist
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.17
2024-04-06 20:42:35 +08:00
GAI Group
52c32c0b4a
chore: resolve the issue of onclick event scope for custom Lark button ( #1281 )
...
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
chore: Resolve the issue of onclick event scope for custom Lark button
v0.6.5-alpha.16
2024-04-06 20:08:05 +08:00
Buer
3fe2863ff7
feat: berry theme update & bug fix ( #1282 )
...
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
* ⚡ ️ improve: delete google fonts
* ⚡ ️ improve: Optimized priority input handling in TableRow component.
* 🔖 chore: channel batch add
* ✨ feat: add dark mod
* ✨ feat: support token limit ip range and models
* ✨ feat: add MessagePusher
* ✨ feat: add lark login
v0.6.5-alpha.15
2024-04-06 19:44:23 +08:00
JustSong
acf8cb6248
chore: update default nextweb link
2024-04-06 11:47:31 +08:00
JustSong
572fc9ffb8
fix: fix stepfun model ratio & id
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.14
2024-04-06 10:43:54 +08:00
GAI Group
569c04acb0
fix: fix Lark icon button style ( #1279 )
2024-04-06 10:18:59 +08:00
JustSong
961b4108e6
chore: fix refactor caused typo
2024-04-06 02:12:50 +08:00
JustSong
0b8ccb94eb
chore: reorganize common package
2024-04-06 02:03:59 +08: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
JustSong
f70506eac1
chore: reorganize relay related package
2024-04-06 01:31:44 +08:00
JustSong
8f4d78e24d
chore: reorganize billing related package
2024-04-06 01:26:48 +08:00
JustSong
cd2707692f
chore: reorganize billing related package
2024-04-06 01:09:23 +08:00
JustSong
2ab7d25a80
chore: reorganize helper related package
2024-04-06 01:02:35 +08:00
JustSong
f9d914873f
chore: reorganize constant related package
2024-04-06 00:44:33 +08:00
JustSong
880e12c855
feat: support cogview-3
2024-04-06 00:30:08 +08:00
JustSong
0cb224e62e
chore: fix typo
2024-04-05 23:55:25 +08:00
JustSong
a44fb5d482
fix: fix channel model list is empty
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.13
2024-04-05 23:44:57 +08:00
JustSong
eec41849ec
chore: fix ali image implementation
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.12
2024-04-05 18:25:57 +08:00
Mo
d4347e7a35
feat: support Ali stable-diffusion-xl and wanx-v1 model ( #1240 )
...
* Fix ali ConvertRequest function to use baidu keyword
* Support Ali stable-diffusion-xl and wanx-v1 model
* Support Ali stable-diffusion-xl and wanx-v1 model
* Support Ali stable-diffusion-xl and wanx-v1 model
* chore: update ali constants and model ratio
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-04-05 18:09:54 +08:00
manjieqi
b50b43eb65
feat: update baidu model name & ratio ( #1277 )
2024-04-05 17:30:48 +08:00
JustSong
348adc2b02
feat: able to set multiple subnets
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.11
2024-04-05 17:25:28 +08:00
JustSong
dcf24b98dc
chore: update berry copy
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.10
2024-04-05 14:28:38 +08:00
JustSong
af679e04f4
chore: sort channel type for berry
2024-04-05 14:23:39 +08:00
JustSong
93cbca6a9f
chore: update show notice duration
2024-04-05 14:14:21 +08:00
JustSong
840ef80d94
fix: do not try to parse model when requesting /v1/models ( close #1272 )
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.9
2024-04-05 12:50:31 +08:00
JustSong
9a2662af0d
feat: show token info when quota is not enough ( close #1274 )
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
v0.6.5-alpha.8
2024-04-05 12:42:14 +08:00
JustSong
77f9e75654
fix: fix IsValidSubnet
2024-04-05 12:40:03 +08:00
JustSong
5b41f57423
feat: support stepfun's models
2024-04-05 12:32:05 +08:00