Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
soumik12345 committed Aug 16, 2024
1 parent 1ddda9b commit 37906ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weave/autopatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ def autopatch() -> None:
from .integrations.cohere.cohere_sdk import cohere_patcher
from .integrations.dspy.dspy_sdk import dspy_patcher
from .integrations.groq.groq_sdk import groq_patcher
from .integrations.instructor.instructor_sdk import instructor_patcher
from .integrations.langchain.langchain import langchain_patcher
from .integrations.litellm.litellm import litellm_patcher
from .integrations.llamaindex.llamaindex import llamaindex_patcher
from .integrations.mistral.mistral import mistral_patcher
from .integrations.openai.openai_sdk import openai_patcher
from .integrations.instructor.instructor_sdk import instructor_patcher

openai_patcher.attempt_patch()
mistral_patcher.attempt_patch()
Expand All @@ -34,12 +34,12 @@ def reset_autopatch() -> None:
from .integrations.cohere.cohere_sdk import cohere_patcher
from .integrations.dspy.dspy_sdk import dspy_patcher
from .integrations.groq.groq_sdk import groq_patcher
from .integrations.instructor.instructor_sdk import instructor_patcher
from .integrations.langchain.langchain import langchain_patcher
from .integrations.litellm.litellm import litellm_patcher
from .integrations.llamaindex.llamaindex import llamaindex_patcher
from .integrations.mistral.mistral import mistral_patcher
from .integrations.openai.openai_sdk import openai_patcher
from .integrations.instructor.instructor_sdk import instructor_patcher

openai_patcher.undo_patch()
mistral_patcher.undo_patch()
Expand Down

0 comments on commit 37906ec

Please sign in to comment.