Skip to content

Commit 592c18e

Browse files
committed
adjust unwrap
1 parent 8e667de commit 592c18e

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-openai-v2/src/opentelemetry/instrumentation/openai_v2

1 file changed

+1
-1
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-openai-v2/src/opentelemetry/instrumentation/openai_v2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ def _instrument(self, **kwargs):
7777
def _uninstrument(self, **kwargs):
7878
import openai
7979

80-
unwrap(openai, "resources.chat.completions.Completions.create")
80+
unwrap(openai.resources.chat.completions.Completions, "create")

0 commit comments

Comments
 (0)