@kody-ade/kody-engine-lite 0.1.69 → 0.1.71
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 +3 -2
- package/package.json +1 -1
- package/templates/kody.yml +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -260,7 +260,8 @@ function getLitellmUrl() {
|
|
|
260
260
|
return LITELLM_DEFAULT_URL;
|
|
261
261
|
}
|
|
262
262
|
function providerApiKeyEnvVar(provider) {
|
|
263
|
-
|
|
263
|
+
if (provider === "anthropic") return "ANTHROPIC_API_KEY";
|
|
264
|
+
return "ANTHROPIC_COMPATIBLE_API_KEY";
|
|
264
265
|
}
|
|
265
266
|
function setConfigDir(dir) {
|
|
266
267
|
_configDir = dir;
|
|
@@ -4322,7 +4323,7 @@ function initCommand(opts) {
|
|
|
4322
4323
|
console.log("");
|
|
4323
4324
|
}
|
|
4324
4325
|
}
|
|
4325
|
-
var STEP_STAGES = ["taskify", "plan", "build", "review", "review-fix"];
|
|
4326
|
+
var STEP_STAGES = ["taskify", "plan", "build", "autofix", "review", "review-fix"];
|
|
4326
4327
|
function gatherSampleSourceFiles(cwd, maxFiles = 3, maxCharsEach = 2e3) {
|
|
4327
4328
|
const srcDir = path21.join(cwd, "src");
|
|
4328
4329
|
const baseDir = fs22.existsSync(srcDir) ? srcDir : cwd;
|
package/package.json
CHANGED
package/templates/kody.yml
CHANGED
|
@@ -250,7 +250,7 @@ jobs:
|
|
|
250
250
|
- name: Run Kody pipeline
|
|
251
251
|
env:
|
|
252
252
|
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
253
|
-
|
|
253
|
+
ANTHROPIC_COMPATIBLE_API_KEY: ${{ secrets.ANTHROPIC_COMPATIBLE_API_KEY }}
|
|
254
254
|
GH_TOKEN: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
|
|
255
255
|
TASK_ID: ${{ github.event.inputs.task_id || needs.parse.outputs.task_id }}
|
|
256
256
|
MODE: ${{ github.event.inputs.mode || needs.parse.outputs.mode || 'full' }}
|