From ee749a884cce37db58fbe780b07ef95d34449001 Mon Sep 17 00:00:00 2001 From: Joschka Braun Date: Thu, 6 Jun 2024 17:37:44 -0400 Subject: [PATCH] fix: optional param in openai auto trace --- parea/client.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parea/client.py b/parea/client.py index fa8f0369..072c76bb 100644 --- a/parea/client.py +++ b/parea/client.py @@ -113,7 +113,7 @@ def _add_integration(self, integration: str) -> None: instrument_instructor_validation_errors() - def auto_trace_openai_clients(self, integration: Optional[str]) -> None: + def auto_trace_openai_clients(self, integration: Optional[str] = None) -> None: import openai openai._ModuleClient = patch_openai_client_classes(openai._ModuleClient, self) diff --git a/pyproject.toml b/pyproject.toml index 8b49a62a..c8cff5fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "parea-ai" packages = [{ include = "parea" }] -version = "0.2.168" +version = "0.2.169" description = "Parea python sdk" readme = "README.md" authors = ["joel-parea-ai "]