fix: rebuild dist with correct GitHub Models endpoint and robust error handling - #3
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 |
|
Hello 👋 This PR has had no activity for more than 2 weeks. If you are still working on it, please push an update or leave a comment. Ping a maintainer if you believe it is ready for review or merge! This PR will be automatically closed in 7 days if there is no further activity. |
|
This PR was automatically closed after being stale for 7 days with no activity. 😔 If you would like to continue, please reopen it and ping a maintainer for a review. Thank you for your contribution to AOSSIE! 🙏 |
Summary
Fixes #2
dist/index.js— the fileaction.ymlpoints to viamain: dist/index.js— was stale and calling the deprecated Azure endpoint, makingpromptandadvancedmodes completely broken for all users. This PR rebuildsdist/from the currentsrc/to fix it.Root Cause
The
build-dist.ymlworkflow rebuildsdist/only when a PR is merged.src/agent.jswas updated with a new endpoint, timeout, and error handling improvements — but a rebuild was never committed, leavingdist/index.jspointing at the old deprecated URL.Changes in the rebuilt dist
models.inference.ai.azure.com(deprecated)models.github.ai/inferenceAbortControllercore.setFailed— kills actioncore.warning+ graceful[]application/vnd.github+jsonX-GitHub-Api-Version: 2026-03-10How to verify
All four lines should print
true.