apex-dev 3.7.0 → 3.8.0

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31674,12 +31674,12 @@ var require_openai = __commonJS((exports, module2) => {
31674
31674
  var require_config = __commonJS((exports, module2) => {
31675
31675
  var OpenAI = require_openai();
31676
31676
  var NVIDIA_MODEL = "z-ai/glm4.7";
31677
- var REVIEWER_MODEL = "nvidia/llama-3.3-nemotron-70b-instruct";
31677
+ var REVIEWER_MODEL = "nvidia/llama-3.3-nemotron-super-49b-v1.5";
31678
31678
  var FILE_PICKER_MODEL = "qwen/qwen3-coder-480b-a35b-instruct";
31679
31679
  var THINKER_MODEL = "z-ai/glm4.7";
31680
- var COMMANDER_MODEL = "nvidia/llama-3.3-nemotron-70b-instruct";
31681
- var CONTEXT_PRUNER_MODEL = "nvidia/llama-3.3-nemotron-70b-instruct";
31682
- var RESEARCHER_MODEL = "nvidia/llama-3.3-nemotron-70b-instruct";
31680
+ var COMMANDER_MODEL = "nvidia/llama-3.3-nemotron-super-49b-v1.5";
31681
+ var CONTEXT_PRUNER_MODEL = "nvidia/llama-3.3-nemotron-super-49b-v1.5";
31682
+ var RESEARCHER_MODEL = "nvidia/llama-3.3-nemotron-super-49b-v1.5";
31683
31683
  var GENERAL_AGENT_MODEL = "z-ai/glm4.7";
31684
31684
  var MAX_TOOL_ITERATIONS = 50;
31685
31685
  var MAX_OUTPUT_LEN = 12000;
@@ -32475,7 +32475,11 @@ var require_toolExecutors = __commonJS((exports, module2) => {
32475
32475
  return response.choices[0]?.message?.content || response.choices[0]?.message?.reasoning_content || "";
32476
32476
  }
32477
32477
  } catch (err) {
32478
- if (attempt < 2 && err.status >= 400 && err.status < 500) {
32478
+ if (err.status === 404 && params.model !== NVIDIA_MODEL && attempt < 2) {
32479
+ params = { ...params, model: NVIDIA_MODEL };
32480
+ continue;
32481
+ }
32482
+ if (attempt < 2 && (err.status === 429 || err.status >= 500)) {
32479
32483
  await sleep(1000 * Math.pow(2, attempt));
32480
32484
  continue;
32481
32485
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apex-dev",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "Apex AI - a friendly agentic coding assistant for the terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {