Skip to content

Fix OpenRouter broken links#94

Merged
andy1li merged 2 commits into
mainfrom
andy/fix-openrouter-link
Jul 21, 2026
Merged

Fix OpenRouter broken links#94
andy1li merged 2 commits into
mainfrom
andy/fix-openrouter-link

Conversation

@andy1li

@andy1li andy1li commented Jul 20, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Documentation-only link fixes with no runtime or logic changes.

Overview
Updates OpenRouter doc URLs across course marketing copy, stage descriptions, and language solution hints so learners land on current pages instead of broken send-chat-completion-request links.

Stage yy2 intro links now point to the quickstart API section. aq1 and md6 references, plus C++/JS/Rust/TypeScript hint configs, use create-a-chat-completion (with #body-tools where tools are documented).

Reviewed by Cursor Bugbot for commit 3066f6c. Bugbot is set up for automated code reviews on this repo. Configure here.

@andy1li andy1li self-assigned this Jul 20, 2026
@andy1li
andy1li requested a review from UdeshyaDhungana July 20, 2026 18:53
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

LLM Doc Lint

48 tests   41 ✅  0s ⏱️
 3 suites   0 💤
 1 files     7 ❌

For more details on these failures, see this check.

Results for commit 5b25922.

♻️ This comment has been updated with latest results.

@andy1li

andy1li commented Jul 20, 2026

Copy link
Copy Markdown
Member Author

Thanks to @Vahor for highlighting the issue!

@andy1li andy1li changed the title Fix OpenRouter links Fix OpenRouter broken links Jul 20, 2026
Comment thread stage_descriptions/base-01-yy2.md Outdated
@@ -1 +1 @@
Claude Code uses a REST API to communicate with the Large Language Model (LLM). In this stage, you'll communicate with the provided LLM using an [OpenAI-compatible API](https://openrouter.ai/docs/api/api-reference/chat/send-chat-completion-request).
Claude Code uses a REST API to communicate with the Large Language Model (LLM). In this stage, you'll communicate with the provided LLM using an [OpenAI-compatible API](https://openrouter.ai/docs/guides/community/openai-sdk).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andy1li Since this link shows JS example, let's use the api page link here https://openrouter.ai/docs/quickstart#using-the-openrouter-api to make it more general.

We've already mentioned that this is OpenAI compatible in the text.

Lemme know what you think.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I wasn't quite sure is that OpenRouter has changed their function name from create to send:

image.png

…y2.md to point to the new quickstart guide locations.
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

LLM Doc Lint

48 tests   42 ✅  0s ⏱️
 3 suites   0 💤
 1 files     6 ❌

For more details on these failures, see this check.

Results for commit 3066f6c.

♻️ This comment has been updated with latest results.

@andy1li
andy1li merged commit 1d9a056 into main Jul 21, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants