feat: configure executor models
This commit is contained in:
@@ -568,7 +568,12 @@ class ReasonixAdapter implements ExecutorAdapter {
|
||||
const snapshotDirs = [projectsDir];
|
||||
const beforeSnapshot = new Set(listJsonlFiles(projectsDir, opts.repoRoot));
|
||||
|
||||
const args: string[] = ["run", "--dir", opts.repoRoot, prompt];
|
||||
const args: string[] = [
|
||||
"run",
|
||||
"--dir", opts.repoRoot,
|
||||
...(opts.config.model ? ["--model", opts.config.model] : []),
|
||||
prompt,
|
||||
];
|
||||
|
||||
const startMs = Date.now();
|
||||
const logFile = opts.logFilePath;
|
||||
@@ -619,9 +624,11 @@ class ReasonixAdapter implements ExecutorAdapter {
|
||||
"run",
|
||||
"--dir", opts.repoRoot,
|
||||
"--resume", handle.sessionFilePath,
|
||||
...(opts.config.model ? ["--model", opts.config.model] : []),
|
||||
prompt,
|
||||
];
|
||||
|
||||
|
||||
const startMs = Date.now();
|
||||
const logFile = opts.logFilePath;
|
||||
const attemptIndex = deriveAttemptIndex(logFile);
|
||||
|
||||
Reference in New Issue
Block a user