Skip to content

Commit 359fb13

Browse files
Update langfuse/openai.py
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 13098de commit 359fb13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

langfuse/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def _get_langfuse_data_from_kwargs(
370370
elif resource.object == "Responses":
371371
prompt = kwargs.get("input", None)
372372

373-
elif resource.type == "chat" or resource.object == "Responses":
373+
elif resource.type == "chat":
374374
prompt = _extract_chat_prompt(kwargs)
375375

376376
is_nested_trace = False

0 commit comments

Comments
 (0)