Closed narain1 closed 1 month ago
Hey – thanks for reaching out,
It looks like this was fixed in DataDog/dd-trace-py#10949. We might need to upgrade our internal tracer version in the layers for this change to be reflected.
Will keep updating.
thanks for the update
The logging code breaks when encountering new AWS model names that include region parameters. It was designed to handle older models with two components (provider and model name), but the new naming convention adds a third component (region), causing a ValueError during splitting.
Expected Behavior
The code should correctly extract the model provider and model name from both old and new AWS model naming conventions.
new models from AWS which have a region parameter breaks the logging to data dog
New model: us.meta.llama3-2-1b-instruct-v1:0 old model: meta.llama3-1-8b-instruct-v1:0
Actual Behavior
When a new model name with a region is encountered, the code fails with:
Specifications
Stacktrace
let me know if i can raise a PR for this