Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Pipe builder save files in . instead of results/ Use Large runner for CI

Louis Choqueld549fa600c6f
diff --git a/.github/workflows/tests-check.yml b/.github/workflows/tests-check.yml
index 532b4c43f..ba224bb58 100644
--- a/.github/workflows/tests-check.yml
+++ b/.github/workflows/tests-check.yml
@@ -6,7 +6,8 @@ on:
jobs:
matrix-test:
name: Tests check
- runs-on: ubuntu-latest
+ runs-on:
+ group: Large
strategy:
fail-fast: false
matrix:
diff --git a/.pipelex/pipelex.toml b/.pipelex/pipelex.toml
index a1faa165f..b6e4fc791 100644
--- a/.pipelex/pipelex.toml
+++ b/.pipelex/pipelex.toml
@@ -43,6 +43,12 @@ excluded_dirs = [
"results",
]
+[pipelex.builder_config]
+# Uncomment to change where the generated pipelines are saved
+# default_output_dir = "."
+# default_bundle_file_name = "bundle"
+# default_directory_base_name = "pipeline"
+
[pipelex.log_config]
default_log_level = "INFO"
diff --git a/pipelex/cli/commands/run_cmd.py b/pipelex/cli/commands/run_cmd.py
index c4b5f0ce9..872469d6e 100644
--- a/pipelex/cli/commands/run_cmd.py
+++ b/pipelex/cli/commands/run_cmd.py
@@ -219,11 +219,15 @@ def run_cmd(
except PipeOperatorModelAvailabilityError as exc:
handle_model_availability_error(exc, context=ErrorContext.PIPE_RUN)
+ except typer.Exit:
+ raise
+
except Exception as exc:
log.error(f"Error executing pipeline: {exc}")
console = Console(stderr=True)
console.print("\n[bold red]Failed to execute pipeline[/bold red]\n")
console.print_exception(show_locals=True)
raise typer.Exit(1) from exc
+
finally:
pipelex_instance.teardown()
diff --git a/pipelex/core/interpreter.py b/pipelex/core/interpreter.py
index fc67f1ced..16f7c6f2e 100644
--- a/pipelex/core/interpreter.py
+++ b/pipelex/core/interpreter.py
@@ -4,6 +4,7 @@ from pydantic import BaseModel, model_validator
from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
from pipelex.core.exceptions import PipelexConfigurationError
+from pipelex.hub import get_library_manager
from pipelex.tools.misc.toml_utils import TomlError, load_toml_from_content, load_toml_from_path
from pipelex.types import Self
diff --git a/pipelex/kit/configs/pipelex.toml b/pipelex/kit/configs/pipelex.toml
index 4eca807ed..b6e4fc791 100644
--- a/pipelex/kit/configs/pipelex.toml
+++ b/pipelex/kit/configs/pipelex.toml
@@ -44,9 +44,10 @@ excluded_dirs = [
]
[pipelex.builder_config]
-default_output_dir = "results"
-default_bundle_file_name = "bundle"
-default_directory_base_name = "pipeline"
+# Uncomment to change where the generated pipelines are saved
+# default_output_dir = "."
+# default_bundle_file_name = "bundle"
+# default_directory_base_name = "pipeline"
[pipelex.log_config]
default_log_level = "INFO"
diff --git a/pipelex/pipelex.toml b/pipelex/pipelex.toml
index 443ce0900..99c827d43 100644
--- a/pipelex/pipelex.toml
+++ b/pipelex/pipelex.toml
@@ -22,7 +22,7 @@ excluded_dirs = [
]
[pipelex.builder_config]
-default_output_dir = "results"
+default_output_dir = "."
default_bundle_file_name = "bundle"
default_directory_base_name = "pipeline"