Calcium-Ion
b5d644d56c
Merge pull request #857 from asjfoajs/main
...
Refactor: Optimize the ImageHandler under the Alibaba large model to …
2025-03-13 19:51:08 +08:00
1808837298@qq.com
47c297794d
feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2025-03-13 19:32:08 +08:00
霍雨佳
63aa548cdf
Refactor: Optimize the ImageHandler under the Alibaba large model to retrieve the key from the header.
...
Reason: The info parameter already includes the key, so there is no need to retrieve it again from the header.
Solution: Delete the code for obtaining the key and directly use info.ApiKey.
2025-03-13 08:54:45 +08:00
1808837298@qq.com
cbc4b3a9e7
fix panic
2025-03-12 21:35:57 +08:00
1808837298@qq.com
78fc3a191c
feat: claude relay
2025-03-12 21:31:46 +08:00
1808837298@qq.com
8f2412fb79
fix: claude to openai tools use
2025-03-12 19:46:08 +08:00
1808837298@qq.com
6cb9001ff3
fix: claude to openai tools use
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
2025-03-12 19:29:15 +08:00
1808837298@qq.com
d9a6a2db87
fix: claude to openai tools use
2025-03-12 18:53:38 +08:00
1808837298@qq.com
1800e0ae9e
feat(relay): Add Xinference channel support
2025-03-12 17:53:46 +08:00
1808837298@qq.com
0db072de86
feat(error): Enhance error handling with optional detailed error messages
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
2025-03-11 17:25:06 +08:00
1808837298@qq.com
ba696b33dc
feat(relay): Add pass-through request option for global settings
2025-03-11 17:02:35 +08:00
Sh1n3zZ
9a878df8c0
feat: gemini Embeddings support
2025-03-10 23:32:06 +08:00
霍雨佳
6a6e8e22e8
Fix: Under Ali's large model, the task ID result for image retrieval is incorrect.
...
Reason: The URL is incomplete, missing baseurl.
Solution: Add baseurl. url := fmt.Sprintf("%s/api/v1/tasks/%s", info.BaseUrl, taskID).
2025-03-10 16:22:40 +08:00
1808837298@qq.com
0876bc3f7f
feat: Improve decimal precision for quota and payment calculations
...
- Added github.com/shopspring/decimal for precise floating-point calculations
- Refactored quota and payment calculations in multiple files to use decimal arithmetic
- Updated go.mod and go.sum to include decimal library
- Improved precision in topup, relay, and quota service calculations
- Added support for more OpenAI model variants in cache ratio settings
2025-03-08 21:55:50 +08:00
1808837298@qq.com
a36d6de8d1
feat: Add prompt cache hit tokens support for DeepSeek channel #406
2025-03-08 16:50:53 +08:00
1808837298@qq.com
5bed29e2bd
refactor: Improve quota calculation precision using floating-point arithmetic
2025-03-08 16:44:08 +08:00
1808837298@qq.com
b640118d74
feat: Implement cache token ratio for more precise token pricing
2025-03-08 01:30:50 +08:00
1808837298@qq.com
7e4474e59b
refactor: Remove redundant user quota retrieval in audio relay
2025-03-07 19:59:00 +08:00
Sh1n3zZ
c1ed9d552e
fix: possible incomplete return of the think field and incorrect occurrences of the reasoning field
2025-03-06 19:20:29 +08:00
Sh1n3zZ
aa6c894f56
fix: adapting return format for openrouter think content ( #793 )
2025-03-06 19:16:26 +08:00
1808837298@qq.com
7cec111b1f
fix: error NotifyRootUser #812
2025-03-06 15:56:42 +08:00
1808837298@qq.com
c4ca4af8ce
fix: Prevent resource leaks by adding body close in stream handlers
2025-03-05 19:51:22 +08:00
1808837298@qq.com
d647214555
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00
1808837298@qq.com
8b52803910
fix: vertex claude
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
2025-03-05 16:43:40 +08:00
1808837298@qq.com
efc7c4d7f9
feat: Add context-aware goroutine pool for safer concurrent operations
2025-03-04 18:42:34 +08:00
1808837298@qq.com
67e17dcdbd
fix: Ignore EOF errors in OpenAI stream scanner
2025-03-04 17:35:41 +08:00
1808837298@qq.com
b0ee0f1501
fix: Handle scanner errors in OpenAI relay stream handler
2025-03-04 17:10:56 +08:00
1808837298@qq.com
894f950e96
fix: vertex claude
2025-03-03 20:06:08 +08:00
1808837298@qq.com
1665fcee3c
refactor: Improve channel testing and model price handling
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
2025-03-02 15:47:12 +08:00
1808837298@qq.com
485face2c0
feat: Add self-use mode for model ratio and price configuration
...
- Introduce `SelfUseModeEnabled` setting to allow flexible model ratio configuration
- Update error handling to provide more informative messages when model ratios are not set
- Modify pricing and relay logic to support self-use mode
- Add UI toggle for enabling self-use mode in operation settings
- Implement fallback mechanism for model ratios when self-use mode is enabled
2025-03-01 21:13:48 +08:00
1808837298@qq.com
5f8e73e297
fix: Enhance error message for missing model ratio configuration
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
2025-03-01 17:02:31 +08:00
1808837298@qq.com
159f39d119
fix: Improve model ratio and price management
...
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
- Update error message for missing model ratio to be more user-friendly
- Modify ModelRatioNotSetEditor to filter models without price or ratio
- Enhance model data initialization with fallback values
2025-02-28 23:28:47 +08:00
1808837298@qq.com
0aa30ed3f6
feat: Add new model management features
...
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
- Implement `/api/channel/models_enabled` endpoint to retrieve enabled models
- Add `EnabledListModels` handler in controller
- Create new `ModelRatioNotSetEditor` component for managing unset model ratios
- Update router to include new models_enabled route
- Add internationalization support for new model management UI
- Include GPT-4.5 preview model in OpenAI model list
2025-02-28 21:13:30 +08:00
1808837298@qq.com
1e388d9d68
fix
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
2025-02-28 20:28:44 +08:00
1808837298@qq.com
3447df85c4
feat: add new GPT-4.5 preview model ratios
2025-02-28 19:17:15 +08:00
1808837298@qq.com
86a88f8203
feat: Enhance Claude default max tokens configuration
...
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
- Replace ThinkingAdapterMaxTokens with a more flexible DefaultMaxTokens map
- Add support for model-specific default max tokens configuration
- Update relay and web interface to use the new configuration approach
- Implement a fallback mechanism for default max tokens
2025-02-28 17:53:08 +08:00
1808837298@qq.com
29fc0a6b1d
feat: Implement model-specific headers configuration for Claude
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
2025-02-28 16:47:31 +08:00
1808837298@qq.com
96e73ad8e0
feat: Enhance Claude MaxTokens configuration handling
...
- Update Claude relay to set default MaxTokens dynamically
- Modify web interface to clarify default MaxTokens input purpose
- Improve token configuration logic for thinking adapter models
2025-02-27 22:10:29 +08:00
1808837298@qq.com
ed1a1c9b09
fix: Correct model request configuration in Vertex Claude adaptor
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
2025-02-27 20:51:10 +08:00
1808837298@qq.com
5371af0b42
feat: Refactor model configuration management with new config system
...
- Introduce a new configuration management approach for model-specific settings
- Update Gemini settings to use the new config system with more flexible management
- Add support for dynamic configuration updates in option handling
- Modify Claude and Vertex adaptors to use new configuration methods
- Enhance web interface to support namespaced configuration keys
2025-02-27 20:49:34 +08:00
1808837298@qq.com
2d77733cd3
fix: Improve AWS Claude adaptor request conversion error handling #796
2025-02-27 14:57:00 +08:00
1808837298@qq.com
ac00e9bbb3
init openrouter adaptor
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
2025-02-27 00:01:21 +08:00
1808837298@qq.com
0646fa1892
fix: gemini&claude tool call format #795 #766
2025-02-26 23:56:10 +08:00
1808837298@qq.com
23de62ec0d
fix: claude tool call format #795 #766
2025-02-26 23:40:16 +08:00
1808837298@qq.com
c3b0e57ea4
feat: Add Jina reranking support for OpenAI adaptor
2025-02-26 21:46:06 +08:00
1808837298@qq.com
832f4b2b1a
fix: Update Gemini safety settings category
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
2025-02-26 19:18:00 +08:00
1808837298@qq.com
8a30d64a75
feat: Add Gemini version settings configuration support ( close #568 )
2025-02-26 18:19:09 +08:00
1808837298@qq.com
0a369cc193
feat: Add Gemini safety settings configuration support ( close #703 )
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
2025-02-26 16:54:43 +08:00
1808837298@qq.com
5ba44f5ad5
feat: Update Claude relay temperature setting
2025-02-25 22:01:05 +08:00
1808837298@qq.com
d04d78a116
refactor: Enhance user context and quota management
...
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
- Add new context keys for user-related information
- Modify user cache and authentication middleware to populate context
- Refactor quota and notification services to use context-based user data
- Remove redundant database queries by leveraging context information
- Update various components to use new context-based user retrieval methods
2025-02-25 20:56:16 +08:00