Calcium-Ion
4cc1f2b4e3
Merge pull request #1020 from QuantumNous/v1responses
...
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
feat: support /v1/responses API
2025-05-04 17:13:39 +08:00
CaIon
4bf0d094c4
feat: add video URL support in MediaContent and update token counting logic
2025-05-03 21:12:07 +08:00
creamlike1024
8ea4c76f2b
feat: support /v1/responses API
2025-05-02 13:59:46 +08:00
CaIon
d309727e99
fix: gemini thinking tokens count #1014
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-04-29 16:21:54 +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
9e4506ebaf
feat: 完善openai转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
2025-04-11 18:28:50 +08:00
CaIon
577b18a1a1
feat: enhance file handling and logging in the application
2025-04-11 16:23:54 +08:00
1808837298@qq.com
b93827c425
feat: support dify upload image file
2025-03-15 19:10:12 +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
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
991b6f8bb0
fix: mistral
2025-02-22 16:29:48 +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
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
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
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
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
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