basion-ai-sdk 0.17.0 → 0.17.1

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
@@ -3304,6 +3304,7 @@ var GatewayClient = class {
3304
3304
  this.manualClose = false;
3305
3305
  this.setConnectionState("connecting");
3306
3306
  const credentials2 = this.secure ? grpc.credentials.createSsl() : grpc.credentials.createInsecure();
3307
+ const maxMsgBytes = Number(process.env.BASION_SDK_GRPC_MAX_MSG_BYTES) || 8 * 1024 * 1024;
3307
3308
  const channelOptions = {
3308
3309
  "grpc.keepalive_time_ms": 3e4,
3309
3310
  // Send keepalive ping every 30s
@@ -3313,8 +3314,10 @@ var GatewayClient = class {
3313
3314
  // Allow pings without active calls
3314
3315
  "grpc.http2.min_time_between_pings_ms": 1e4,
3315
3316
  // Min time between pings
3316
- "grpc.http2.max_pings_without_data": 0
3317
+ "grpc.http2.max_pings_without_data": 0,
3317
3318
  // Unlimited pings without data
3319
+ "grpc.max_send_message_length": maxMsgBytes,
3320
+ "grpc.max_receive_message_length": maxMsgBytes
3318
3321
  };
3319
3322
  this.client = new gatewayProto.gateway.AgentGateway(
3320
3323
  this.gatewayUrl,