-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
fix(presets): fix Volcengine Ark Agent Plan default endpoint from /api/coding to /api/plan #4604
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
base: main
Are you sure you want to change the base?
Changes from all commits
984b742
1b15563
968e0ff
777d6c6
1c6597b
d077e37
b0af259
2cc2ab8
5d96c30
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 |
|---|---|---|
|
|
@@ -142,10 +142,10 @@ export const codexProviderPresets: CodexProviderPreset[] = [ | |
| auth: generateThirdPartyAuth(""), | ||
| config: generateThirdPartyConfig( | ||
| "ark_agentplan", | ||
| "https://ark.cn-beijing.volces.com/api/coding/v3", | ||
| "https://ark.cn-beijing.volces.com/api/plan/v3", | ||
|
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.
This URL change leaves Useful? React with 👍 / 👎. |
||
| "ark-code-latest", | ||
| ), | ||
| endpointCandidates: ["https://ark.cn-beijing.volces.com/api/coding/v3"], | ||
| endpointCandidates: ["https://ark.cn-beijing.volces.com/api/plan/v3"], | ||
| apiFormat: "openai_chat", | ||
| modelCatalog: modelCatalog([ | ||
| { | ||
|
|
||
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.
When this preset is added or queried with the new
/api/planbase URL, the token-plan plumbing no longer recognizes it as Volcengine: the frontend detector insrc/config/codingPlanProviders.tsand the backenddetect_providerinsrc-tauri/src/services/coding_plan.rsstill match onlyvolces.com/api/coding. That means the Claude preset will not auto-inject thetoken_planusage script, and any existing/manual Volcengine usage query with this new default returnsUnknown coding plan provider; please update the detectors to accept the new plan path as well.Useful? React with 👍 / 👎.