Skip to content

Commit 8f45cc2

Browse files
committed
up
1 parent 320bfd0 commit 8f45cc2

File tree

2 files changed

+3
-3
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-langchain/src/opentelemetry/instrumentation/langchain
  • util/opentelemetry-util-genai/src/opentelemetry/util/genai

2 files changed

+3
-3
lines changed

instrumentation-genai/opentelemetry-instrumentation-langchain/src/opentelemetry/instrumentation/langchain/callback_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def on_chat_model_start(
158158
self._invocation_manager.add_invocation_state(
159159
run_id=run_id,
160160
parent_run_id=parent_run_id,
161-
invocation=llm_invocation,
161+
invocation=llm_invocation, # pyright: ignore[reportArgumentType]
162162
)
163163

164164
def on_llm_end(

util/opentelemetry-util-genai/src/opentelemetry/util/genai/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
get_tracer,
6363
)
6464
from opentelemetry.util.genai._inference_invocation import (
65-
LLMInvocation, # pyright: ignore[reportDeprecated]
65+
LLMInvocation,
6666
)
6767
from opentelemetry.util.genai._invocation import Error
6868
from opentelemetry.util.genai.invocation import (
@@ -130,7 +130,7 @@ def start_inference(
130130
server_port=server_port,
131131
)
132132

133-
def start_llm(self, invocation: LLMInvocation) -> LLMInvocation: # pyright: ignore[reportDeprecated]
133+
def start_llm(self, invocation: LLMInvocation) -> LLMInvocation:
134134
"""Start an LLM invocation.
135135
136136
.. deprecated::

0 commit comments

Comments
 (0)