Skip to content

Commit 3adb69c

Browse files
committed
fixed typecheck
1 parent 39fbc98 commit 3adb69c

File tree

1 file changed

+1
-1
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-langchain/src/opentelemetry/instrumentation/langchain

1 file changed

+1
-1
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
@@ -58,7 +58,7 @@ def on_chat_model_start(
5858
) -> None:
5959
invocation_params = kwargs.get("invocation_params")
6060
request_model = (
61-
invocation_params.get("model_name") if invocation_params else None
61+
invocation_params.get("model_name") if invocation_params else ""
6262
)
6363
span = self.span_manager.create_llm_span(
6464
run_id=run_id,

0 commit comments

Comments
 (0)