1808837298@qq.com
a36d6de8d1
feat: Add prompt cache hit tokens support for DeepSeek channel #406
2025-03-08 16:50:53 +08:00
Sh1n3zZ
aa6c894f56
fix: adapting return format for openrouter think content ( #793 )
2025-03-06 19:16:26 +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
Calcium-Ion
e5e73a33f0
Merge pull request #781 from zeyugao/main
...
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
feat: Pass extra_body in OpenAI request to the backend
2025-02-24 16:29:48 +08:00
1808837298@qq.com
fd44ac7c0c
feat: Enhance token counting and content parsing for messages
2025-02-24 14:18:15 +08:00
Elsa
f5bf67c636
Pass extra_body to the backend
2025-02-24 10:52:55 +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
8101cd3ce3
feat: Add reasoning content support in OpenAI response 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-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
5ef44f6898
feat: Improve image handling for Ollama channels
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2025-02-19 20:45:42 +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
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
Calcium-Ion
e661578515
Merge pull request #735 from jyc001/main
...
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
feat:Add Supoorts to FIM
2025-02-17 14:37:06 +07:00
1808837298@qq.com
61ad1adbda
feat: Improve embedding request handling and support across channels
...
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 EmbeddingRequest DTO to support more flexible input types
- Add input parsing method to handle various input formats
- Implement ConvertEmbeddingRequest for multiple channel adaptors
- Remove relayMode parameter from EmbeddingHelper
- Add input validation for embedding requests
- Simplify embedding request conversion for different channels
2025-02-12 14:39:36 +08:00
Calcium-Ion
b21ba28167
Merge pull request #723 from kuwork/main
...
Support for MokaAI M3E
2025-02-11 22:16:18 +07:00
1808837298@qq.com
93511cfbf9
feat: enhance OpenAI request and response DTOs
...
- Add `Prefix` and `ReasoningContent` fields to Message struct
- Add getter and setter methods for `Prefix`
- Make `ToolCall.ID` field optional (fix #749 )
2025-02-11 19:54:54 +08:00
e.
bec1b752d6
fix: correct JSON tags for Prompt and Suffix in GeneralOpenAIRequest
2025-02-08 00:36:42 +08:00
e.
cbca378e61
feat: add Suffix to GeneralOpenAIRequest in order to support FIM
2025-02-08 00:25:08 +08:00
kuwork
fdebb6e6e8
Merge branch 'main' into main
2025-02-04 22:52:37 +08:00
Jerry
fcc32ffbc9
Fix M3E not working
2025-01-23 05:54:39 +08:00
Butui Hu
6e710f3210
Fix temperature not being set to 0 due to json omitempty
...
The issue was caused by the `omitempty` tag in the Go struct, which prevented the `temperature` field from being included in the JSON output when it was set to 0.
Signed-off-by: Butui Hu <hot123tea123@gmail.com>
2025-01-21 12:54:09 +08:00
CalciumIon
e326679b72
feat: add multi-file type support for Gemini and 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
- Add file data DTO for structured file handling
- Implement file decoder service
- Update Claude and Gemini relay channels to handle various file types
- Reorganize worker service to cf_worker for clarity
- Update token counter and image service for new file types
2024-12-29 00:00:24 +08:00
Yan
49a0db1da8
fix: add index in the tool calls when chat by stream (gemini)
2024-12-28 17:56:31 +08:00
CalciumIon
86b9dc6314
refactor: Update Message methods to use pointer receivers
...
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
- Refactored ParseToolCalls, SetToolCalls, IsStringContent, and ParseContent methods in the Message struct to use pointer receivers, improving efficiency and consistency in handling mutable state.
- Enhanced code readability and maintainability by ensuring all relevant methods operate on the pointer receiver, aligning with Go best practices.
2024-12-22 16:30:18 +08:00
CalciumIon
18ed379597
refactor: Update SetToolCalls method to use pointer receiver
...
- Changed the SetToolCalls method to use a pointer receiver for the Message struct, allowing for modifications to the original instance.
- This change improves the method's efficiency and aligns with Go best practices for mutating struct methods.
2024-12-22 16:22:55 +08:00
CalciumIon
464220cdf1
refactor: Update OpenAI request and message handling
...
- Changed the type of ToolCalls in the Message struct from `any` to `json.RawMessage` for better type safety and clarity.
- Introduced ParseToolCalls and SetToolCalls methods to handle ToolCalls more effectively, improving code readability and maintainability.
- Updated the ParseContent method to work with the new MediaContent type instead of MediaMessage, enhancing the structure of content parsing.
- Refactored Gemini relay functions to utilize the new ToolCalls handling methods, streamlining the integration with OpenAI and Gemini systems.
2024-12-22 16:20:30 +08:00
CalciumIon
23d1c84503
Merge branch 'feat/o1'
...
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
# Conflicts:
# dto/openai_request.go
2024-12-21 16:45:45 +08:00
MartialBE
a8fa11f9d0
feat: support for Gemini structured output.
2024-12-21 16:01:17 +08:00
HynoR
11408d011d
feat: 适配o1模型
2024-12-20 22:07:53 +08:00
CalciumIon
37d6925ef6
feat: 完善audio计费
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2024-11-07 16:12:09 +08:00
1808837298@qq.com
1307a23f01
feat: realtime
...
(cherry picked from commit d4966246e68dbdcdab45ec5c5141362834d74425)
2024-11-05 19:27:47 +08:00
1808837298@qq.com
9e4133a890
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
1808837298@qq.com
698b6ed7d7
Update dto
...
(cherry picked from commit 030187ff75c64c40017cda2fa98ef2b3c01f0bd5)
2024-11-05 19:23:56 +08:00
CalciumIon
c5633221f0
feat: support gpt-4o-audio-preview
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
2024-11-04 15:27:12 +08:00
1808837298@qq.com
31c47e19f1
feat: support embedding encoding_format param
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2024-10-10 13:23:12 +08:00
1808837298@qq.com
07fa9205cb
feat: playground
2024-09-26 00:59:09 +08:00
CalciumIon
e8452869df
feat: support o1 channel test
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
2024-09-13 03:15:32 +08:00
CalciumIon
17c8ba787e
feat: claude response return model name
2024-09-11 19:12:55 +08:00
CalciumIon
e12516e93d
feat: support SiliconFlow ( close #437 , close #403 )
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2024-08-16 18:27:26 +08:00
CalciumIon
5c1a127b1c
fix: response format
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2024-08-07 15:43:01 +08:00
kakingone
442a2f0f4d
addupload
2024-07-31 15:48:51 +08:00
CalciumIon
261ba5a813
feat: support ali image
2024-07-19 00:45:52 +08:00
CalciumIon
24151ab303
feat: support gemini tool calling ( close #368 )
2024-07-18 20:28:47 +08:00
CalciumIon
dc58ff0434
feat: support claude tool calling
2024-07-18 00:36:05 +08:00
Calcium-Ion
363ae95196
Merge pull request #367 from Calcium-Ion/audio
...
feat: support cloudflare tts
2024-07-17 17:34:59 +08:00
daggeryu
9d3381a5db
fix: embedding model dimensions
2024-07-17 16:40:44 +08:00
CalciumIon
ee0e1c9736
refactor: audio relay
2024-07-16 22:07:10 +08:00