@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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5688,13 +5688,13 @@ var McpRuntimeHttpClient = class {
|
|
|
5688
5688
|
baseUrl;
|
|
5689
5689
|
constructor(mcpRuntimeUrl) {
|
|
5690
5690
|
this.baseUrl = mcpRuntimeUrl || process.env.MCP_RUNTIME_URL || "http://localhost:3004";
|
|
5691
|
+
const timeout = Number(process.env.MCP_RUNTIME_TIMEOUT || 9e5);
|
|
5691
5692
|
this.httpClient = axios2.create({
|
|
5692
5693
|
baseURL: this.baseUrl,
|
|
5693
|
-
timeout
|
|
5694
|
-
// 30 seconds
|
|
5694
|
+
timeout
|
|
5695
5695
|
});
|
|
5696
5696
|
this.logger.log(
|
|
5697
|
-
`MCP Runtime HTTP Client initialized with URL: ${this.baseUrl}`
|
|
5697
|
+
`MCP Runtime HTTP Client initialized with URL: ${this.baseUrl}, timeout: ${timeout}ms`
|
|
5698
5698
|
);
|
|
5699
5699
|
}
|
|
5700
5700
|
/**
|