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
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
03de7e2ea1
Merge remote-tracking branch 'origin/main'
2025-03-12 17:53:52 +08:00
1808837298@qq.com
1800e0ae9e
feat(relay): Add Xinference channel support
2025-03-12 17:53:46 +08:00
1808837298@qq.com
a280feeae0
fix: Add error logging for OIDC configuration retrieval
2025-03-11 23:20:27 +08:00
1808837298@qq.com
30d9f433f1
refactor: Update OIDC status check to use oidc_enabled flag
2025-03-11 22:36:31 +08:00
1808837298@qq.com
3ede51a9a7
refactor: Remove OIDC configuration from option initialization
2025-03-11 22:03:20 +08:00
1808837298@qq.com
9f3cc03508
refactor: Migrate OIDC configuration to system settings
2025-03-11 22:00:31 +08:00
1808837298@qq.com
215e768caf
feat(ui): Improve model testing button layout and styling
2025-03-11 21:22:10 +08:00
1808837298@qq.com
0db072de86
feat(error): Enhance error handling with optional detailed error messages
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
1808837298@qq.com
e1130c3e94
Merge remote-tracking branch 'origin/main'
2025-03-11 16:41:18 +08:00
1808837298@qq.com
78cc82dca7
fix: Improve mobile layout and scrolling behavior
2025-03-11 15:05:23 +08:00
1808837298@qq.com
dbcbe3ffd5
Merge remote-tracking branch 'origin/main'
2025-03-11 14:55:56 +08:00
1808837298@qq.com
f8bd6da813
feat: Improve route handling and dynamic chat navigation in SiderBar
2025-03-11 14:55:48 +08:00
1808837298@qq.com
5c794a362c
Merge remote-tracking branch 'origin/main'
2025-03-10 21:05:43 +08:00
1808837298@qq.com
00a16b2d18
refactor: Improve responsive design across multiple setting pages
2025-03-10 21:05:22 +08:00
1808837298@qq.com
fa1a6cb5a1
refactor: Remove unnecessary transition styles and simplify sidebar state management
2025-03-10 20:14:23 +08:00
1808837298@qq.com
e704f0763a
refactor: Improve sidebar state management and layout responsiveness
2025-03-10 19:48:17 +08:00
1808837298@qq.com
ddd6706c6c
feat: Enhance mobile UI responsiveness and layout for ChannelsTable and SiderBar
2025-03-10 19:01:56 +08:00
1808837298@qq.com
e28ad3689c
refactor: Improve mobile responsiveness and scrolling behavior in UI layout
2025-03-10 15:49:32 +08:00
1808837298@qq.com
58b8ca90aa
refactor: Enhance UI layout and styling with responsive design improvements
2025-03-10 03:25:02 +08:00
1808837298@qq.com
f4c5ab7fc2
style: Enhance LogsTable header tags with improved styling and visual hierarchy
2025-03-10 00:34:24 +08:00
1808837298@qq.com
abd5de7902
refactor: Make Channel Setting nullable and improve setting handling #836
2025-03-09 23:42:48 +08:00
1808837298@qq.com
8fffa159d0
fix: Correct typo in group_ratio variable name in LogsTable
2025-03-09 21:24:19 +08:00
1808837298@qq.com
c0aa19c58a
fix: Add optional chaining to prevent potential undefined errors in LogsTable #833
2025-03-09 21:23:33 +08:00
1808837298@qq.com
6f9412ead3
feat: Introduce configurable docs link and remove hardcoded chat links
...
- Added a new GeneralSetting struct to manage configurable docs link
- Removed hardcoded ChatLink and ChatLink2 variables across multiple files
- Updated frontend components to dynamically render docs link from status
- Simplified chat and link-related logic in various components
- Added a warning modal for quota per unit setting in operation settings
2025-03-09 18:31:16 +08:00
1808837298@qq.com
61da6c3664
fix: Refine embedding model detection in channel test
2025-03-09 15:03:07 +08:00
1808837298@qq.com
98e2443563
refactor: Improve price rendering with clearer token and price calculations
2025-03-08 23:47:02 +08:00
1808837298@qq.com
a92d9b12f8
refactor: Update topup amount type from int to int64 for improved precision
2025-03-08 21:59:18 +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
f8a8dbec6e
feat: Add column visibility settings for Channels and Logs tables
...
- Implemented dynamic column visibility for ChannelsTable and LogsTable
- Added localStorage persistence for column preferences
- Introduced column selector modal with select all/reset functionality
- Supported role-based default column visibility
- Added column settings button to table interfaces
2025-03-08 19:53:07 +08:00
1808837298@qq.com
47a92439fc
refactor: Simplify chat menu items rendering in SiderBar
2025-03-08 19:06:49 +08:00
1808837298@qq.com
69e6d5ce51
feat: update readme and i18n
2025-03-08 18:13:44 +08:00
1808837298@qq.com
f939c28b7a
fix: Adjust DeepSeek cache ratio to 0.1
2025-03-08 16:51:43 +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
314878ff20
fix: Update default cache ratio from 0.5 to 1
2025-03-08 02:47:41 +08:00
1808837298@qq.com
ec818773f5
chore: Update terminology from "cache ratio" to "cache multiplier" in UI and add placeholder for default create cache ratio
2025-03-08 02:44:09 +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
1808837298@qq.com
5aa67994b1
refactor: Reorganize sidebar navigation and add personal settings route
2025-03-07 17:22:37 +08:00
1808837298@qq.com
783c60ee4d
feat: Enhance channel status update with success tracking and dynamic notification #812
2025-03-06 17:46:03 +08:00
1808837298@qq.com
063618e256
fix: Handle error in NotifyRootUser and log system errors #812
2025-03-06 17:25:39 +08:00
1808837298@qq.com
fa20af817f
refactor: Improve model request rate limit middleware execution
2025-03-06 16:32:11 +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
3f824d7781
Update README.md
2025-03-05 16:55:17 +08:00
1808837298@qq.com
8b52803910
fix: vertex claude
2025-03-05 16:43:40 +08:00
1808837298@qq.com
208824451a
fix : #810
2025-03-05 16:39:42 +08:00
1808837298@qq.com
62542b0b84
fix : #810
2025-03-05 16:34:08 +08:00
1808837298@qq.com
da79af07d2
refactor: Extract operation-related settings into a separate package
2025-03-04 18:52:08 +08:00
1808837298@qq.com
6f64e6cde9
Update README.md
2025-03-04 18:50:05 +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
33d171bc91
Merge remote-tracking branch 'origin/main'
2025-03-04 17:11:07 +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
d499b6410c
feat: Improve image download and validation in GetImageFromUrl
2025-03-03 16:15:04 +08:00
1808837298@qq.com
4208ecb92c
fix: channel test model mapped
2025-03-02 23:53:10 +08:00
1808837298@qq.com
c450fb5c2d
feat: yanjingxia
2025-03-02 23:17:37 +08:00
1808837298@qq.com
53b9bce353
feat: Add model testing modal with search functionality in ChannelsTable
...
- Implement a new modal for selecting and testing models per channel
- Add search functionality to filter models by keyword
- Replace dropdown with direct button for model testing
- Introduce new state variables for managing model test modal
2025-03-02 19:53:35 +08:00
1808837298@qq.com
35cd4fde3a
refactor: Add index to Username column in Log model
2025-03-02 17:57:52 +08:00
1808837298@qq.com
3f1e340391
refactor: Update rate limit configuration to use dynamic expiration duration
2025-03-02 17:34:39 +08:00
1808837298@qq.com
574e28bad8
fix: Use channel group in model testing log record
2025-03-02 15:59:39 +08:00
1808837298@qq.com
1665fcee3c
refactor: Improve channel testing and model price handling
2025-03-02 15:47:12 +08:00
1808837298@qq.com
90c9c1b587
feat: Persist models expanded state in PersonalSetting component
2025-03-02 01:35:50 +08:00
1808837298@qq.com
6e07286e53
feat: Enhance update checking and system information display
...
- Add version and startup time display in OtherSetting component
- Implement robust GitHub release update checking mechanism
- Add error handling for update check process
- Update Modal component for displaying update information
- Add new translations for version and system information
2025-03-02 01:31:27 +08:00
1808837298@qq.com
5e22043040
feat: Add self-use mode and demo site mode indicators to HeaderBar
2025-03-02 00:46:54 +08:00
1808837298@qq.com
8c0219ebe5
fix: Correct option map key for PreConsumedQuota
2025-03-01 22:37:14 +08:00
1808837298@qq.com
56a06df41c
feat: Add translations for self-use mode and demo site mode settings
2025-03-01 21:15:59 +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
2025-03-01 17:02:31 +08:00
1808837298@qq.com
3f7d9c4b0f
fix: Improve error handling for model ratio and price validation #800
2025-03-01 15:27:32 +08:00
1808837298@qq.com
159f39d119
fix: Improve model ratio and price management
...
- 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
...
- 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
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
...
- 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
2025-02-28 16:47:31 +08:00
1808837298@qq.com
6be0914bb6
fix: Simplify Claude settings value conversion logic
2025-02-27 22:26:21 +08:00
1808837298@qq.com
58a9c63657
fix: Prevent duplicate headers in Claude settings
2025-02-27 22:14:53 +08:00
1808837298@qq.com
9a6d84dbd6
refactor: Reorganize Claude MaxTokens configuration UI layout
2025-02-27 22:12:14 +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
71682f1522
fix: Update Claude thinking adapter token percentage input guidance
2025-02-27 20:59:32 +08:00
1808837298@qq.com
ed1a1c9b09
fix: Correct model request configuration in Vertex Claude adaptor
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
fd6ae3ea78
feat: Add Claude model configuration management #791
2025-02-27 20:49:21 +08:00
1808837298@qq.com
fe9a3025d1
fix: Add pagination support to user search functionality
2025-02-27 16:55:02 +08:00
1808837298@qq.com
bf9f5e59b5
chore: Update Azure OpenAI API version and embedding model detection
...
- Enhance channel test to detect more embedding models
- Update Azure OpenAI default API version to 2024-12-01-preview
- Remove redundant default API version setting in channel edit
- Add user cache writing in channel test
2025-02-27 16:49:32 +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
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
ce03e77906
fix: Update Gemini safety settings to use 'OFF' as default
2025-02-26 19:20:17 +08:00