Skip to content

Commit 9a33085

Browse files
authored
chore(langchain): fix typo in function name (#1147)
1 parent d97e39e commit 9a33085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

langfuse/callback/langchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ def on_llm_end(
863863
extracted_response = (
864864
self._convert_message_to_dict(generation.message)
865865
if isinstance(generation, ChatGeneration)
866-
else _extract_raw_esponse(generation)
866+
else _extract_raw_response(generation)
867867
)
868868

869869
llm_usage = _parse_usage(response)
@@ -1029,7 +1029,7 @@ def _log_debug_event(
10291029
)
10301030

10311031

1032-
def _extract_raw_esponse(last_response):
1032+
def _extract_raw_response(last_response):
10331033
"""Extract the response from the last response of the LLM call."""
10341034
# We return the text of the response if not empty
10351035
if last_response.text is not None and last_response.text.strip() != "":

0 commit comments

Comments
 (0)