@hamak/smart-data-dico 1.24.4 → 1.24.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.
@@ -117921,7 +117921,7 @@ function buildAiErrorDiagnostics(req, cfg, diagnosticId, rawMessages, pageContex
117921
117921
  provider: cfg.provider,
117922
117922
  model: cfg.model,
117923
117923
  incomingRequest: {
117924
- contentLengthHeader: req.get("content-length") ?? null,
117924
+ contentLengthHeader: typeof req.get === "function" ? req.get("content-length") ?? null : null,
117925
117925
  parsedBodyBytes: jsonByteLength(req.body),
117926
117926
  messageHistoryBytes: jsonByteLength(rawMessages),
117927
117927
  messageCount: rawMessages.length,
@@ -118814,7 +118814,7 @@ Be concise in your responses. Show a summary of what you created.`;
118814
118814
  provider: cfg.provider,
118815
118815
  model: cfg.model,
118816
118816
  mode,
118817
- contentLengthHeader: req.get("content-length") ?? null,
118817
+ contentLengthHeader: typeof req.get === "function" ? req.get("content-length") ?? null : null,
118818
118818
  parsedRequestBodyBytes: jsonByteLength(req.body),
118819
118819
  messageHistoryBytes: jsonByteLength(rawMessages),
118820
118820
  messageCount: rawMessages.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hamak/smart-data-dico",
3
- "version": "1.24.4",
3
+ "version": "1.24.5",
4
4
  "description": "Collaborative data dictionary management system — model, document, and govern your data landscape",
5
5
  "type": "module",
6
6
  "bin": {