From dc794802e89d904dcbd165ababadc465c23828d4 Mon Sep 17 00:00:00 2001 From: Sai Sharan Tangeda <31337767+SHARANTANGEDA@users.noreply.github.com> Date: Fri, 6 Oct 2023 20:51:23 +0530 Subject: [PATCH] fix: map to default project when not mapped (#13) * fix: map to default project when not mapped * fix: map to default project when not mapped --- setup.py | 2 +- xpuls/mlmonitor/langchain/patches/patch_chain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4ef06b9..e8c9b1a 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def read_requirements(file_name): setup( name='xpuls-mlmonitor', - version='0.1.0', + version='0.1.1', author='Sai Sharan Tangeda', author_email='saisarantangeda@gmail.com', description='Automated telemetry and monitoring for ML & LLM Frameworks', diff --git a/xpuls/mlmonitor/langchain/patches/patch_chain.py b/xpuls/mlmonitor/langchain/patches/patch_chain.py index 59424c0..e1e3152 100644 --- a/xpuls/mlmonitor/langchain/patches/patch_chain.py +++ b/xpuls/mlmonitor/langchain/patches/patch_chain.py @@ -30,7 +30,7 @@ def _apply_patch(kwargs): try: project_details = MapXpulsProject._context.get() if project_details is None: - project_details = {} + project_details = {'project_id': 'default'} except Exception as e: project_details = {'project_id': 'default'}