🪢 Langfuse Python SDK - Instrument your LLM app with decorators or low-level SDK and get detailed tracing/observability. Works with any LLM or framework
How to set model name so that LangFuse can get it. I have errors:
'model_name'
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/langfuse/callback.py", line 479, in __on_llm_action
model_name = kwargs["invocation_params"]["model_name"]
KeyError: 'model_name'
run not found
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/langfuse/callback.py", line 541, in on_llm_end
raise Exception("run not found")
Exception: run not found
How to set model name so that LangFuse can get it. I have errors:
'model_name' Traceback (most recent call last): File "/opt/conda/lib/python3.10/site-packages/langfuse/callback.py", line 479, in __on_llm_action model_name = kwargs["invocation_params"]["model_name"] KeyError: 'model_name' run not found Traceback (most recent call last): File "/opt/conda/lib/python3.10/site-packages/langfuse/callback.py", line 541, in on_llm_end raise Exception("run not found") Exception: run not found