ai-pipeline-core 0.1.12__py3-none-any.whl → 0.1.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ai_pipeline_core/__init__.py +1 -1
- ai_pipeline_core/settings.py +4 -0
- ai_pipeline_core/tracing.py +2 -1
- {ai_pipeline_core-0.1.12.dist-info → ai_pipeline_core-0.1.13.dist-info}/METADATA +1 -1
- {ai_pipeline_core-0.1.12.dist-info → ai_pipeline_core-0.1.13.dist-info}/RECORD +7 -7
- {ai_pipeline_core-0.1.12.dist-info → ai_pipeline_core-0.1.13.dist-info}/WHEEL +0 -0
- {ai_pipeline_core-0.1.12.dist-info → ai_pipeline_core-0.1.13.dist-info}/licenses/LICENSE +0 -0
ai_pipeline_core/__init__.py
CHANGED
ai_pipeline_core/settings.py
CHANGED
|
@@ -94,6 +94,9 @@ class Settings(BaseSettings):
|
|
|
94
94
|
and observability. Optional but recommended
|
|
95
95
|
for production monitoring.
|
|
96
96
|
|
|
97
|
+
lmnr_debug: Debug mode flag for Laminar tracing. Set to "true" to
|
|
98
|
+
enable debug-level traces. Empty string by default.
|
|
99
|
+
|
|
97
100
|
Configuration sources:
|
|
98
101
|
- Environment variables (highest priority)
|
|
99
102
|
- .env file in current directory
|
|
@@ -121,6 +124,7 @@ class Settings(BaseSettings):
|
|
|
121
124
|
|
|
122
125
|
# Observability
|
|
123
126
|
lmnr_project_api_key: str = ""
|
|
127
|
+
lmnr_debug: str = ""
|
|
124
128
|
|
|
125
129
|
|
|
126
130
|
# Legacy: Module-level instance for backwards compatibility
|
ai_pipeline_core/tracing.py
CHANGED
|
@@ -356,7 +356,8 @@ def trace(
|
|
|
356
356
|
)
|
|
357
357
|
|
|
358
358
|
# Handle 'debug' level logic - only trace when LMNR_DEBUG is "true"
|
|
359
|
-
|
|
359
|
+
debug_value = settings.lmnr_debug or os.getenv("LMNR_DEBUG", "")
|
|
360
|
+
if level == "debug" and debug_value.lower() != "true":
|
|
360
361
|
return f
|
|
361
362
|
|
|
362
363
|
# --- Pre-computation (done once when the function is decorated) ---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ai-pipeline-core
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.13
|
|
4
4
|
Summary: Core utilities for AI-powered processing pipelines using prefect
|
|
5
5
|
Project-URL: Homepage, https://github.com/bbarwik/ai-pipeline-core
|
|
6
6
|
Project-URL: Repository, https://github.com/bbarwik/ai-pipeline-core
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
ai_pipeline_core/__init__.py,sha256=
|
|
1
|
+
ai_pipeline_core/__init__.py,sha256=l2kbSaXDuBJMgFYHDCHKV5u5QxCB8eSTeGz0AL9lMXc,5396
|
|
2
2
|
ai_pipeline_core/exceptions.py,sha256=vx-XLTw2fJSPs-vwtXVYtqoQUcOc0JeI7UmHqRqQYWU,1569
|
|
3
3
|
ai_pipeline_core/pipeline.py,sha256=EETCEoKkFcVvsQqtVIV5S5DrVII4XPSuCnqF7zA2_jc,28137
|
|
4
4
|
ai_pipeline_core/prefect.py,sha256=CC8qeIpVqzNq8m6YWNIcRYeDEqkcAFiNjFwcuwwKO0k,2064
|
|
5
5
|
ai_pipeline_core/prompt_manager.py,sha256=XZwah5fp3GyZ0e0na_yOs6m4ngCcotysh-K_cU2U978,11572
|
|
6
6
|
ai_pipeline_core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
ai_pipeline_core/settings.py,sha256=
|
|
8
|
-
ai_pipeline_core/tracing.py,sha256=
|
|
7
|
+
ai_pipeline_core/settings.py,sha256=X8m13zUHWte953l3or45wG8o7ZQ4X-XBe6umk4PlkMQ,4598
|
|
8
|
+
ai_pipeline_core/tracing.py,sha256=ptaJLLWbI6Aq12RYifjChjL5CJByUFFkkF8Vo0u6lu4,18405
|
|
9
9
|
ai_pipeline_core/documents/__init__.py,sha256=FOYBUKipW_uuzFieW3MigvNLEpbCI1jeY9_0VxJsoS0,692
|
|
10
10
|
ai_pipeline_core/documents/document.py,sha256=tDUBootN_hK75k3XASyBxt-ZqtZuynTwgcL_L5ZWN1Q,51521
|
|
11
11
|
ai_pipeline_core/documents/document_list.py,sha256=m8ei2jLTHt47uCKHmn8BuMMbfwPIKH5g9oPO1jvIPmg,8282
|
|
@@ -30,7 +30,7 @@ ai_pipeline_core/logging/logging_mixin.py,sha256=UFd_CfyJ6YP_XVA-CrpAszOr8g1FH8R
|
|
|
30
30
|
ai_pipeline_core/simple_runner/__init__.py,sha256=OXKFOu3rRcqXCWwBBxnZ7Vz8KRFF5g-G3eJq-vm3CUY,521
|
|
31
31
|
ai_pipeline_core/simple_runner/cli.py,sha256=sbIvv_d401o8h-b5JlcIJQhwzte1sttdmUi2a3As-wY,9357
|
|
32
32
|
ai_pipeline_core/simple_runner/simple_runner.py,sha256=Q7PRAgf_VUPS72WV9pER9WT0AQo9r4WbRclsRXXJiW4,14329
|
|
33
|
-
ai_pipeline_core-0.1.
|
|
34
|
-
ai_pipeline_core-0.1.
|
|
35
|
-
ai_pipeline_core-0.1.
|
|
36
|
-
ai_pipeline_core-0.1.
|
|
33
|
+
ai_pipeline_core-0.1.13.dist-info/METADATA,sha256=20BrzUHIzJ3qYUQy7lx5bl0mBcFtmhzLSkhjS2moAUU,13192
|
|
34
|
+
ai_pipeline_core-0.1.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
35
|
+
ai_pipeline_core-0.1.13.dist-info/licenses/LICENSE,sha256=kKj8mfbdWwkyG3U6n7ztB3bAZlEwShTkAsvaY657i3I,1074
|
|
36
|
+
ai_pipeline_core-0.1.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|