diff --git a/app/Generators/GithubModelsCliGenerator.php b/app/Generators/GithubModelsCliGenerator.php index 1fb0953..fba0151 100644 --- a/app/Generators/GithubModelsCliGenerator.php +++ b/app/Generators/GithubModelsCliGenerator.php @@ -21,10 +21,7 @@ public function generate(string $prompt): string return resolve( Process::class, [ - 'command' => array_merge( - [$this->config['binary'], 'models', 'run', $this->config['model'], $prompt], - $this->hydratedOptions() - ), + 'command' => $this->ensureWithOptions([$this->config['binary'], 'models', 'run', $this->config['model'], $prompt]), ] + $this->config['parameters'] )->mustRun($this->defaultRunningCallback())->getOutput(); }