fix(coding-agent): discovered ollama models at runtime

This commit is contained in:
can1357
2026-02-13 12:56:22 +01:00
parent ae90d80cfe
commit 733a46c226
11 changed files with 283 additions and 27 deletions
+3 -2
View File
@@ -267,7 +267,9 @@ async function handlePythonSetup(flags: { json?: boolean; check?: boolean }): Pr
if (install.usedManagedEnv) {
if (check.uvPath) {
console.error(chalk.dim(` uv venv ${MANAGED_PYTHON_ENV}`));
console.error(chalk.dim(` uv pip install --python ${MANAGED_PYTHON_ENV} ${check.missingPackages.join(" ")}`));
console.error(
chalk.dim(` uv pip install --python ${MANAGED_PYTHON_ENV} ${check.missingPackages.join(" ")}`),
);
} else {
console.error(chalk.dim(` ${check.pythonPath} -m venv ${MANAGED_PYTHON_ENV}`));
console.error(chalk.dim(` ${managedPythonPath()} -m pip install ${check.missingPackages.join(" ")}`));
@@ -284,7 +286,6 @@ async function handlePythonSetup(flags: { json?: boolean; check?: boolean }): Pr
if (recheck.usingManagedEnv) {
console.log(chalk.dim(`Managed Python environment: ${recheck.managedEnvPath}`));
}
} else {
console.error(chalk.red(`\n${theme.status.error} Setup incomplete`));
console.error(chalk.dim(`Still missing: ${recheck.missingPackages.join(", ")}`));