docs(skills): document APISIX 3.17 Bedrock support - #59
Conversation
📝 WalkthroughWalkthroughThe AI proxy skill documentation now covers Amazon Bedrock, request protocols, endpoint behavior, streaming, and provider-specific authentication. It adds configuration details for Vertex AI and Amazon Bedrock. ChangesAI proxy documentation
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/a6-plugin-ai-proxy/SKILL.md`:
- Around line 35-36: Update the protocol support description in SKILL.md to
document that Anthropic Messages requests use a URI ending in /v1/messages and
Bedrock Converse requests use /converse. Clarify that Bedrock streaming still
uses /converse for detection, with stream: true selecting the outgoing
/converse-stream endpoint, and that omitting these suffixes may cause body-only
protocol detection such as OpenAI Chat.
- Around line 97-111: Add the required "anthropic-version": "2023-06-01" entry
to the Anthropic auth.header example, alongside x-api-key, so the documented
native Messages configuration includes both required headers.
- Line 68: Update the options.stream documentation in SKILL.md to explain that
Bedrock Converse with stream: true uses the /model/{modelId}/converse-stream
endpoint and returns unmodified AWS EventStream binary frames with Content-Type
application/vnd.amazon.eventstream rather than SSE; explicitly instruct clients
to parse EventStream responses.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f97133c2-b4f7-4718-9aca-3e87762b5afe
📒 Files selected for processing (1)
skills/a6-plugin-ai-proxy/SKILL.md
There was a problem hiding this comment.
Pull request overview
Updates the AI proxy skill to reflect APISIX 3.17 support for Amazon Bedrock and additional request protocols.
Changes:
- Adds Bedrock provider, authentication, region, model, and streaming guidance.
- Clarifies supported protocols, endpoint selection, and Anthropic authentication.
- Expands provider configuration reference details.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
a6-plugin-ai-proxyguidance for Amazon Bedrock and the current protocol surface.auth.awscredentials,provider_conf.region, model configuration, and Converse streaming behavior.Why
APISIX 3.17.0 includes the Bedrock provider, but the A6 skill still described only the earlier nine-provider surface. Regenerating the AI Agent Skills pages in api7/docs#2067 exposed that stale guidance.
Verified against the released Apache APISIX 3.17.0
ai-providers,ai-proxy, and Bedrock protocol implementation.This changes skill guidance only. It does not change A6 or APISIX runtime behavior, the skill's
version: "1.0.0"metadata, or repository releases.Validation
make checkgo test ./test/skillsgit diff --checkRequired by api7/docs#2067.
Summary by CodeRabbit