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.
Use named constant RUN_ENVIRONMENT_ENV_VAR_KEY for PIPELEX_ENV
thomashebrarded1fe29a32d8
diff --git a/pipelex/system/runtime.py b/pipelex/system/runtime.pyindex cddb8e4ea..0adaf8536 100644--- a/pipelex/system/runtime.py+++ b/pipelex/system/runtime.py@@ -5,6 +5,7 @@ from pipelex.types import StrEnumRUN_MODE_ENV_VAR_KEY = "RUN_MODE"CODEX_CLOUD_ENV_VAR_KEY = "CODEX_CLOUD"+RUN_ENVIRONMENT_ENV_VAR_KEY = "PIPELEX_ENV"class IntegrationMode(StrEnum):@@ -70,7 +71,7 @@ class RunEnvironment(StrEnum):@classmethoddef get_from_env_var(cls) -> "RunEnvironment":- return RunEnvironment(get_optional_env("PIPELEX_ENV") or RunEnvironment.DEV)+ return RunEnvironment(get_optional_env(RUN_ENVIRONMENT_ENV_VAR_KEY) or RunEnvironment.DEV)class ProblemReaction(StrEnum):