Commit Graph

782 Commits

Author SHA1 Message Date
Kent Dong
f1dfc8f3d2 fix: Fix a field tag typo in ai-proxy (#3829)
Signed-off-by: CH3CHO <ch3cho@qq.com>
2026-05-19 15:02:36 +08:00
Kent Dong
ba774da55e feat(ext-auth): add support for allowed properties forwarding in external authorization requests (#3694)
Signed-off-by: CH3CHO <ch3cho@qq.com>
2026-05-15 16:03:50 +08:00
rinfx
e497d8017a feat(model-mapper): sync model header on remap and disable reroute (#3827)
Signed-off-by: 钰诚 <yucheng.lxr@alibaba-inc.com>
2026-05-15 14:38:54 +08:00
woody
a93847e07f Add Kling provider support (#3742)
Signed-off-by: wydream <yaodiwu618@gmail.com>
2026-05-14 16:18:00 +08:00
澄潭
b032f344e6 feat: add nginx rewrite compatible wasm plugin (#3823)
Signed-off-by: johnlanni <zty98751@alibaba-inc.com>
2026-05-14 11:24:58 +08:00
woody
c7eed0c0c1 fix(vertex): inject api key for express raw endpoints (#3777)
Signed-off-by: wydream <yaodiwu618@gmail.com>
Co-authored-by: EndlessSeeker <153817598+EndlessSeeker@users.noreply.github.com>
2026-05-13 10:18:29 +08:00
zat366
f8d81a7eb4 feat(ai-quota): add enable_path_suffixes configuration and update rel… (#3748)
Signed-off-by: zat366 <authentic.zhao@gmail.com>
Co-authored-by: Kent Dong <ch3cho@qq.com>
Co-authored-by: EndlessSeeker <153817598+EndlessSeeker@users.noreply.github.com>
2026-05-12 17:44:10 +08:00
Srikanth Patchava
29da03c371 fix: nil guards, safe type assertions, panic prevention, and rate limiter plugin (#3757)
Signed-off-by: Srikanth Patchava <spatchava@meta.com>
Signed-off-by: Srikanth Patchava <srpatcha@users.noreply.github.com>
Co-authored-by: Srikanth Patchava <srpatcha@users.noreply.github.com>
2026-05-12 11:00:37 +08:00
Jingze
1c4fe1c9f9 test(ai-proxy): expand wasm integration tests, coverage, and provider matrix (#3790)
Signed-off-by: jingze <daijingze.djz@alibaba-inc.com>
2026-05-12 10:20:08 +08:00
Betula-L
6d50e2da42 fix(ai-proxy): preserve empty Claude tool inputs (#3799)
Signed-off-by: Betula-L <6059935+Betula-L@users.noreply.github.com>
Co-authored-by: Betula-L <6059935+Betula-L@users.noreply.github.com>
2026-05-09 21:35:35 +08:00
Betula-L
b77a074831 fix(ai-proxy): preserve Bedrock Claude reasoning blocks (#3788)
Signed-off-by: Betula-L <6059935+Betula-L@users.noreply.github.com>
Co-authored-by: Betula-L <6059935+Betula-L@users.noreply.github.com>
2026-05-08 10:27:48 +08:00
Betula-L
6199fe414d bugfix: map bedrock tool-call indexes and tool_choice (#3786)
Signed-off-by: Betula-L <6059935+Betula-L@users.noreply.github.com>
Co-authored-by: Betula-L <6059935+Betula-L@users.noreply.github.com>
2026-05-06 19:48:42 +08:00
rinfx
4aba4a9860 add cached token usage when converting openai to claude (#3766)
Signed-off-by: 钰诚 <yucheng.lxr@alibaba-inc.com>
2026-05-06 10:53:08 +08:00
JianweiWang
5173b4b2b8 feat(ai-security-guard): add fallback JSON paths for response content extraction (#3738)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: rinfx <yucheng.lxr@alibaba-inc.com>
2026-04-28 14:58:59 +08:00
澄潭
a93f77d838 feat(ai-prompt-decorator): add literal/regex replace rules for message content (#3739) 2026-04-20 20:52:36 +08:00
Kent Dong
8b8a710305 refactor(ai-cache): update README files to match latest config parsing code (#3730) 2026-04-20 09:45:39 +08:00
woody
65405965b6 fix(ai-proxy): harden Claude stream conversion compatibility (#3733) 2026-04-18 21:27:27 +08:00
JianweiWang
9128cbf729 fix(ai-security-guard): 移除Suggestion=block的兜底逻辑,改为基于阈值判断 || fix(ai-security-guard): Remove the cover-up logic of Suggestion=block and change it to based on threshold judgment (#3731)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-17 14:42:22 +08:00
woody
94b40aab9a feat(ai-proxy): support Qwen reranks and conversations paths (#3724) 2026-04-16 15:52:58 +08:00
woody
26e17c48eb fix(ai-proxy): migrate Qwen responses endpoint to new compatible path (#3722) 2026-04-16 10:13:25 +08:00
JianweiWang
b1187cc14d feat(ai-security-guard): enhance risk action resolution and support sensitive data masking (#3690)
Co-authored-by: rinfx <yucheng.lxr@alibaba-inc.com>
2026-04-15 11:14:56 +08:00
johnlanni
e2beb6cd45 Revert "feat(model-mapper): 新增 modelToHeader 配置项并优化 header 更新逻辑 || feat(model-mapper): Added modelToHeader configuration item and optimized header update logic (#3689)"
This reverts commit 60ce07d297.
2026-04-11 07:57:38 +08:00
woody
bf96860a78 fix(vertex): add API Key auth for Vertex Raw Express Mode and fix tok… (#3695) 2026-04-10 09:55:27 +08:00
rinfx
60ce07d297 feat(model-mapper): 新增 modelToHeader 配置项并优化 header 更新逻辑 || feat(model-mapper): Added modelToHeader configuration item and optimized header update logic (#3689) 2026-04-08 17:12:46 +08:00
rinfx
228eb27e6a feat(ai-proxy): 新增 providerBasePath 配置并优化 providerDomain 处理方式 (#3686) 2026-04-08 15:23:15 +08:00
JianweiWang
1c9e981bf2 feat(ai-security-guard): replace denyMessage with structured DenyResponseBody (#3642)
Co-authored-by: rinfx <yucheng.lxr@alibaba-inc.com>
2026-04-01 19:38:01 +08:00
woody
89587c1c9b fix: remove non-standard thinking/reasoning_max_tokens from Claude-to… (#3667) 2026-04-01 09:40:14 +08:00
woody
cd8ed99db5 Vertex structured outputs (#3649) 2026-03-30 17:26:55 +08:00
woody
889ea67013 feat(provider): 优化 Azure multipart 处理 || feat(provider): Optimize Azure multipart processing (#3651) 2026-03-30 13:45:41 +08:00
rinfx
231ba1cd23 support gemini & claude domain setting (#3638) 2026-03-26 11:12:30 +08:00
rinfx
cce53203ce ai-statistics: increase default value_length_limit and emit AILog during streaming usage (#3624) 2026-03-23 14:04:02 +08:00
Kent Dong
ca22fcb90b feat: Add responses to the default path suffix list of model-router and model-mapper (#3585) 2026-03-20 13:52:49 +08:00
澄潭
ca7ee6ef5f feat(ai-proxy): add promoteThinkingOnEmpty and hiclawMode config options (#3625)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 00:39:47 +08:00
woody
045238944d Feat/new api path support (#3620) 2026-03-19 19:25:55 +08:00
woody
62df71aadf feat(ai-proxy): 添加Amazon Bedrock Prompt Cache保留策略配置及优化缓存处理逻辑 (#3609) 2026-03-18 20:37:04 +08:00
woody
8961db2e90 fix: vertex streaming chunk parse (#3599) 2026-03-16 21:13:18 +08:00
woody
94f0d7179f fix: bedrock canonical URI sig (#3590) 2026-03-16 14:54:19 +08:00
澄潭
f1e305844e feat(ai-proxy): add mergeConsecutiveMessages option to merge consecutive same-role messages (#3598)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 14:28:17 +08:00
woody
68d6090e36 feat(bedrock): prompt caching params transform (#3563) 2026-03-12 17:44:42 +08:00
Damos chen
13b808c1e4 fix(mcp-session): send SSE endpoint event via local goroutine InjectData (#3567) 2026-03-05 20:17:16 +08:00
johnlanni
aa502e7e62 remove openai-compat in developerRoleSupportedProviders 2026-03-05 10:09:47 +08:00
johnlanni
2e3f6868df Revert "openai compatiable developer replace"
This reverts commit 6c9747d778.
2026-03-05 10:07:54 +08:00
johnlanni
6c9747d778 openai compatiable developer replace 2026-03-04 19:57:31 +08:00
woody
c12183cae5 修复 ai-proxy 插件 Bedrock Provider 在 AWS AK/SK 鉴权模式下仅对部分 API 进行 SigV4 签名的问题 || Fixed the problem of ai-proxy plug-in Bedrock Provider only performing SigV4 signature on some APIs in AWS AK/SK authentication mode (#3549) 2026-03-02 09:55:31 +08:00
woody
e2a22d1171 [ai-proxy] vertex image edits & variations (#3536) 2026-02-27 10:18:30 +08:00
Jingze
e9aecb6e1f fix(ai-proxy): update anthropic messages endpoint path for qwen provider (#3530) 2026-02-25 10:26:25 +08:00
澄潭
8576128e4c feat(ai-statistics): add Claude/Anthropic streaming tool calls parsing support (#3523) 2026-02-21 14:14:22 +08:00
澄潭
9346f1340b refactor: migrate MCP SDK to main repo (#3516) 2026-02-16 23:39:18 +08:00
澄潭
1c847dd553 feat(ai-proxy): strip dynamic cch field from billing header to enable caching (#3518) 2026-02-15 23:57:08 +08:00
澄潭
a07f5024a9 fix(ai-proxy): convert OpenAI tool role to Claude user role with tool_result (#3517) 2026-02-15 22:45:09 +08:00