@flutchai/flutch-sdk 0.1.13 → 0.1.14

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.cjs CHANGED
@@ -5717,13 +5717,13 @@ exports.McpRuntimeHttpClient = class McpRuntimeHttpClient {
5717
5717
  baseUrl;
5718
5718
  constructor(mcpRuntimeUrl) {
5719
5719
  this.baseUrl = mcpRuntimeUrl || process.env.MCP_RUNTIME_URL || "http://localhost:3004";
5720
+ const timeout = Number(process.env.MCP_RUNTIME_TIMEOUT || 9e5);
5720
5721
  this.httpClient = axios2__default.default.create({
5721
5722
  baseURL: this.baseUrl,
5722
- timeout: 3e4
5723
- // 30 seconds
5723
+ timeout
5724
5724
  });
5725
5725
  this.logger.log(
5726
- `MCP Runtime HTTP Client initialized with URL: ${this.baseUrl}`
5726
+ `MCP Runtime HTTP Client initialized with URL: ${this.baseUrl}, timeout: ${timeout}ms`
5727
5727
  );
5728
5728
  }
5729
5729
  /**