From 34a464e1d93090bb9a6806a8379b791bd66465c4 Mon Sep 17 00:00:00 2001 From: ther3zz <40278044+ther3zz@users.noreply.github.com> Date: Tue, 4 Mar 2025 13:27:58 -0500 Subject: [PATCH] fix model id we now pass model info to langfuse for generation observations --- examples/filters/langfuse_filter_pipeline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/filters/langfuse_filter_pipeline.py b/examples/filters/langfuse_filter_pipeline.py index 0a25bbc..48f453a 100644 --- a/examples/filters/langfuse_filter_pipeline.py +++ b/examples/filters/langfuse_filter_pipeline.py @@ -244,6 +244,7 @@ class Pipeline: # If it's an LLM generation generation_payload = { "name": f"{task_name}:{str(uuid.uuid4())}", + "model": body.get("model"), # <-- Include the model in LLM generation "input": body["messages"], "metadata": metadata, "usage": usage,