Repository navigation
feat(changelog): add 50% discount and config updates #892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
0518833
de8110d
493b482
57a79f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,37 @@ | ||||||||||
| --- | ||||||||||
| id: "20" | ||||||||||
| slug: "claude-code-50-percent-off" | ||||||||||
| date: "2025-09-19" | ||||||||||
|
Comment on lines
+2
to
+4
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainEnsure id/slug uniqueness across changelog entries. Conflicts can break listings or routes. 🏁 Script executed: #!/bin/bash
# Check duplicate ids
rg -n '^id:\s*"[0-9]+"' apps/ui/src/content/changelog | awk -F'"' '{print $2}' | sort | uniq -d
# Check duplicate slugs
rg -n '^slug:\s*"' apps/ui/src/content/changelog | awk -F'"' '{print $2}' | sort | uniq -dLength of output: 2 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Searching for files with id \"19\" under apps/ui/src/content/changelog..."
rg -n -S '^id:\s*"19"' apps/ui/src/content/changelog || true
echo
echo "Unique files containing id \"19\":"
rg -l -S '^id:\s*"19"' apps/ui/src/content/changelog || true
echo
echo "Showing id/slug lines for each matched file:"
rg -l -S '^id:\s*"19"' apps/ui/src/content/changelog || true | while IFS= read -r f; do
echo "---- $f ----"
rg -n -S '^(id|slug):' "$f" || true
doneLength of output: 599 Duplicate changelog id "19" found — fix required id "19" appears in:
Assign a unique id to one of these entries (and verify slugs) to avoid broken listings/routes. 🤖 Prompt for AI Agents |
||||||||||
| title: "50% Off Claude Code - Limited Time Offer" | ||||||||||
| summary: "Get 50% off Claude Code for a limited time. Use any model via LLMGateway's unified API." | ||||||||||
| image: | ||||||||||
| src: "/changelog/claude-code-50-percent-off-09-19.png" | ||||||||||
| alt: "Claude Code 50% off limited time offer" | ||||||||||
| width: 1768 | ||||||||||
| height: 677 | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVerify image asset exists and dimensions are correct. Prevent broken images on the changelog page. 🏁 Script executed: #!/bash
# Check image exists anywhere in the repo
fd -a 'claude-code-50-percent-off-09-19.png'
# Optional: spot-check other changelog images referenced by this PR
rg -n '\/changelog\/.*\.png' apps/ui/src/content/changelog -nLength of output: 86 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Searching for exact image filename..."
if command -v fd >/dev/null 2>&1; then
fd -HI --hidden --follow 'claude-code-50-percent-off-09-19.png' || true
else
rg --files | rg -n 'claude-code-50-percent-off-09-19.png' || true
fi
echo
echo "Listing PNG references under apps/ui/src/content/changelog..."
rg -n --hidden -S '/changelog/.*\.png' apps/ui/src/content/changelog || true
# If the file is found, attempt to print filesystem info and image dimensions
file_path=$(fd -HI --hidden --follow 'claude-code-50-percent-off-09-19.png' -0 2>/dev/null | tr '\0' '\n' | head -n1 || true)
if [ -n "$file_path" ]; then
echo
echo "Found image at: $file_path"
ls -l "$file_path" || true
if command -v identify >/dev/null 2>&1; then
identify -format "identify: %w %h\n" "$file_path" || true
else
python - <<'PY' || true
import sys
p = sys.argv[1]
try:
from PIL import Image
except Exception as e:
print("Pillow not installed; skipping dimension check:", e)
raise SystemExit(0)
try:
img = Image.open(p)
print("PIL dims: {}x{}".format(img.width, img.height))
except Exception as e:
print("Failed to read image dimensions:", e)
PY "$file_path"
fi
else
echo
echo "Image not found in repo."
fiLength of output: 3436 Missing changelog image — file not in repo; add or fix path
🤖 Prompt for AI Agents |
||||||||||
| --- | ||||||||||
|
|
||||||||||
| 🎉 **Limited Time: 50% Off Claude Code via RouteWay!** | ||||||||||
|
|
||||||||||
| For a limited time, get **50% off Claude Code** through our RouteWay provider integration. | ||||||||||
|
|
||||||||||
| ## Setup Instructions | ||||||||||
|
|
||||||||||
| To access Claude Code with the 50% discount, configure these environment variables: | ||||||||||
|
|
||||||||||
| ```shell | ||||||||||
| export ANTHROPIC_BASE_URL=https://api.llmgateway.io | ||||||||||
| export ANTHROPIC_AUTH_TOKEN=llmgtwy_.... # your llmgateway.io api key here | ||||||||||
|
|
||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ### Optional Variable | ||||||||||
|
|
||||||||||
| ```shell | ||||||||||
| # optionally, choose your model, otherwise it will use the default Claude model via LLMGateway | ||||||||||
| export ROUTEWAY_MODEL=gpt-5 | ||||||||||
| ``` | ||||||||||
|
Comment on lines
+30
to
+38
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ROUTEWAY_MODEL likely not read by Claude Code; use ANTHROPIC_MODEL for consistency. Claude Code typically reads ANTHROPIC_* vars. Introducing ROUTEWAY_MODEL risks copy‑paste breakage. Recommend using ANTHROPIC_MODEL with provider/model values, matching the 2025‑09‑08 post. -# optionally, choose your model, otherwise it will use the default Claude model via LLMGateway
-export ROUTEWAY_MODEL=gpt-5
+# optionally, choose your model (provider/model); otherwise the default Claude model via LLMGateway is used
+export ANTHROPIC_MODEL=openai/gpt-5📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| Don't miss this limited-time opportunity to access Claude Code at 50% off via RouteWay! | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align model value format with the “Popular Model Options” list (provider/model).
Example list items use provider-qualified names (e.g., openai/gpt-5), but the snippet sets ANTHROPIC_MODEL=gpt-5. This can confuse users and may not route as intended if aliases aren’t supported. Prefer a fully qualified value or explicitly document alias support.
Apply this diff:
🤖 Prompt for AI Agents