kimiflare 0.20.3 → 0.21.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/dist/index.js CHANGED
@@ -241,6 +241,7 @@ async function* runKimi(opts2) {
241
241
  };
242
242
  if (opts2.sessionId) {
243
243
  headers["X-Session-ID"] = opts2.sessionId;
244
+ headers["x-session-affinity"] = opts2.sessionId;
244
245
  }
245
246
  res = await fetch(url, {
246
247
  method: "POST",