CaIon
92de4d0d04
🔧 fix(api_request): enhance ping keep-alive mechanism with error handling and timeout controls
2025-06-10 03:42:23 +08:00
CaIon
b21e378fee
✨ feat(ChannelsTable): add renderQuotaWithAmount function and clean up imports
2025-06-09 20:50:37 +08:00
CaIon
78b0a82cb8
Merge remote-tracking branch 'origin/alpha' into alpha
2025-06-09 19:24:45 +08:00
CaIon
158c18fe22
✨ feat: add dark mode detection and styling enhancements to PersonalSetting and TopUp components
2025-06-09 19:24:21 +08:00
CaIon
a5baba6b9f
💄 style(LogsTable): remove prefix icons from tags for cleaner UI
2025-06-09 19:00:28 +08:00
CaIon
1de4af1c74
fix(main.go): correct comment formatting for embed directives
2025-06-08 20:26:14 +08:00
CaIon
2fb222b9a4
refactor(dto): change function and encoding fields to use json.RawMessage for improved flexibility
2025-06-08 16:28:47 +08:00
CaIon
2b3e64e8b6
fix(relay-channel): correct condition for mediaMessages initialization in requestOpenAI2Mistral function
2025-06-08 16:25:00 +08:00
CaIon
fcb9647aeb
fix(relay-gemini): remove outdated unsupported models from CovertGemini2OpenAI function
2025-06-08 16:22:39 +08:00
CaIon
7469446a20
fix(relay-gemini): add unsupported models to CovertGemini2OpenAI function
2025-06-08 16:04:31 +08:00
CaIon
e1039c67f7
chore: update CI workflows
2025-06-08 03:37:17 +08:00
CaIon
594636bace
fix: update import statement for vite-plugin-semi to use default import
2025-06-08 03:35:04 +08:00
CaIon
e647163969
chore: update CI workflow to use latest Bun version and adjust build environment variables
2025-06-08 03:28:36 +08:00
CaIon
c3a205e792
chore: update Bun version in CI workflow to 1.2.8
2025-06-08 02:57:44 +08:00
CaIon
e7289297e2
chore: update package.json to replace sse dependency and add trustedDependencies
2025-06-08 02:56:09 +08:00
CaIon
2e04d28483
chore: update CI workflows to use Bun for package management across all platforms
2025-06-08 02:45:18 +08:00
CaIon
4069b3f789
chore: update CI workflows to support manual triggers and rename Docker image workflow
2025-06-08 02:42:27 +08:00
CaIon
2cb067f485
chore: remove deprecated Docker image workflow for amd64
2025-06-08 02:39:53 +08:00
CaIon
550c068994
Merge branch 'alpha'
2025-06-08 02:38:49 +08:00
CaIon
8b55c9b917
Merge remote-tracking branch 'origin/alpha' into alpha
2025-06-08 02:34:22 +08:00
CaIon
e09931558e
chore: update CI workflows to use Bun for package management and build process
2025-06-08 02:34:06 +08:00
CaIon
28a2387dff
Merge remote-tracking branch 'origin/alpha' into alpha
2025-06-08 00:11:28 +08:00
CaIon
5ace100f63
chore: update bun.lockb file
2025-06-08 00:10:54 +08:00
CaIon
e7ebfd498d
fix: CI
2025-06-08 00:06:53 +08:00
CaIon
21613f8f73
Merge remote-tracking branch 'origin/main' into alpha
2025-06-04 01:25:09 +08:00
CaIon
eaaee594ef
chore: add Docker Buildx setup to workflow
...
- Integrated Docker Buildx setup step in docker-image-alpha.yml to enhance multi-platform build capabilities.
2025-06-04 01:16:42 +08:00
CaIon
c8ab726655
chore: update docker image workflows
...
- Added support for multiple platforms (linux/amd64, linux/arm64) in docker-image-alpha.yml.
- Removed outdated docker-image-amd64.yml and docker-image-arm64.yml workflows.
- Deleted linux-release.yml, macos-release.yml, and windows-release.yml as part of workflow cleanup.
2025-06-04 01:12:49 +08:00
CaIon
46f95fddcd
feat: add ToMap method and enhance OpenAI request handling
2025-06-01 01:10:10 +08:00
CaIon
bb8923e76a
Merge remote-tracking branch 'origin/ui/refactor' into ui/refactor
2025-05-29 15:52:16 +08:00
CaIon
8f6b0ede99
refactor: Update TopUp component to utilize StatusContext for dynamic top-up settings
2025-05-29 15:52:11 +08:00
CaIon
cdf7c35df2
style: Add styles for semi-table components to improve layout and presentation
2025-05-29 03:35:18 +08:00
CaIon
ef21119a29
fix: Change ParallelTooCalls from bool to *bool in GeneralOpenAIRequest for optional handling
2025-05-28 21:12:55 +08:00
CaIon
a536e9ca78
feat: Enhance image request validation in relay-image.go: set default model and size, improve error handling for size format, and ensure prompt and N parameters are validated correctly.
2025-05-28 20:18:37 +08:00
CaIon
bdf2f18bdc
🎨 style(ModelPricing): Update card shadow and add margin for improved layout
2025-05-26 19:41:21 +08:00
CaIon
e1fbf73afc
fix: improve input validation and error handling in ModelSetting and SettingGeminiModel components
2025-05-24 15:26:55 +08:00
CaIon
eea5967e2c
feat: add support for new regions in Claude Sonnet 4 and Claude Opus 4 models in AWS constants
2025-05-23 21:11:00 +08:00
CaIon
3cc1a79449
feat: add new model entries for Claude Sonnet 4 and Claude Opus 4 across multiple components, including constants and cache settings
2025-05-23 15:20:16 +08:00
CaIon
4978d63f46
feat: add new model ratios for Claude Sonnet 4 and Claude Opus 4; update ratio retrieval logic for improved handling of model names
2025-05-23 02:02:21 +08:00
CaIon
94455e34e6
fix: update Init method to correctly set RequestMode based on upstream model name prefixes
2025-05-23 01:34:53 +08:00
CaIon
adb2c39564
feat: add panic recovery and retry mechanism for InitChannelCache; improve batch deletion of abilities in FixAbility
2025-05-23 01:26:52 +08:00
CaIon
fa48d43f0f
feat: implement search functionality in ChannelsTable for improved channel filtering
2025-05-22 16:54:55 +08:00
CaIon
6436a165af
feat: enhance Gemini response handling by adding reasoning content and updating JSON decoding method
2025-05-22 16:11:50 +08:00
CaIon
526b7e6048
feat: add Thought field to GeminiPart and update response handling in streamResponseGeminiChat2OpenAI
2025-05-22 15:52:23 +08:00
CaIon
e0fc7a501f
feat: add OutputFormat field to ImageRequest for enhanced image processing options
2025-05-20 19:40:29 +08:00
CaIon
83ea1b2f64
✨ feat: Add country flag icons package to project dependencies
2025-05-20 02:19:05 +08:00
CaIon
0bf328939a
refactor: update JSON field names in GeminiChatRequest for consistency
2025-05-19 20:26:30 +08:00
CaIon
c0d85e2d98
feat: enhance image decoding logic to handle base64 file types and improve error handling
2025-05-15 14:51:33 +08:00
CaIon
f88b7cd7f2
fix: update model selection logic for image edits in distributor middleware
2025-05-14 17:01:50 +08:00
CaIon
5ca8f13ab0
feat: add moderation and background fields to ImageRequest struct in dalle.go #1052
2025-05-10 15:52:41 +08:00
CaIon
c2f3749cfe
feat: enhance OpenAI handler to support forced response formatting and add debug logging for request URLs
2025-05-09 18:57:06 +08:00
CaIon and creamlike1024
66cda24386
feat: add AzureNoRemoveDotTime constant and update channel handling #1044
...
- Introduced a new constant `AzureNoRemoveDotTime` in `constant/azure.go` to manage model name formatting for channels created after May 10, 2025.
- Updated `distributor.go` to set `channel_create_time` in the context.
- Modified `adaptor.go` to conditionally remove dots from model names based on the channel creation time.
- Enhanced `relay_info.go` to include `ChannelCreateTime` in the `RelayInfo` struct.
- Updated English localization files to reflect changes in model name handling for new channels.
2025-05-08 23:19:40 +08:00
CaIon and creamlike1024
abc9d60fdc
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 23:19:38 +08:00
CaIon
54f69c7d80
feat: add AzureNoRemoveDotTime constant and update channel handling #1044
...
- Introduced a new constant `AzureNoRemoveDotTime` in `constant/azure.go` to manage model name formatting for channels created after May 10, 2025.
- Updated `distributor.go` to set `channel_create_time` in the context.
- Modified `adaptor.go` to conditionally remove dots from model names based on the channel creation time.
- Enhanced `relay_info.go` to include `ChannelCreateTime` in the `RelayInfo` struct.
- Updated English localization files to reflect changes in model name handling for new channels.
2025-05-08 22:39:55 +08:00
CaIon
9aa7f7c755
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 21:34:31 +08:00
CaIon
465504033f
fix: update ResponseChunkData to format data correctly without newline
2025-05-07 17:02:47 +08:00
CaIon
4ad7c26345
feat: add support for BaiduV2 channel in relay info
2025-05-07 16:30:32 +08:00
CaIon
645b19b937
Merge remote-tracking branch 'origin/main'
2025-05-07 16:16:19 +08:00
CaIon
062dbb109e
feat: add support for DeepSeek channel in streamSupportedChannels
2025-05-06 18:41:01 +08:00
CaIon
e9812b0fd5
feat: implement OpenAI responses handling and streaming support with built-in tool tracking
2025-05-05 00:40:16 +08:00
CaIon
24200df47e
refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
2025-05-04 17:35:45 +08:00
CaIon
209265e68c
feat: enhance OaiResponsesStreamHandler to handle output text and improve response streaming
2025-05-04 17:09:37 +08:00
CaIon
4bf0d094c4
feat: add video URL support in MediaContent and update token counting logic
2025-05-03 21:12:07 +08:00
CaIon
f5c2fda22a
feat: enable error logging configuration in docker-compose and application
2025-04-29 16:26:55 +08:00
CaIon
d309727e99
fix: gemini thinking tokens count #1014
2025-04-29 16:21:54 +08:00
CaIon
7e3e9b1a96
refactor: Reducing the lock duration to the minimum necessary time in CacheGetRandomSatisfiedChannel function
2025-04-29 15:57:21 +08:00
CaIon
8b9ba91184
fix: update audio ratio logic for model names in GetAudioRatio function
2025-04-28 20:55:40 +08:00
CaIon
4759bbdb95
feat: add image preview functionality and update model name instructions in EditChannel
2025-04-27 17:20:49 +08:00
CaIon
5bf1f2f275
refactor: rename InitModelSettings to InitRatioSettings
2025-04-26 17:15:34 +08:00
CaIon
e24d9bd8db
fix: update cacheRatioMap initialization in InitModelSettings function
2025-04-26 17:09:23 +08:00
CaIon
f4dcf8d6b6
feat: initialize cacheRatioMap in InitModelSettings function
2025-04-26 17:06:03 +08:00
CaIon
9246dd2070
fix: handle optional user_group_ratio in LogsTable and render helper
2025-04-26 15:59:49 +08:00
CaIon
1ab9892090
Merge remote-tracking branch 'new-api/main' into gpt-image
...
# Conflicts:
# relay/relay-image.go
2025-04-26 15:54:08 +08:00
CaIon
0647872c15
feat: support image edit model mapping
...
(cherry picked from commit 1a869d8ad77f262ee27675ec2deaf451b1743eb7)
2025-04-26 15:48:59 +08:00
CaIon
283d021fa2
refactor: update deepseek beta api
2025-04-25 16:26:16 +08:00
CaIon
c1a0ca0bc7
refactor: update claude media source handling
2025-04-24 15:59:43 +08:00
CaIon
3169bfe362
refactor: update ClaudeMessageSource struct to include optional Url field and adjust media source handling in relay-claude #993
2025-04-24 00:39:09 +08:00
CaIon
2b1470d5f7
f*** gemini
2025-04-19 18:07:51 +08:00
CaIon
91902ce1f4
refactor: enhance SystemSetting submission logic and handle empty WorkerUrl
2025-04-19 00:20:25 +08:00
CaIon
fdd349c909
refactor: update GeminiThinkingConfig initialization
2025-04-18 23:13:28 +08:00
CaIon
ace677b3e7
refactor: remove unsupported 'exclusiveMinimum' field from cleanFunctionParameters
2025-04-18 22:40:05 +08:00
CaIon
6e2e10adf1
refactor: remove unsupported root-level fields from cleanFunctionParameters
2025-04-18 21:38:12 +08:00
CaIon
1989ae95c1
refactor: streamline value assignment in SettingGeminiModel
2025-04-18 20:08:26 +08:00
CaIon
d378543819
feat: add gemini thinking suffix support #981
2025-04-18 19:36:18 +08:00
CaIon
8ead0864b5
refactor: remove reasoning field from GeneralOpenAIRequest struct
2025-04-17 17:11:42 +08:00
CaIon
80e6b9e04e
feat: add reasoning field to GeneralOpenAIReques
2025-04-17 17:09:46 +08:00
CaIon
b364e9e3b1
refactor: simplify model prefix checks and update message role for o-series models
2025-04-17 16:50:52 +08:00
CaIon
50bf4a6615
refactor: remove unused mutex from RelayInfo struct
2025-04-15 23:06:32 +08:00
CaIon
115c85390f
fix: claude parallel function calling
2025-04-15 04:52:33 +08:00
CaIon
effa523a54
feat: support gemini output text and inline images. ( close #866 )
2025-04-15 02:32:51 +08:00
CaIon
44a14ced01
fix: try to fix claude to openai format mcp #966
2025-04-15 01:16:06 +08:00
CaIon
e3b262da1d
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
CaIon
da86db0d46
fix: update model name handling in UI and localization
2025-04-12 17:44:29 +08:00
CaIon
f970a03986
fix: xAI usage
2025-04-11 23:31:32 +08:00
CaIon
74d9bb1a12
feat: enhance Claude to OpenAI request conversion with additional relay info support
2025-04-11 19:13:38 +08:00
CaIon
9e4506ebaf
feat: 完善openai转claude支持
2025-04-11 18:28:50 +08:00
CaIon
c94f662829
chore: update .gitignore and docker-compose.yml to include tiktoken_cache directory
2025-04-11 16:24:27 +08:00
CaIon
577b18a1a1
feat: enhance file handling and logging in the application
2025-04-11 16:23:54 +08:00
CaIon
7e0d4cd055
refactor: move maxFileSize variable inside GetFileBase64FromUrl function
2025-04-11 15:53:23 +08:00
CaIon
95f0ed1821
feat: implement parameter cleaning for Gemini functions
2025-04-10 22:35:03 +08:00
CaIon
984f91d111
feat: support zhipu_4v embeddings path
2025-04-10 20:53:51 +08:00