johnlanni
caf910cf48
feat(ai-proxy): add Claude Code mode support for Claude provider
...
Add claudeCodeMode configuration option to emulate Claude Code client
requests, enabling OAuth token authentication with Claude API.
Changes:
- Add claudeCodeMode config field in ProviderConfig
- Transform request headers for Claude Code mode:
- Use Bearer token authorization instead of x-api-key
- Set user-agent to claude-cli/2.1.2 (external, cli)
- Set x-app: cli header
- Set anthropic-beta with OAuth and Claude Code features
- Add ?beta=true query parameter to path
- Add cache_control with ephemeral type to system prompts in Claude Code mode
This allows users to use Claude Code OAuth tokens with Higress AI proxy.
2026-02-07 01:12:33 +08:00
daofeng
07cfdaf88a
fix(ai-proxy): 处理 Qwen 响应无选择项的情况 ( #3448 )
2026-02-03 20:33:57 +08:00
澄潭
6c3fd46c6f
feat(ai-proxy): add context cleanup command support ( #3409 )
2026-01-30 17:56:31 +08:00
zikunchang
f2fcd68ef8
feature: Support getting the API key from the request header when provider.apiTokens is not configured. ( #3394 )
...
Co-authored-by: 澄潭 <zty98751@alibaba-inc.com >
2026-01-28 14:03:24 +08:00
woody
a2eb599eff
Implement Vertex Raw mode support in AI Proxy ( #3375 )
2026-01-21 14:45:06 +08:00
rinfx
3a28a9b6a7
update wasm-go dependency ( #3367 )
2026-01-20 15:13:59 +08:00
woody
399d2f372e
add support for image generation in Vertex AI provider ( #3335 )
2026-01-19 16:40:29 +08:00
woody
f1a5f18c78
feat/ai proxy vertex ai compatible ( #3324 )
2026-01-14 10:13:00 +08:00
woody
23fbe0e9e9
feat(vertex): 为 ai-proxy 插件的 Vertex AI Provider 添加 Express Mode 支持 || feat(vertex): Add Express Mode support to Vertex AI Provider of ai-proxy plug-in ( #3301 )
2026-01-13 20:00:05 +08:00
CZJCC
78d4b33424
feat(ai-proxy): add Bearer Token authentication support for Bedrock p… ( #3305 )
2026-01-07 19:39:20 +08:00
rinfx
5cc9f65aaa
support disable thinking and add reasoning token usage ( #3261 )
2025-12-26 17:04:07 +08:00
Bingkun Zhao
e7e3ab5ff6
fix: ai-proxy dify provider extract hostname from difyApiUrl ( #3257 )
2025-12-24 09:58:54 +08:00
Kent Dong
5327a598ac
fix: Switch to the new HasRequestBody logic in ai-proxy ( #3211 )
2025-12-22 09:41:31 +08:00
rinfx
e8bcbde5f4
support vertex's claude ( #3236 )
2025-12-20 10:33:53 +08:00
woody
6998800c64
fix(ai-proxy): ensure basePathHandling works with original protocol ( #3225 )
2025-12-16 20:49:21 +08:00
rinfx
7f5b37ae6d
vertex support global region ( #3213 )
2025-12-15 17:19:59 +08:00
Liang Deng
5c17d3faa3
feat(ai-proxy): support handle array content in chatToolMessage2BedrockMessage ( #3200 )
...
Signed-off-by: Liang Deng <ytdengliang@gmail.com >
Co-authored-by: rinfx <yucheng.lxr@alibaba-inc.com >
2025-12-11 14:15:38 +08:00
johnlanni
b6e94b1f60
fix(ai-proxy): only perform protocol conversion for non-original protocols
...
Change-Id: Ib8ae3ebf6b47284108663c97777032d6282bb53c
2025-12-10 18:50:23 +08:00
johnlanni
8deceb4d2c
update go sum
2025-12-09 20:48:14 +08:00
johnlanni
6bf587a4d1
add wrapper.WithRebuildMaxMemBytes(200MB) to ai-statistics&ai-proxy
2025-12-09 20:44:23 +08:00
rinfx
8a7a375ebd
doubao support configuration for domain ( #3184 )
2025-12-04 21:17:50 +08:00
woody
116e7c6904
implement generic provider for vendor-agnostic passthrough ( #3175 )
2025-12-03 09:52:47 +08:00
woody
ae0bb41885
Fix OpenAI capability rewrite dropping query string ( #3168 )
2025-11-28 17:44:22 +08:00
rinfx
7a504fd67d
remove omitempty for toolcall index ( #3148 )
...
Co-authored-by: 澄潭 <zty98751@alibaba-inc.com >
2025-11-24 16:14:00 +08:00
xujingfeng
c3077d7981
fix(ai-proxy): 调整日志级别以减少冗余警告信息 || fix(ai-proxy): Adjust log level to reduce redundant warning messages ( #3120 )
2025-11-13 19:24:14 +08:00
woody
8a3c0bb342
feat(ai-proxy): add video-related API paths and capabilities ( #3108 )
2025-11-11 19:39:49 +08:00
victorserbu2709
1300e09e28
groq add responses capability ( #3029 )
...
Co-authored-by: 澄潭 <zty98751@alibaba-inc.com >
2025-11-11 19:36:26 +08:00
rinfx
d4e6704f33
[bugfix] add claude usage & bedrock tool_call index ( #3095 )
2025-11-10 10:03:01 +08:00
rinfx
1900609fd5
include usage if stream is true ( #3084 )
2025-11-03 15:36:18 +08:00
woody
5e4c262814
Feat/vllm provider ( #3067 )
2025-10-29 14:31:38 +08:00
victorserbu2709
5fc1d6b222
Add ApiNameAnthropicMessages in claude capabilities ( #3040 )
2025-10-23 09:54:47 +08:00
澄潭
271e6036fa
feat(ai-proxy): enable Qwen compatible mode by default and add missing API endpoints ( #3032 )
2025-10-22 11:17:09 +08:00
rinfx
6b2d06a330
[bugfix] sometimes bedrock EventStream chunk is not complete ( #3010 )
2025-10-16 09:52:51 +08:00
johnlanni
15db773e24
update wasm-go dependency
2025-10-11 16:41:08 +08:00
johnlanni
fe69084c04
enable ai-proxy&ai-statistics rebuild logic with new key
2025-10-11 16:32:32 +08:00
Kent Dong
b351dc45e3
doc: Update the description of azureServiceUrl in ai-proxy README files ( #2965 )
2025-10-06 15:09:53 +08:00
johnlanni
45a11734bd
remove rebuild logic in ai-proxy&ai-statistics
2025-09-26 16:26:06 +08:00
johnlanni
063bfbfcfe
fix(ai-proxy): fix streaming process
2025-09-23 19:44:30 +08:00
澄潭
623c8da8d8
fix(ai-proxy): Fix Azure OpenAI Response API handling and service URL type detection ( #2948 )
2025-09-23 18:49:55 +08:00
aias00
88a679ee07
feat(ai-proxy): add Fireworks AI support ( #2917 )
2025-09-21 14:32:04 +08:00
rinfx
ef12f40c0e
deduplicate think tag for bedrock and vertex ( #2933 )
2025-09-18 14:35:36 +08:00
rinfx
caae3ee068
[feature] bedrock provider support multimodal and thinking ( #2897 )
2025-09-18 14:22:37 +08:00
rinfx
d7bebf79e1
vertex support multi-modal, function call and thinking ( #2926 )
2025-09-18 14:22:22 +08:00
johnlanni
1cc977c6d4
add RebuildAfterRequests config for some plugins
2025-09-12 17:31:46 +08:00
澄潭
89d414e49a
fix(ai-proxy): Avoid overwriting the existing original auth header ( #2904 )
2025-09-11 16:54:26 +08:00
澄潭
e2011cb805
fix(claude): support array content format in tool_result and remove duplicate structs ( #2892 )
2025-09-10 14:18:44 +08:00
johnlanni
4edf79a1f6
Revert "remove qwen Anthropic compatiable mode"
...
This reverts commit f7d80373f9 .
2025-09-09 21:35:31 +08:00
johnlanni
f7d80373f9
remove qwen Anthropic compatiable mode
2025-09-09 11:12:49 +08:00
aias00
91a44ea7aa
feat(provider): add support for meituan longcat || feat(provider): add support for meituan longcat ( #2883 )
2025-09-08 13:38:40 +08:00
xingpiaoliang
d053e01540
feat(ai-proxy): Add provider: nvidia's triton-server ( #2843 )
2025-09-08 13:37:30 +08:00