Skip to content

Update HyperRPC docs for token rate limits#637

Merged
moose-code merged 1 commit intomainfrom
codex/add-api-token-query-example-to-docs
May 22, 2025
Merged

Update HyperRPC docs for token rate limits#637
moose-code merged 1 commit intomainfrom
codex/add-api-token-query-example-to-docs

Conversation

@moose-code
Copy link
Member

@moose-code moose-code commented May 20, 2025

Summary

  • clarify that HyperRPC requests without tokens will be rate limited starting June 2025
  • keep example on how to append your token to the endpoint URL

Testing

  • yarn build (fails: package missing in lockfile)
  • yarn install (fails: network errors)

This environment doesn't have network access after setup, so Codex couldn't run certain commands. Consider configuring a setup script in your Codex environment to install dependencies.

Summary by CodeRabbit

  • Documentation
    • Added a caution note that requests without an API token will be rate limited starting June 2025.
    • Updated "Getting Started" instructions to include a new step for adding an API token and example URL format.
    • Clarified how to obtain an API token and updated example requests to use the token placeholder.

@vercel
Copy link

vercel bot commented May 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
envio-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 4:41pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 20, 2025

Walkthrough

The documentation for HyperRPC was updated to introduce and emphasize the requirement for API tokens in endpoint URLs, effective June 2025. New cautionary notes and instructions were added to guide users on appending API tokens to maintain full request speed, with updated examples and revised step numbering in the getting started guide.

Changes

File(s) Change Summary
docs/HyperSync/HyperRPC/hyperrpc-url-endpoints.md Added a caution note about upcoming rate limiting for requests without API tokens, including example URL usage.
docs/HyperSync/HyperRPC/overview-hyperrpc.md Updated "Getting Started" steps to include API token instructions, revised example URLs, and renumbered steps.

Poem

A token you’ll need, come June’s bright light,
To keep your requests running fast as a kite.
Docs now remind you, with caution and care,
Append your token—don’t leave it bare!
The rabbit hops on, with URLs in tow,
Ready for speed, wherever you go!
🐇✨

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (5)
docs/HyperSync/HyperRPC/hyperrpc-url-endpoints.md (3)

12-18: Ensure consistency in admonition phrasing across docs
The wording here (“following the same schedule as”) differs from the overview page’s “same timeline as.” Consider standardizing the phrasing for a cohesive user experience.


12-18: Include guidance on obtaining an API token
This caution instructs users to append a token but doesn’t tell them how to get one. To make this section self-contained, consider adding a brief note or link, e.g.:
“If you don’t have a token yet, generate one via the Envio Dashboard.”


16-17: Use a generic placeholder for network identifier
The example hardcodes 100.rpc.hypersync.xyz. It might be clearer to show a placeholder like <network>.rpc.hypersync.xyz/<api-token> (or include both name- and ID-based forms) to illustrate usage across networks.

docs/HyperSync/HyperRPC/overview-hyperrpc.md (2)

86-96: Standardize phrasing with URL endpoints page
The bullet here (“same timeline as”) vs. the URL-endpoints page (“following the same schedule as”) uses different wording. Align these for consistency across the HyperRPC docs.


86-96: Consider leveraging an admonition block
Since step 2 is critical to avoid rate limiting, using an explicit :::caution admonition—similar to the URL-endpoints page—would improve visibility over a plain numbered list.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 59c9bf3 and a74ebe1.

📒 Files selected for processing (2)
  • docs/HyperSync/HyperRPC/hyperrpc-url-endpoints.md (1 hunks)
  • docs/HyperSync/HyperRPC/overview-hyperrpc.md (2 hunks)
🔇 Additional comments (1)
docs/HyperSync/HyperRPC/overview-hyperrpc.md (1)

95-95: Verify the Envio Dashboard link
Double-check that https://envio.dev/app/api-tokens remains correct after deployment. If the path changes, users could be confused.

@moose-code moose-code requested a review from DenhamPreen May 20, 2025 16:42
Copy link
Contributor

@JasoonS JasoonS left a comment

Choose a reason for hiding this comment

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

Cool

@moose-code moose-code merged commit 3e8e92c into main May 22, 2025
3 checks passed
@moose-code moose-code deleted the codex/add-api-token-query-example-to-docs branch May 22, 2025 09:11
@DenhamPreen DenhamPreen mentioned this pull request Jul 29, 2025
@coderabbitai coderabbitai bot mentioned this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants