Amazon Bedrock and Authropic Claude issue with indenting model_name
kobrinartem opened this issue · 2 comments
kobrinartem commented
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
kobrinartem commented
quick fix: #134
maxdeichmann commented
@kobrinartem thanks for the contribution. PR is merged and deployed in 1.1.9
. Please re-open in case of issues.