Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
Bug: No content attributes when using OpenLIT CLI (#931)
Patchera3b56525ec35
diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.tomlindex 66b66aa6..d7d3e5f9 100644--- a/sdk/python/pyproject.toml+++ b/sdk/python/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "openlit"-version = "1.35.9"+version = "1.36.0"description = "OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications and GPUs, facilitating the integration of observability into your GenAI-driven projects"authors = ["OpenLIT"]license = "Apache-2.0"diff --git a/sdk/python/src/openlit/__init__.py b/sdk/python/src/openlit/__init__.pyindex c8fde6b6..cba910fd 100644--- a/sdk/python/src/openlit/__init__.py+++ b/sdk/python/src/openlit/__init__.py@@ -354,7 +354,7 @@ def init(disable_metrics = Trueif (- os.getenv("OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT", "").lower+ os.getenv("OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT", "").lower()== "false"):capture_message_content = Falsediff --git a/sdk/python/src/openlit/cli/main.py b/sdk/python/src/openlit/cli/main.pyindex 7fe1fa4e..fd16278b 100644--- a/sdk/python/src/openlit/cli/main.py+++ b/sdk/python/src/openlit/cli/main.py@@ -102,6 +102,10 @@ def set_environment_from_cli_args(args) -> None:if cli_value is not None:# Handle boolean valuesif isinstance(cli_value, bool):+ # Skip setting env var if boolean is False and default is True+ # (this means the flag wasn't provided, just the store_true default)+ if cli_value is False and config.get("default") is True:+ continueos.environ[env_var] = "true" if cli_value else "false"else:os.environ[env_var] = str(cli_value)diff --git a/sdk/python/src/tmp/workflow.db b/sdk/python/src/tmp/workflow.dbdeleted file mode 100644index e69de29b..00000000diff --git a/sdk/python/tests/test_astra.py b/sdk/python/tests/test_astra.py.holdsimilarity index 100%rename from sdk/python/tests/test_astra.pyrename to sdk/python/tests/test_astra.py.hold