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 |
|
CaIon
|
60a9bd45c6
|
feat: add xAI handling and response processing
|
2025-04-10 17:20:59 +08:00 |
|
CaIon
|
32db85607e
|
fix: Update model ratios for gemini-2.5-pro
|
2025-04-10 00:09:11 +08:00 |
|
CaIon
|
ed855e78f7
|
refactor: Remove duplicate model settings initialization in main function
|
2025-04-10 00:07:34 +08:00 |
|
CaIon
|
b4889878d0
|
refactor: Update localization keys for API address in English translations and adjust related UI labels
|
2025-04-09 22:22:19 +08:00 |
|
CaIon
|
ac06e9a46f
|
feat: Add CheckSetup function call in main to ensure proper initialization #942
|
2025-04-08 18:14:36 +08:00 |
|
CaIon
|
c40404a8c1
|
Update MaxTokens for gemini model to 300 in test request
|
2025-04-08 17:37:25 +08:00 |
|
CaIon
|
d85e25fc46
|
feat: Integrate SetupCheck component for improved setup validation in routing
|
2025-04-08 17:31:46 +08:00 |
|
CaIon
|
9dc851d6ef
|
feat: Initialize model settings and improve concurrency control in operation settings
|
2025-04-07 22:20:47 +08:00 |
|
CaIon
|
9be721ee29
|
feat: Add concurrency control to group ratio management with mutexes
|
2025-04-07 21:55:54 +08:00 |
|
CaIon
|
69d790b47a
|
Update model-ratio.go
|
2025-04-04 23:43:14 +08:00 |
|
CaIon
|
1e95160293
|
Update model-ratio.go
|
2025-04-04 23:41:41 +08:00 |
|
CaIon
|
eca18ce25c
|
fix: Improve setup check logic and logging for system initialization
|
2025-04-04 21:27:24 +08:00 |
|
CaIon
|
ad7a64e585
|
Update model-ratio.go
|
2025-04-04 00:31:24 +08:00 |
|
CaIon
|
d8b8a44c9c
|
✨ feat: Enhance ModelSettingsVisualEditor with pricing modes and improved model management features
|
2025-04-03 20:42:08 +08:00 |
|
CaIon
|
c2a37d83a7
|
✨ feat: Add new localization strings for system initialization
|
2025-04-03 19:27:25 +08:00 |
|
CaIon
|
a1f6781c0e
|
fix: Update option key from SelfUseModeEnabled to DemoSiteEnabled in PostSetup function
|
2025-04-03 19:21:53 +08:00 |
|
CaIon
|
88f7c0670f
|
feat: Add timestamp and version to setup initialization in PostSetup function
|
2025-04-03 19:16:17 +08:00 |
|
CaIon
|
c08edc315d
|
fix: Correct option key for SelfUseModeEnabled in setup controller
|
2025-04-03 19:15:04 +08:00 |
|
CaIon
|
683accf05b
|
Merge remote-tracking branch 'origin/main'
|
2025-04-03 19:09:26 +08:00 |
|
CaIon
|
d8c10dcb51
|
Update README.md
|
2025-04-03 19:09:13 +08:00 |
|
CaIon
|
07d31760da
|
✨ feat: Refine personal mode description in setup page for clarity
|
2025-04-03 19:01:16 +08:00 |
|
CaIon
|
f33ebc8e2c
|
✨ feat: Implement system setup functionality
|
2025-04-03 18:57:15 +08:00 |
|
CaIon
|
1de0d9123b
|
Merge remote-tracking branch 'origin/main'
|
2025-04-03 17:33:03 +08:00 |
|
CaIon
|
f0925dc105
|
✨ feat: Enhance user settings and notification options
|
2025-04-03 17:32:48 +08:00 |
|
1808837298@qq.com
|
638950c230
|
feat: Add new cache ratios for o3-mini and gpt-4.5-preview models
|
2025-03-27 18:47:50 +08:00 |
|
1808837298@qq.com
|
3b047b18fd
|
update model ratio
|
2025-03-27 17:02:09 +08:00 |
|
1808837298@qq.com
|
a696cf5832
|
feat: Enhance GetCompletionRatio function
|
2025-03-27 16:38:29 +08:00 |
|
1808837298@qq.com
|
29ef130794
|
update model ratio
|
2025-03-27 16:24:30 +08:00 |
|
1808837298@qq.com
|
18b5122a9b
|
fix: Adjust MaxTokens logic for non-Claude models in test request
|
2025-03-17 23:44:32 +08:00 |
|
1808837298@qq.com
|
6e17d31e92
|
feat: Add support for cross-region AWS model handling in awsStreamHandler
|
2025-03-17 23:41:00 +08:00 |
|
1808837298@qq.com
|
5e06085744
|
refactor: Improve token quota consumption logic
|
2025-03-17 17:52:54 +08:00 |
|
1808837298@qq.com
|
9b2cc6add7
|
feat: Enhance ConvertClaudeRequest method to set request model and handle vertex-specific request conversion
|
2025-03-17 17:13:33 +08:00 |
|
1808837298@qq.com
|
4f6167243f
|
feat: Update RerankerInfo structure and modify GenRelayInfoRerank function to accept RerankRequest
|
2025-03-17 16:44:53 +08:00 |
|
1808837298@qq.com
|
9b85cb2371
|
refactor: Update ClaudeResponse error handling to use pointer for ClaudeError and improve nil checks in response processing
|
2025-03-16 23:14:45 +08:00 |
|
1808837298@qq.com
|
08db1449d6
|
Update README
|
2025-03-16 21:53:00 +08:00 |
|
1808837298@qq.com
|
2db59995ad
|
Update README
|
2025-03-16 21:47:32 +08:00 |
|
1808837298@qq.com
|
aa04c573dc
|
Update README
|
2025-03-16 21:17:08 +08:00 |
|
1808837298@qq.com
|
8918381c96
|
feat: support xinference rerank to jina format
|
2025-03-16 21:06:29 +08:00 |
|
1808837298@qq.com
|
6e8916207e
|
refactor: Enhance Claude response handling
|
2025-03-16 19:11:58 +08:00 |
|
1808837298@qq.com
|
62dc82638d
|
feat: Introduce JSON decoding utility functions and update error handling in Claude and OpenAI response structures
|
2025-03-16 18:34:39 +08:00 |
|
1808837298@qq.com
|
2bfd471ff0
|
Merge remote-tracking branch 'origin/main'
|
2025-03-16 16:48:15 +08:00 |
|
1808837298@qq.com
|
9b6d92601a
|
refactor: Enhance error handling in AWS and Claude response processing by updating function signatures and improving error propagation
|
2025-03-16 16:47:16 +08:00 |
|
1808837298@qq.com
|
cc406e4fad
|
refactor: Streamline AWS and Claude response handling by consolidating logic and improving error management
|
2025-03-16 16:07:51 +08:00 |
|
1808837298@qq.com
|
921ad4530e
|
refactor: Replace direct access to ImageUrl with GetImageMedia method across multiple relay channels
|
2025-03-15 19:43:37 +08:00 |
|
1808837298@qq.com
|
476cb6f20f
|
feat: Add warning modal for base URL input and display warning banner for specific channel type in EditChannel component
|
2025-03-15 19:38:05 +08:00 |
|
1808837298@qq.com
|
b93827c425
|
feat: support dify upload image file
|
2025-03-15 19:10:12 +08:00 |
|
1808837298@qq.com
|
b869cec78b
|
refactor: Change ClaudeError field type to non-pointer and enhance response handling with reasoning content
|
2025-03-14 17:48:26 +08:00 |
|
CalciumIon
|
5021000c5d
|
refactor: Simplify OpenAI handler function signature and remove unused TextResponseWithError struct; introduce common_handler for rerank functionality
|
2025-03-14 17:31:05 +08:00 |
|
CalciumIon
|
d3cdbd2fac
|
feat: Add HasSentThinkingContent field to ThinkingContentInfo struct
|
2025-03-14 17:09:40 +08:00 |
|
CalciumIon
|
15c5fbd3c8
|
refactor: Update token usage calculation in FormatClaudeResponseInfo #865
|
2025-03-14 17:00:39 +08:00 |
|
1808837298@qq.com
|
25aaefc6b1
|
chore: Update GitHub Actions workflows and refactor adaptor logic for Docker image builds
|
2025-03-13 21:10:39 +08:00 |
|
1808837298@qq.com
|
47c297794d
|
feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
|
2025-03-13 19:32:08 +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
|
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 |
|