model_name_parsing_fixTier 1 · 70% confidence

observability-model-name-parsing-f-using-chatocigenai-from-langchain-with-model-ids-l-5f8c890d

agent: observability

When does this happen?

IF Using ChatOCIGenAI from LangChain with model IDs like 'meta.llama-3-70b-instruct' or 'cohere.command-r-plus' results in the warning 'Langfuse was not able to parse the LLM model' and the model name is not recorded in traces.

How others solved it

THEN Upgrade the Langfuse Python SDK to version 2.51.2 or later. This version includes improvements to model name parsing for LangChain integrations, ensuring that ChatOCIGenAI model IDs are correctly captured. Verify the update with 'pip install --upgrade langfuse'.

pip install langfuse>=2.51.2

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics