CaIon
1e95160293
Update model-ratio.go
2025-04-04 23:41:41 +08:00
jasinliu
111cedf795
fix dify thinking
2025-03-28 00:21:27 +08:00
Seefs
f501a3e92e
fix: claude function calling type
2025-03-19 22:48:49 +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
9b2cc6add7
feat: Enhance ConvertClaudeRequest method to set request model and handle vertex-specific request conversion
2025-03-17 17:13:33 +08:00
Calcium-Ion
eafbfac6a0
Merge pull request #872 from neotf/main
...
feat: support AWS Model CrossRegion
2025-03-17 16:18:11 +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
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
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
Calcium-Ion
e951d55247
Merge pull request #874 from HynoR/feat/gemini2
...
Chore: Sync Cohere Latest Model
2025-03-15 19:44:37 +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
b93827c425
feat: support dify upload image file
2025-03-15 19:10:12 +08:00
TAKO
adbfdd0150
Sync Cohere Latest Model
2025-03-15 12:12:46 +08:00
neotf
ac9bd53098
feat: support AWS Model CrossRegion
2025-03-15 01:42:24 +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
Calcium-Ion
6d5abaa404
Merge pull request #867 from Sh1n3zZ/wrong-think-label-fix
...
fix: wrong thinking labels appear in non-thinking models (#861 )
2025-03-14 16:59:56 +08:00
CalciumIon
15c5fbd3c8
refactor: Update token usage calculation in FormatClaudeResponseInfo #865
2025-03-14 17:00:39 +08:00
Sh1n3zZ
7513065760
fix: wrong thinking labels appear in non-thinking models ( #861 )
2025-03-14 03:13:52 +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
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
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
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
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
a36d6de8d1
feat: Add prompt cache hit tokens support for DeepSeek channel #406
2025-03-08 16:50:53 +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
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
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
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
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
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
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