@mastra/observability 1.14.0-alpha.1 → 1.14.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1137,7 +1137,9 @@ function getModelVariants(model) {
|
|
|
1137
1137
|
add(model.replace(/[./]/g, "-"));
|
|
1138
1138
|
const slashIndex = model.indexOf("/");
|
|
1139
1139
|
if (slashIndex !== -1) {
|
|
1140
|
-
|
|
1140
|
+
const withoutVendor = model.substring(slashIndex + 1);
|
|
1141
|
+
add(withoutVendor);
|
|
1142
|
+
add(withoutVendor.replace(/\./g, "-"));
|
|
1141
1143
|
}
|
|
1142
1144
|
return [...variants];
|
|
1143
1145
|
}
|