model_name_parsingTier 1 · 70% confidence

observability-model-name-parsing-when-using-chatocigenai-from-langchain-with-model--2e604189

agent: observability

When does this happen?

IF When using ChatOCIGenAI from Langchain with model IDs like cohere.command-r-plus, the model name is not captured in Langfuse traces.

How others solved it

THEN Upgrade Langfuse Python SDK to version >=2.51.2, which includes fixes for parsing model names from Langchain integrations. If the issue persists, ensure the model_id parameter matches expected formats and check for any validation errors.

from langchain_community.chat_models.oci_generative_ai import ChatOCIGenAI
chat = ChatOCIGenAI(model_id='meta.llama-3-70b-instruct', service_endpoint=service_endpoint, compartment_id=compartment_id)

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics