@2en/clawly-plugins 1.29.0-beta.4 → 1.29.0-beta.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.
@@ -186,7 +186,10 @@ export function patchModelGateway(
186
186
  for (const m of existingModels) {
187
187
  const extra = extraLookup.get(m.id)
188
188
  if (!extra) continue
189
- if ((m as any).contextWindow == null || (m as any).maxTokens == null) {
189
+ if (
190
+ (m as any).contextWindow !== extra.contextWindow ||
191
+ (m as any).maxTokens !== extra.maxTokens
192
+ ) {
190
193
  ;(m as any).contextWindow = extra.contextWindow
191
194
  ;(m as any).maxTokens = extra.maxTokens
192
195
  dirty = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2en/clawly-plugins",
3
- "version": "1.29.0-beta.4",
3
+ "version": "1.29.0-beta.5",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "repository": {