Seefs
5f37a1e97c
fix: fix the proxyURL is empty, not using the default HTTP client configuration && the AWS calling side did not apply the relay timeout.
2026-01-05 17:56:24 +08:00
zdwy5
e1bee48152
fix: 支持aws 通过全局参数透传或者渠道参数透传来 调用 ( #2423 )
...
* fix: 支持aws 通过全局参数透传或者渠道参数透传来 调用
* fix(aws): replace json.Unmarshal with common.Unmarshal for request body processing
---------
Co-authored-by: r0 <liangchunlei@01.ai >
Co-authored-by: CaIon <i@caion.me >
2025-12-12 17:09:27 +08:00
jason.mei
c6a8e4c252
fix(aws): simplify HTTP status code extraction from AWS errors
2025-11-28 18:03:53 +08:00
jason.mei
f2e51963dc
fix(aws): extract HTTP status code from AWS SDK errors
2025-11-28 17:43:37 +08:00
CaIon
e1a52f1d5a
feat(aws): Add support for anthropic-beta header in AwsClaudeRequest
2025-11-14 12:01:20 +08:00
iwu
3dbe0c2067
feat: aws client supports proxy settings
...
Signed-off-by: iwu <iwu@tencent.com >
2025-10-27 15:00:20 +08:00
CaIon
d4749ba388
refactor: rename AWS model ID and region prefix functions for clarity
2025-10-16 12:10:55 +08:00
CaIon
f023efdbfc
feat: support aws bedrock api-keys-use
2025-10-15 17:29:10 +08:00
CaIon
8b65623726
refactor: aws
2025-10-15 16:44:33 +08:00
Seefs
e1c7a4f41f
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
huanghejian
e3bc40f11b
pref: support amazon nova
2025-09-11 12:17:16 +08:00
huanghejian
47aaa695b2
feat: support amazon nova
2025-09-10 20:30:00 +08:00
creamlike1024
c40a4f5444
fix: claude header was not set correctly
2025-09-09 23:18:07 +08:00
CaIon
ea8cac7c10
feat: add AWS invoke error handling and new error code
2025-08-09 19:26:41 +08:00
wzxjohn
d247f90571
feat: support aws bedrock apikey
2025-08-05 23:01:30 +08:00
CaIon
98952198bb
refactor: Introduce standardized API error
...
This commit refactors the application's error handling mechanism by introducing a new standardized error type, `types.NewAPIError`. It also renames common JSON utility functions for better clarity.
Previously, internal error handling was tightly coupled to the `dto.OpenAIError` format. This change decouples the internal logic from the external API representation.
Key changes:
- A new `types.NewAPIError` struct is introduced to serve as a canonical internal representation for all API errors.
- All relay adapters (OpenAI, Claude, Gemini, etc.) are updated to return `*types.NewAPIError`.
- Controllers now convert the internal `NewAPIError` to the client-facing `OpenAIError` format at the API boundary, ensuring backward compatibility.
- Channel auto-disable/enable logic is updated to use the new standardized error type.
- JSON utility functions are renamed to align with Go's standard library conventions (e.g., `UnmarshalJson` -> `Unmarshal`, `EncodeJson` -> `Marshal`).
2025-07-10 15:02:40 +08:00
1808837298@qq.com
7143b0f160
feat: Add support for cross-region AWS model handling in awsStreamHandler
2025-03-17 23:41:00 +08:00
Calcium-Ion
b5aa3c129b
Merge pull request #872 from neotf/main
...
feat: support AWS Model CrossRegion
2025-03-17 16:18:11 +08:00
1808837298@qq.com
53b3599827
refactor: Enhance Claude response handling
2025-03-16 19:11:58 +08:00
1808837298@qq.com
ee302c063c
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
2c81a5f0cc
refactor: Streamline AWS and Claude response handling by consolidating logic and improving error management
2025-03-16 16:07:51 +08:00
neotf
892d014c26
feat: support AWS Model CrossRegion
2025-03-15 01:42:24 +08:00
1808837298@qq.com
bd48f43410
feat: claude relay
2025-03-12 21:31:46 +08:00
1808837298@qq.com
229738cda9
fix: claude to openai tools use
2025-03-12 19:29:15 +08:00
1808837298@qq.com
37a83ecc33
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00
CalciumIon
320e6ec5a4
fix: aws claude
2024-11-14 15:12:34 +08:00
1808837298@qq.com
312ab44800
feat: update claude models
2024-10-24 00:17:23 +08:00
crabkun
96bdf97194
fix: 修复aws claude渠道panic的问题
2024-07-21 01:27:29 +08:00
CalciumIon
df6502733c
feat: 完善stream_options
2024-07-08 02:00:39 +08:00
CalciumIon
9896ba0a64
feat: support aws stream_options
2024-07-08 01:52:40 +08:00
CalciumIon
1117112225
feat: first response time support aws
2024-06-27 00:19:58 +08:00
CaIon
1c6fd87909
fix: 规范claude返回格式
2024-04-26 02:56:35 +08:00
CaIon
9294127686
feat: support aws claude
2024-04-23 11:44:40 +08:00