mirror of
https://github.com/open-webui/pipelines
synced 2025-06-16 11:29:08 +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
|
# If it's an LLM generation
|
||||||
generation_payload = {
|
generation_payload = {
|
||||||
"name": f"{task_name}:{str(uuid.uuid4())}",
|
"name": f"{task_name}:{str(uuid.uuid4())}",
|
||||||
|
"model": body.get("model"), # <-- Include the model in LLM generation
|
||||||
"input": body["messages"],
|
"input": body["messages"],
|
||||||
"metadata": metadata,
|
"metadata": metadata,
|
||||||
"usage": usage,
|
"usage": usage,
|
||||||
|
Loading…
Reference in New Issue
Block a user