@heylemon/lemonade 0.5.4 → 0.5.5
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.
|
@@ -37,6 +37,10 @@ function normalizeAnthropicModelId(model) {
|
|
|
37
37
|
return "claude-sonnet-4-6";
|
|
38
38
|
if (lower === "sonnet-4.5")
|
|
39
39
|
return "claude-sonnet-4-5";
|
|
40
|
+
// Strip date suffixes (e.g. claude-sonnet-4-6-20260217 → claude-sonnet-4-6)
|
|
41
|
+
const stripped = trimmed.replace(/-\d{8}$/, "");
|
|
42
|
+
if (stripped !== trimmed)
|
|
43
|
+
return stripped;
|
|
40
44
|
return trimmed;
|
|
41
45
|
}
|
|
42
46
|
function normalizeProviderModelId(provider, model) {
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d03eeb5e4cb32552a79f2a5709a0f77293953becd46da61844a42631f86aa986
|