mirror of
https://github.com/open-webui/pipelines
synced 2025-06-10 00:27:21 +00:00
fix model id
we now pass model info to langfuse for generation observations
This commit is contained in:
parent
40c32238af
commit
34a464e1d9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user