We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e030fdf commit fe084beCopy full SHA for fe084be
1 file changed
langfuse/callback.py
@@ -477,7 +477,7 @@ def __on_llm_action(
477
)
478
if kwargs["invocation_params"]["_type"] in ["anthropic-llm", "anthropic-chat"]:
479
model_name = "anthropic" # unfortunately no model info by anthropic provided.
480
- elif kwargs["invocation_params"]["_type"] == "amazon_bedrock":
+ elif kwargs["invocation_params"]["_type"] in ["amazon_bedrock", "amazon_bedrock_chat"]:
481
# langchain only provides string representation of the model class. Hence have to parse it out.
482
model_name = self.extract_second_part(self.extract_model_id("model_id", serialized["repr"]))
483
elif kwargs["invocation_params"]["_type"] == "cohere-chat":
0 commit comments