We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 312c697 commit 1384bfdCopy full SHA for 1384bfd
1 file changed
util/opentelemetry-util-genai/src/opentelemetry/util/genai/handler.py
@@ -259,11 +259,11 @@ def start_llm(
259
"""Start an LLM invocation and create a pending span entry."""
260
return self.start(invocation)
261
262
- def stop_llm(self, invocation: LLMInvocation) -> LLMInvocation: # pylint: disable=no-self-use
+ def stop_llm(self, invocation: LLMInvocation) -> LLMInvocation:
263
"""Finalize an LLM invocation successfully and end its span."""
264
return self.stop(invocation)
265
266
- def fail_llm( # pylint: disable=no-self-use
+ def fail_llm(
267
self, invocation: LLMInvocation, error: Error
268
) -> LLMInvocation:
269
"""Fail an LLM invocation and end its span with error status."""
0 commit comments