open-agents-ai 0.185.41 → 0.185.42

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41499,13 +41499,20 @@ function isPersonaPlexInstalled() {
41499
41499
  return existsSync37(join54(PERSONAPLEX_DIR, "model_ready"));
41500
41500
  }
41501
41501
  function getWeightTier() {
41502
+ const detected = detectPersonaPlexCapability();
41502
41503
  const tierFile = join54(PERSONAPLEX_DIR, "weight_tier");
41503
41504
  if (existsSync37(tierFile)) {
41504
41505
  const saved = readFileSync28(tierFile, "utf8").trim();
41505
- if (saved in WEIGHT_REPOS)
41506
+ if (saved in WEIGHT_REPOS) {
41507
+ const vram = detected.vramGB;
41508
+ if (saved === "nf4-distilled" && vram < 24) {
41509
+ writeFileSync16(tierFile, "nf4");
41510
+ return "nf4";
41511
+ }
41506
41512
  return saved;
41513
+ }
41507
41514
  }
41508
- return detectPersonaPlexCapability().weightTier;
41515
+ return detected.weightTier;
41509
41516
  }
41510
41517
  function getWeightRepoInfo(tier) {
41511
41518
  return WEIGHT_REPOS[tier];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.41",
3
+ "version": "0.185.42",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",