@kody-ade/kody-engine-lite 0.1.143 → 0.1.145
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/bin/cli.js +14 -3
- package/package.json +1 -1
- package/templates/kody.yml +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -1193,7 +1193,12 @@ async function tryStartLitellm(url, projectDir, generatedConfig) {
|
|
|
1193
1193
|
const child = spawn3(cmd, args2, {
|
|
1194
1194
|
stdio: ["ignore", "pipe", "pipe"],
|
|
1195
1195
|
detached: true,
|
|
1196
|
-
env: {
|
|
1196
|
+
env: {
|
|
1197
|
+
...process.env,
|
|
1198
|
+
...dotenvVars,
|
|
1199
|
+
// Disable LiteLLM's Prisma DB for virtual keys/spend tracking — not needed for proxy-only mode
|
|
1200
|
+
STORE_MODEL_IN_DB: "false"
|
|
1201
|
+
}
|
|
1197
1202
|
});
|
|
1198
1203
|
let proxyStderr = "";
|
|
1199
1204
|
child.stderr?.on("data", (chunk) => {
|
|
@@ -5373,8 +5378,14 @@ async function executeAgentStage(ctx, def) {
|
|
|
5373
5378
|
if (ds && devServerStages.includes(def.name) && taskHasUI(ctx.taskDir)) {
|
|
5374
5379
|
logger.info(` Starting dev server: ${ds.command}`);
|
|
5375
5380
|
const envVars = {};
|
|
5376
|
-
|
|
5377
|
-
|
|
5381
|
+
if (ds.env && ds.env.length > 0) {
|
|
5382
|
+
for (const varName of ds.env) {
|
|
5383
|
+
if (process.env[varName]) envVars[varName] = process.env[varName];
|
|
5384
|
+
}
|
|
5385
|
+
} else {
|
|
5386
|
+
for (const [k, v] of Object.entries(process.env)) {
|
|
5387
|
+
if (v !== void 0) envVars[k] = v;
|
|
5388
|
+
}
|
|
5378
5389
|
}
|
|
5379
5390
|
devServerHandle = await startDevServer({
|
|
5380
5391
|
command: ds.command,
|
package/package.json
CHANGED
package/templates/kody.yml
CHANGED