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.
- package/dist/{chunk-6J4KEDJQ.js → chunk-KUE7ASKH.js} +7 -3
- package/dist/{chunk-UOUQMYRJ.js → chunk-QOHRXWK4.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/{serve-J4V6KLQ6.js → serve-DMHI2CWZ.js} +2 -2
- package/dist/server/index.js +1 -1
- package/dist/web/assets/{index-CkyaIKu9.js → index-Bc9jabDX.js} +30 -30
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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-
|
|
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-
|
|
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-
|
|
223
|
+
//# sourceMappingURL=chunk-QOHRXWK4.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
208
|
+
//# sourceMappingURL=serve-DMHI2CWZ.js.map
|