Update AI Workspace and AI Gateway setup commands to reference the latest release - #406
Conversation
…test release versions (v1.0.0-rc3 and v1.2.0-rc2) for improved accuracy.
📝 WalkthroughWalkthroughUpdated AI Gateway and AI Workspace documentation commands to download and extract gateway ChangesAI Workspace release updates
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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: 1
🤖 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 `@en/docs/next/ai-workspace/getting-started.md`:
- Around line 30-31: Update the AI Workspace download command in the
getting-started instructions to use the published release tag and matching
archive filename, ensuring the curl and unzip commands reference the same
available asset.
🪄 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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 1d5883da-ec65-43dd-a984-9d49437475b6
📒 Files selected for processing (2)
en/docs/next/ai-workspace/ai-gateways/setting-up.mden/docs/next/ai-workspace/getting-started.md
| curl -sLO https://github.com/wso2/api-platform/releases/download/portals/ai-workspace/v1.0.0-rc3/wso2apip-ai-workspace-1.0.0-rc3.zip && \ | ||
| unzip wso2apip-ai-workspace-1.0.0-rc3.zip |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
curl -fsSIL 'https://github.com/wso2/api-platform/releases/download/portals/ai-workspace/v1.0.0-rc3/wso2apip-ai-workspace-1.0.0-rc3.zip'Repository: wso2/docs-api-platform
Length of output: 1025
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "Releases tag refs:"
gh api repos/wso2/api-platform/git/ref/tags/v1.0.0-rc3 --jq '{ref, sha, type: .object.type}' 2>/dev/null || true
if [ "$(gh api repos/wso2/api-platform/git/ref/tags/v1.0.0-rc3 --jq '.object.type' 2>/dev/null)" = "tag" ]; then
SHA="$(gh api repos/wso2/api-platform/git/ref/tags/v1.0.0-rc3 --jq '.object.sha' 2>/dev/null)"
echo "tag object SHA: $SHA"
gh api repos/wso2/api-platform/git/tags/"$SHA" --jq '{sha, object: .object}' 2>/dev/null || true
fi
echo
echo "Assets under v1.0.0-rc3:"
gh api repos/wso2/api-platform/releases/tags/v1.0.0-rc3/assets --paginate --jq '.[] | {name, browser_download_url, size}' 2>/dev/null || true
echo
echo "Candidate URLs:"
curl -fsSIL 'https://github.com/wso2/api-platform/releases/download/v1.0.0-rc3/wso2apip-ai-workspace-1.0.0-rc3.zip' || true
curl -fsSIL 'https://github.com/wso2/api-platform/releases/download/1.0.0-rc3/wso2apip-ai-workspace-1.0.0-rc3.zip' || true
echo 'https://github.com/wso2/api-platform/releases/tag/v1.0.0-rc3'Repository: wso2/docs-api-platform
Length of output: 2237
Publish or correct the AI Workspace download URL.
The documented release tag and release assets are not available, so the curl command cannot download the archive. Use the published archive URL before merging this step.
🤖 Prompt for 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.
In `@en/docs/next/ai-workspace/getting-started.md` around lines 30 - 31, Update
the AI Workspace download command in the getting-started instructions to use the
published release tag and matching archive filename, ensuring the curl and unzip
commands reference the same available asset.
Source: MCP tools
latest release versions (v1.0.0-rc3 and v1.2.0-rc2) for improved accuracy.