Align MCP/CLI naming and resolve default model/mode server-side (#291)
* Align create_agent naming and resolve defaults server-side * Fix test assertions for default model/mode resolution - Use config.model and config.modeId instead of non-existent snapshot.model - Strip legacy "default" model ID in normalizeConfig - Update runtimeInfo assertion to expect resolved default model * Fix CI: update CLI test for --title, fix formatting in checkout-git
This commit is contained in:
@@ -54,7 +54,7 @@ try {
|
||||
assert.strictEqual(result.exitCode, 0, "run --help should exit 0");
|
||||
assert(result.stdout.includes("-d"), "help should mention -d flag");
|
||||
assert(result.stdout.includes("--detach"), "help should mention --detach flag");
|
||||
assert(result.stdout.includes("--name"), "help should mention --name option");
|
||||
assert(result.stdout.includes("--title"), "help should mention --title option");
|
||||
assert(result.stdout.includes("--provider"), "help should mention --provider option");
|
||||
assert(result.stdout.includes("--mode"), "help should mention --mode option");
|
||||
assert(result.stdout.includes("--cwd"), "help should mention --cwd option");
|
||||
|
||||
Reference in New Issue
Block a user