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.
fix/remove_useless_structure_classes_setup
Thomas Hebrard318886a1901b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 34a9486b2..fe3ac473e 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,10 @@# Changelog+## [v0.6.7] - 2025-07-24++### Removed+- Removed the `structure_classes` parameter from the `Pipelex` class.+## [v0.6.6] - 2025-07-24### Addeddiff --git a/pipelex/pipelex.py b/pipelex/pipelex.pyindex ba8e37c73..f97129248 100644--- a/pipelex/pipelex.py+++ b/pipelex/pipelex.py@@ -1,7 +1,7 @@import inspectimport osfrom importlib.metadata import metadata-from typing import Any, List, Optional, Type, cast+from typing import Optional, Type, castfrom dotenv import load_dotenvfrom kajson.class_registry import ClassRegistry@@ -161,7 +161,6 @@ class Pipelex(metaclass=MetaSingleton):secrets_provider: Optional[SecretsProviderAbstract] = None,content_generator: Optional[ContentGeneratorProtocol] = None,pipe_router: Optional[PipeRouterProtocol] = None,- structure_classes: Optional[List[Type[Any]]] = None,storage_provider: Optional[StorageProviderAbstract] = None,):# tools@@ -177,9 +176,6 @@ class Pipelex(metaclass=MetaSingleton):self.class_registry.register_classes(PipelexTestModels.get_all_models())self.activity_manager.setup()- if structure_classes:- self.class_registry.register_classes(structure_classes)-self.pipelex_hub.set_pipe_router(pipe_router or PipeRouter())# pipelinediff --git a/pyproject.toml b/pyproject.tomlindex 777a6a955..6b9054366 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "pipelex"-version = "0.6.6"+version = "0.6.7"description = "Pipelex is an open-source dev tool based on a simple declarative language that lets you define replicable, structured, composable LLM pipelines."authors = [{ name = "Evotis S.A.S.", email = "[email protected]" }]maintainers = [{ name = "Pipelex staff", email = "[email protected]" }]diff --git a/uv.lock b/uv.lockindex c611d4c05..85b6ce24f 100644--- a/uv.lock+++ b/uv.lock@@ -1748,7 +1748,7 @@ wheels = [[[package]]name = "pipelex"-version = "0.6.6"+version = "0.6.7"source = { editable = "." }dependencies = [{ name = "aiofiles" },