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
1808837298@qq.com
832f4b2b1a
fix: Update Gemini safety settings category
2025-02-26 19:18:00 +08:00
1808837298@qq.com
7100c787d4
fix: Update Gemini safety settings default value
2025-02-26 19:01:45 +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 )
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
...
- 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
1808837298@qq.com
8c2323d74d
feat: redis poolsize
2025-02-25 19:39:29 +08:00
1808837298@qq.com
583678d9ff
fix: Adjust Claude thinking mode request parameters
2025-02-25 16:52:45 +08:00
1808837298@qq.com
fd38e59f78
docs: Update README
2025-02-25 16:31:42 +08:00
1808837298@qq.com
d4706d6b8e
Merge branch 'main' into thinking
...
# Conflicts:
# relay/channel/claude/dto.go
2025-02-25 15:21:22 +08:00
1808837298@qq.com
6c8016e5f8
feat: Add support for Claude thinking parameter in request
2025-02-25 14:37:03 +08:00
1808837298@qq.com
c62276fcc4
feat: Add Claude 3.7 Sonnet model to AWS channel mapping
2025-02-25 02:55:23 +08:00
1808837298@qq.com
15a3b44689
feat: Add support for Claude 3.7 Sonnet model
2025-02-25 02:51:31 +08:00
1808837298@qq.com
8f3c7280cf
feat: Support max_tokens parameter for Ollama channel #782
2025-02-24 17:35:49 +08:00
1808837298@qq.com
6f3072895a
feat: Add model rate limit settings in system configuration
2025-02-24 16:27:20 +08:00
1808837298@qq.com
1763145fea
feat: Add model request rate limiting functionality
2025-02-24 16:20:55 +08:00
1808837298@qq.com
66831a1bde
feat: Add support for different Dify bot types and request URLs
2025-02-24 14:18:30 +08:00
1808837298@qq.com
fd44ac7c0c
feat: Enhance token counting and content parsing for messages
2025-02-24 14:18:15 +08:00
1808837298@qq.com
7becf62a7a
fix: Improve 429 error logging with detailed message
2025-02-23 21:26:31 +08:00
1808837298@qq.com
40c0333eaa
fix typo
2025-02-23 17:27:33 +08:00
1808837298@qq.com
65021e2e0e
feat: Add thinking-to-content option in channel extra settings #780
2025-02-23 17:13:08 +08:00
1808837298@qq.com
4597816a14
feat: Add thinking-to-content conversion for stream responses
2025-02-23 17:05:57 +08:00
1808837298@qq.com
991b6f8bb0
fix: mistral
2025-02-22 16:29:48 +08:00
1808837298@qq.com
0333576bee
fix: fix image ratio calculation
2025-02-22 15:50:18 +08:00
1808837298@qq.com
7a13f9c99a
fix: Ensure correct quota warning threshold type conversion
2025-02-22 15:19:55 +08:00
1808837298@qq.com
1c20d16c49
chore: update rerank.md
2025-02-22 15:13:26 +08:00
1808837298@qq.com
3eb186825d
fix: ShouldDisableChannel
2025-02-22 02:02:03 +08:00
1808837298@qq.com
d71315cfa5
fix: mistral adaptor ( close #774 )
2025-02-21 22:21:19 +08:00
1808837298@qq.com
8101cd3ce3
feat: Add reasoning content support in OpenAI response handling
2025-02-21 18:52:51 +08:00
1808837298@qq.com
4a49d6c795
refactor: Improve message content parsing with robust type handling
2025-02-21 18:27:43 +08:00
1808837298@qq.com
4194f4bd21
refactor: Improve message content handling and quota error responses
2025-02-21 18:18:21 +08:00
1808837298@qq.com
e1784f8981
refactor: Optimize sensitive word detection and text processing
2025-02-21 17:05:35 +08:00
1808837298@qq.com
78f9a30c39
feat: Enhance sensitive word detection with detailed logging
2025-02-21 16:57:30 +08:00
1808837298@qq.com
009333da8b
refactor: Improve quota error messages with formatted quota display
2025-02-21 16:42:48 +08:00
1808837298@qq.com
23bfc06fd8
feat: Add base URL input with localized tooltip for channel configuration
2025-02-21 16:17:59 +08:00
1808837298@qq.com
f64540cd1c
feat: Add localization for notification and webhook settings
2025-02-21 15:36:24 +08:00
1808837298@qq.com
1e0b414fc0
refactor: Simplify model mapping and pricing logic across relay modules
2025-02-20 16:41:46 +08:00
1808837298@qq.com
8dbac87e92
fix: Correct Ollama channel authentication header setting
2025-02-20 01:28:15 +08:00
CalciumIon
1f6cb4bd5d
feat: Improve mobile text truncation and sidebar visibility
2025-02-19 23:25:42 +08:00
1808837298@qq.com
5ef44f6898
feat: Improve image handling for Ollama channels
2025-02-19 20:45:42 +08:00
1808837298@qq.com
604a5b1ad5
feat: Enhance Ollama channel support with additional request parameters #771
2025-02-19 19:58:34 +08:00
1808837298@qq.com
cc61f85bdd
fix: Remove redundant error handling in distributor and relay modules
2025-02-19 18:47:28 +08:00
1808837298@qq.com
4ea2556b29
refactor: Replace manual goroutine creation with gopool.Go
2025-02-19 18:38:29 +08:00
1808837298@qq.com
8a34d61654
chore: update env name and README
2025-02-19 15:54:33 +08:00
1808837298@qq.com
67f02e0a6a
docs: Add proxy usage information note in SystemSetting component
2025-02-19 15:45:09 +08:00
1808837298@qq.com
097d02eb8b
feat: Implement comprehensive webhook notification system
2025-02-19 15:40:54 +08:00
1808837298@qq.com
1ae0a38485
refactor: Optimize user caching and token retrieval methods
2025-02-19 15:12:26 +08:00
1808837298@qq.com
af9d03140c
fix: Extend temperature handling for OpenAI-like models
...
- Add support for suppressing temperature for o1 models
- Expand model prefix check to include 'o1' alongside 'o3' models
2025-02-18 16:00:56 +08:00
1808837298@qq.com
83e161a1d4
refactor: Simplify root user notification and remove global email variable
...
- Remove global `RootUserEmail` variable
- Modify channel testing and user notification methods to use `GetRootUser()`
- Update user cache and notification service to use more consistent user base type
- Add new channel test notification type
2025-02-18 15:59:17 +08:00
1808837298@qq.com
9a41c04416
feat: Implement notification rate limiting mechanism
...
- Add in-memory and Redis-based notification rate limiting
- Create configurable hourly notification limits
- Implement notification limit checking for user notifications
- Add environment variables for customizing notification limits
2025-02-18 15:30:43 +08:00
1808837298@qq.com
e0ce8bf2b3
refactor: Improve CompletionRatio handling with thread-safe access and initialization
2025-02-18 15:01:43 +08:00
1808837298@qq.com
0fcd243f56
feat: Add user notification settings with quota warning and multiple notification methods
...
- Implement user notification settings with email and webhook options
- Add new user settings for quota warning threshold and notification preferences
- Create backend API and database support for user notification configuration
- Enhance frontend personal settings with notification configuration UI
- Support custom notification email and webhook URL
- Add service layer for sending user notifications
2025-02-18 14:54:21 +08:00
1808837298@qq.com
a353ea3eee
Merge remote-tracking branch 'origin/main'
2025-02-17 18:15:13 +08:00
1808837298@qq.com
1cfe06c3d8
feat: Add support for DeepSeek completions endpoint
2025-02-17 18:15:01 +08:00
1808837298@qq.com
65faa158b6
refactor: Optimize channel testing and model menu generation ( fix #761 )
2025-02-15 19:12:28 +08:00
1808837298@qq.com
d43c5d6003
refactor: Improve channel property update mechanism ( fix #761 )
2025-02-15 15:30:55 +08:00
1808837298@qq.com
2869dbf60a
feat: Enhance VolcEngine channel support with bot model routing ( fix #757 )
2025-02-15 00:10:58 +08:00