one-api/controller
Laisky.Cai fd7585550a refactor: Increase performance by optimizing text relay functionality
```
- Refactor relay-text controller to improve readability and maintainability
- Optimize database queries for improved performance
- Update error handling to provide more informative messages
```
2023-12-18 03:35:10 +00:00
..
billing.go chore: update error code 2023-09-17 11:30:20 +08:00
channel-billing.go fix: fix unable to set zero value for base url & model mapping 2023-09-18 22:07:17 +08:00
channel-test.go feat: add Google Gemini Pro support (#826) 2023-12-17 12:48:32 +08:00
channel.go feat: able to delete all disabled channels 2023-10-14 17:25:48 +08:00
github.go fix: fix oauth2 state not checking 2023-09-15 00:24:20 +08:00
group.go feat: Refactor message handling and update dependencies 2023-11-17 03:24:55 +00:00
log.go feat: supprt channel priority now & record channel id in log (#484) 2023-09-17 19:18:16 +08:00
misc.go feat: support email domain whitelist (#337) 2023-07-30 12:44:41 +08:00
model.go feat: update ali relay implementation (#830) 2023-12-17 19:43:23 +08:00
option.go feat: support Tencent's model (close #519) 2023-10-03 14:19:03 +08:00
redemption.go feat: now user can top up via redemption code (close #9) 2023-04-26 17:02:26 +08:00
relay_test.go Merge remote-tracking branch 'origin/upstream/main' 2023-12-18 02:10:13 +00:00
relay-aiproxy.go Merge remote-tracking branch 'origin/upstream/main' 2023-12-12 06:00:29 +00:00
relay-ali.go Merge remote-tracking branch 'origin/upstream/main' 2023-12-18 02:10:13 +00:00
relay-audio.go feat: refactor response parsing logic to support multiple formats (#782) 2023-12-10 18:39:14 +08:00
relay-baidu.go feat: support gpt-4 with vision (#683, #714) 2023-11-19 18:38:54 +08:00
relay-claude.go Merge remote-tracking branch 'origin/upstream/main' 2023-12-12 06:00:29 +00:00
relay-gemini.go fix: fix gemini panic (close #833) 2023-12-17 23:30:45 +08:00
relay-image.go feat: add condition to validate n value for non-Azure channels (#775) 2023-12-17 19:49:08 +08:00
relay-openai.go refactor: remove consumeQuota related logic (#738) 2023-11-24 20:42:29 +08:00
relay-palm.go feat: support gpt-4 with vision (#683, #714) 2023-11-19 18:38:54 +08:00
relay-tencent.go feat: support gpt-4 with vision (#683, #714) 2023-11-19 18:38:54 +08:00
relay-text.go refactor: Increase performance by optimizing text relay functionality 2023-12-18 03:35:10 +00:00
relay-utils.go Merge remote-tracking branch 'origin/upstream/main' 2023-12-18 02:10:13 +00:00
relay-xunfei.go fix: fix xunfei panic error (close #820) 2023-12-17 18:06:37 +08:00
relay-zhipu.go feat: support gpt-4 with vision (#683, #714) 2023-11-19 18:38:54 +08:00
relay.go refactor: Enhance error handling and logging in relay controller 2023-12-18 02:44:26 +00:00
token.go refactor: Refactor token handling in the controller 2023-11-16 05:24:56 +00:00
user.go feat: Implement API endpoints for user management and information retrieval 2023-10-19 09:42:47 +00:00
wechat.go feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00