Laisky.Cai
c849292621
fix
2024-02-29 09:11:01 +00:00
Laisky.Cai
1a036d977e
Merge branch 'patch/model-mapping'
2024-02-29 09:05:13 +00:00
Laisky.Cai
90a039d325
fix : #1054 Add model mapping to abilities
...
- Update Abilities model to include model mapping key
- Parse model mapping in Channel model and filter models by model mapping in Update function
2024-02-29 09:04:04 +00:00
Laisky.Cai
6ee7281a0a
feat: Map channel model changes to ability mappings
...
Fix: Add model mappings to a channel's abilities
- Add model mappings to a channel's abilities.
- Add model mapping unit tests.
2024-02-29 06:55:55 +00:00
Laisky.Cai
3da0f62055
fix: Improve error handling and logging in channel update abilities
...
- Improve error handling in `UpdateAbilities()` method
- Log model name change request to the mapped model
2024-02-29 06:44:31 +00:00
Laisky.Cai
4625a0b97d
chore: Upgrade dependencies of GoWebProd
...
- Add GoWebProd libraries for UUID version 7, various utilities, xxHash calculation, sets, and more.
- Update various libraries for improved file system monitoring, deques, JSON handling, logging, stubbing, and comparison.
- Log supported models when initializing channel cache and remove duplicates.
2024-02-29 06:29:03 +00:00
Laisky.Cai
a94a3f5b36
Merge remote-tracking branch 'origin/upstream/main'
2024-02-27 01:09:14 +00:00
JustSong
b747cdbc6f
fix: fix getAndValidateTextRequest failed: unexpected end of JSON input ( close #1043 )
2024-02-26 22:52:16 +08:00
JustSong
6b27d6659a
fix: add role for ChatCompletionsStreamResponseChoice.Delta
2024-02-25 19:49:22 +08:00
JustSong
dc5b781191
fix: fix stream response id
2024-02-25 19:47:59 +08:00
JustSong
c880b4a9a3
fix: fix missing index in ChatCompletionsStreamResponseChoice ( #1037 )
2024-02-25 19:17:37 +08:00
JustSong
565ea58e68
feat: built in retry supported ( close #1036 , close #770 )
2024-02-25 19:01:49 +08:00
JustSong
f141a37a9e
fix: fix "error update user quota cache: Error 1040: Too many connections"
2024-02-25 16:58:14 +08:00
JustSong
5b78886ad3
fix: fix i18n
2024-02-25 16:53:46 +08:00
JustSong
87c7c4f0e6
fix: rm history build before building
2024-02-25 02:07:34 +08:00
JustSong
4c4a873890
fix: add an ending line for THEMES
2024-02-25 01:59:40 +08:00
JustSong
0664bdfda1
fix: fix build.sh ( close #1026 )
2024-02-25 01:53:27 +08:00
Laisky.Cai
b0e499519d
Merge pull request #4 from techotaku/feat/az-api-ver
...
feat: Update default API version for Azure OpenAI.
2024-02-22 11:30:24 +08:00
Laisky.Cai
3c95e1bb0d
refactor: Refactor text controller logic
...
- Move the initialization of `requestBody` to a separate if block.
- Add a comment to indicate that `requestBodyBytes` is created for debugging use.
2024-02-22 03:25:45 +00:00
Laisky.Cai
d22c22d4f0
fix: Improve relay error logging
...
- Log errors with the channel ID and the error message.
- Also log errors with the channel ID and a JSON representation of the error.
2024-02-22 03:17:19 +00:00
Laisky.Cai
b9972e0aa4
style: Upgrade relay controller text package
...
- Refactoring of the Text controller.
2024-02-22 03:09:46 +00:00
Laisky.Cai
609a6cb4b2
Merge remote-tracking branch 'origin/upstream/main'
2024-02-22 01:54:25 +00:00
JustSong
32387d9c20
fix: fix version is blank
2024-02-21 22:21:01 +08:00
JustSong
bd888f2eb7
fix: fix prompt token is zero ( close #1023 )
2024-02-21 22:19:42 +08:00
JustSong
cece77e533
fix: fix model list
2024-02-19 22:20:18 +08:00
Laisky.Cai
79daa892bd
fix: Refactor: Ignore nil adaptors when initializing OpenAI models map
...
- Ignore nil adaptors when initializing OpenAI models map
2024-02-19 07:34:24 +00:00
Laisky.Cai
281df64214
build: Update Golang in Docker image to 1.22.0
...
- Update Golang container image
2024-02-19 07:23:56 +00:00
Laisky.Cai
29eab22762
Merge remote-tracking branch 'origin/upstream/main'
2024-02-19 07:23:30 +00:00
JustSong
2a5468e23c
refactor: remove useless button ( close #1014 )
2024-02-18 22:21:37 +08:00
JustSong
d0e415893b
fix: fix SparkDesk model name
2024-02-18 17:16:11 +08:00
JustSong
6cf5ce9a7a
fix: fix SparkDesk model name
2024-02-18 17:11:16 +08:00
JustSong
f598b9df87
feat: add new SparkDesk models
2024-02-18 17:02:36 +08:00
JustSong
532c50d212
fix: fix channel table page copy
2024-02-18 16:19:14 +08:00
JustSong
2acc2f5017
feat: support moonshot now ( close #804 )
2024-02-18 16:17:19 +08:00
JustSong
604ac56305
fix: set seed parameter for qwen ( close #1005 )
2024-02-18 15:01:09 +08:00
JustSong
9383b638a6
feat: add ChatPro & ChatStd for tencent ( #1010 )
2024-02-18 14:40:01 +08:00
JustSong
28d512a675
refactor: delete useless code
2024-02-18 02:23:31 +08:00
JustSong
de9a58ca0b
refactor: use config field to save config
2024-02-18 02:22:50 +08:00
JustSong
1aa374ccfb
refactor: use adaptor to do relay & test
2024-02-18 00:15:31 +08:00
Laisky.Cai
d548a01c59
feat: Handle errors, validate model names, and calculate quota usage ( #978 )
...
- Improved error handling in various modules for better stability and responsiveness.
- Optimized code in several files for improved efficiency and readability.
- Enhanced user experience by providing more detailed error responses in the controller.
- Strengthened security by ignoring sensitive files in `.gitignore`.
2024-02-12 21:35:40 +08:00
Ian Li
3e1be51d06
feat: Update default API version for Azure OpenAI.
2024-02-03 22:16:29 +08:00
Laisky.Cai
763d2a2f00
chore: Remove release workflows
...
- Remove all macOS, Windows and Linux release configuration workflows.
- They created releases when new tags were pushed by building the frontend and backend and releasing them as drafts with the tag versions.
2024-01-28 13:57:08 +00:00
Laisky.Cai
2c85511d8b
ci: Rename default branch from master to main
...
- Update the default branch name from `master` to `main`.
- Rename all occurrences of `master` to `main`.
2024-01-28 13:56:39 +00:00
Laisky.Cai
4713c92969
Merge branch 'patch/format'
2024-01-28 13:54:35 +00:00
Laisky.Cai
0cabc2791f
feat: Handle errors, validate model names, and calculate quota usage
...
- Improved error handling in various modules for better stability and responsiveness.
- Optimized code in several files for improved efficiency and readability.
- Enhanced user experience by providing more detailed error responses in the controller.
- Strengthened security by ignoring sensitive files in `.gitignore`.
2024-01-28 13:53:05 +00:00
Laisky.Cai
10cbe63c0d
Merge remote-tracking branch 'origin/upstream/main'
2024-01-28 13:44:16 +00:00
JustSong
2cd1a78203
chore: update module name
2024-01-28 19:38:58 +08:00
JustSong
b9d3cb0c45
refactor: split RelayTextHelper function
2024-01-28 19:14:46 +08:00
JustSong
ea407f0054
feat: able to set completion ration now ( close #968 )
2024-01-28 16:45:54 +08:00
Benny
26e2e646cb
feat: sync models with OpenAI ( #971 )
...
* add new 0125 chat models and embedding-3 models
* refine the step of manually deploying
* add gpt-4-turbo-preview
2024-01-28 16:09:21 +08:00