fix(cursor): HTTP/2 AgentService support + version bump to 3.12.17#2685
Open
jokot wants to merge 2 commits into
Open
fix(cursor): HTTP/2 AgentService support + version bump to 3.12.17#2685jokot wants to merge 2 commits into
jokot wants to merge 2 commits into
Conversation
Cursor rejects x-cursor-client-version 3.1.0 with ERROR_GPT_4_VISION_PREVIEW_RATE_LIMIT ("Update Required"). Bump to 3.11.13 and route AgentService (h2-only) via Node http2 instead of fetch/undici. Also load the live GetUsableModels catalog for account-specific model lists.
Closes decolua#2487
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Cherry-pick PR fix(cursor): bump client version and speak HTTP/2 to AgentService #2563: HTTP/2 AgentService support for Cursor provider
executeAgentmethod using HTTP/2 streams toagent.api5.cursor.shBump Cursor client version from
3.11.13to3.12.17(matches current Cursor IDE)Add
x-cursor-client-commitheader with current commit hashProblem
The Cursor provider throws
HTTP 429: Update Required / ERROR_GPT_4_VISION_PREVIEW_RATE_LIMITbecause:AgentServiceatagent.api5.cursor.sh(HTTP/2-only)ChatServiceatapi2.cursor.sh(HTTP/1.1) with outdated version headersTesting
localhost:20128