@tryarcanist/cli 0.1.213 → 0.1.214
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1882,7 +1882,9 @@ function resolveAutomationModelBackend(rawModel, normalizedModel) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
const provider = rawModel.match(/^([a-z]+)[/:]/i)?.[1]?.toLowerCase();
|
|
1884
1884
|
if (provider === "anthropic") return CLAUDE_CODE_AGENT_RUNTIME_BACKEND;
|
|
1885
|
-
if (provider === "baseten") return OPENCODE_AGENT_RUNTIME_BACKEND;
|
|
1885
|
+
if (provider === "baseten" || provider === "xai") return OPENCODE_AGENT_RUNTIME_BACKEND;
|
|
1886
|
+
if (provider === "cursor") return CURSOR_AGENT_RUNTIME_BACKEND;
|
|
1887
|
+
if (provider === "grok") return GROK_AGENT_RUNTIME_BACKEND;
|
|
1886
1888
|
return CODEX_AGENT_RUNTIME_BACKEND;
|
|
1887
1889
|
}
|
|
1888
1890
|
async function automationApiFetch(config, path, init) {
|