Skip to content

Commit

Permalink
Merge pull request #926 from parea-ai/fix-auto-trace-optional-param
Browse files Browse the repository at this point in the history
fix: optional param in openai auto trace
  • Loading branch information
joschkabraun committed Jun 6, 2024
2 parents 2f0db49 + ee749a8 commit 3ae031d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parea/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
Expand Down

0 comments on commit 3ae031d

Please sign in to comment.