openfox 2.0.52 → 2.0.53

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.
@@ -3849,7 +3849,7 @@ import { Router as Router7 } from "express";
3849
3849
  import { spawn as spawn2 } from "child_process";
3850
3850
 
3851
3851
  // src/constants.ts
3852
- var VERSION = "2.0.52";
3852
+ var VERSION = "2.0.53";
3853
3853
 
3854
3854
  // src/server/routes/auto-update.ts
3855
3855
  var updateInProgress = false;
@@ -3989,11 +3989,15 @@ async function createServerHandle(config4) {
3989
3989
  logger.info("Using configured LLM backend", { backend: getBackendDisplayName(backend) });
3990
3990
  }
3991
3991
  const detected = await detectModel(config4.llm.baseUrl);
3992
- if (detected) {
3992
+ if (detected && !config4.defaultModelSelection) {
3993
3993
  llmClient.setModel(detected);
3994
3994
  if (!useMock) {
3995
3995
  logger.info("Auto-detected LLM model", { model: detected, backend: getBackendDisplayName(backend) });
3996
3996
  }
3997
+ } else if (detected && config4.defaultModelSelection) {
3998
+ if (!useMock) {
3999
+ logger.debug("Skipping auto-detect, using configured model", { model: config4.llm.model });
4000
+ }
3997
4001
  } else {
3998
4002
  if (!useMock) {
3999
4003
  logger.warn("Could not auto-detect model, using config", { model: config4.llm.model });
@@ -5415,4 +5419,4 @@ export {
5415
5419
  createServerHandle,
5416
5420
  createServer
5417
5421
  };
5418
- //# sourceMappingURL=chunk-6J4KEDJQ.js.map
5422
+ //# sourceMappingURL=chunk-KUE7ASKH.js.map
@@ -208,7 +208,7 @@ async function runCli(options) {
208
208
  if (!configExists) {
209
209
  await runNetworkSetup(mode);
210
210
  }
211
- const { runServe } = await import("./serve-J4V6KLQ6.js");
211
+ const { runServe } = await import("./serve-DMHI2CWZ.js");
212
212
  const serveOptions = { mode };
213
213
  if (values.port) serveOptions.port = parseInt(values.port);
214
214
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -220,4 +220,4 @@ async function runCli(options) {
220
220
  export {
221
221
  runCli
222
222
  };
223
- //# sourceMappingURL=chunk-UOUQMYRJ.js.map
223
+ //# sourceMappingURL=chunk-QOHRXWK4.js.map
package/dist/cli/dev.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-UOUQMYRJ.js";
4
+ } from "../chunk-QOHRXWK4.js";
5
5
  import "../chunk-XY3LESVZ.js";
6
6
  import {
7
7
  logger
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-UOUQMYRJ.js";
4
+ } from "../chunk-QOHRXWK4.js";
5
5
  import "../chunk-XY3LESVZ.js";
6
6
  import {
7
7
  logger
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "2.0.52",
3
+ "version": "2.0.53",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  VERSION,
3
3
  createServer
4
- } from "./chunk-6J4KEDJQ.js";
4
+ } from "./chunk-KUE7ASKH.js";
5
5
  import "./chunk-HVLNOTRE.js";
6
6
  import "./chunk-N3Z4SMEH.js";
7
7
  import "./chunk-3KVWOPRN.js";
@@ -205,4 +205,4 @@ async function runServe(options) {
205
205
  export {
206
206
  runServe
207
207
  };
208
- //# sourceMappingURL=serve-J4V6KLQ6.js.map
208
+ //# sourceMappingURL=serve-DMHI2CWZ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-6J4KEDJQ.js";
4
+ } from "../chunk-KUE7ASKH.js";
5
5
  import "../chunk-HVLNOTRE.js";
6
6
  import "../chunk-N3Z4SMEH.js";
7
7
  import "../chunk-3KVWOPRN.js";