@openagents-org/agent-launcher 0.2.170 → 0.2.171
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/package.json +1 -1
- package/src/daemon.js +1 -0
package/package.json
CHANGED
package/src/daemon.js
CHANGED
|
@@ -289,6 +289,7 @@ class Daemon {
|
|
|
289
289
|
const type = (args.type || '').trim();
|
|
290
290
|
if (args.apiKey) await this._runAgn(['env', type, '--set', `LLM_API_KEY=${args.apiKey}`]);
|
|
291
291
|
if (args.model !== undefined) await this._setModelEnv(type, args.model);
|
|
292
|
+
if (args.baseUrl !== undefined) await this._runAgn(['env', type, '--set', `LLM_BASE_URL=${args.baseUrl}`]);
|
|
292
293
|
const newDir = (args.workingDir || '').trim();
|
|
293
294
|
if (newDir && newDir !== (args.currentWorkingDir || '')) {
|
|
294
295
|
try { fs.mkdirSync(newDir, { recursive: true }); } catch {}
|