agenr 0.9.10 → 0.9.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.11 - 2026-02-27
4
+
5
+ ### Fixed
6
+ - Added 15s timeout to LLM dedup pre-screening calls in consolidate clustering
7
+ to prevent hangs from unresponsive LLM endpoints.
8
+
3
9
  ## 0.9.10 - 2026-02-27
4
10
 
5
11
  ### Added
package/dist/cli-main.js CHANGED
@@ -4292,14 +4292,20 @@ function extractLlmDedupFromToolCall(message) {
4292
4292
  }
4293
4293
  async function llmDedupCheck(llmClient, entryA, entryB) {
4294
4294
  try {
4295
- const response = await runSimpleStream({
4296
- model: llmClient.resolvedModel.model,
4297
- context: buildLlmDedupContext(entryA, entryB),
4298
- options: {
4299
- apiKey: llmClient.credentials.apiKey
4300
- },
4301
- verbose: false
4302
- });
4295
+ const timeoutMs = 15e3;
4296
+ const response = await Promise.race([
4297
+ runSimpleStream({
4298
+ model: llmClient.resolvedModel.model,
4299
+ context: buildLlmDedupContext(entryA, entryB),
4300
+ options: {
4301
+ apiKey: llmClient.credentials.apiKey
4302
+ },
4303
+ verbose: false
4304
+ }),
4305
+ new Promise(
4306
+ (_, reject) => setTimeout(() => reject(new Error("llmDedupCheck timed out")), timeoutMs)
4307
+ )
4308
+ ]);
4303
4309
  if (response.stopReason === "error" || response.errorMessage) {
4304
4310
  return false;
4305
4311
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenr",
3
- "version": "0.9.10",
3
+ "version": "0.9.11",
4
4
  "openclaw": {
5
5
  "extensions": [
6
6
  "dist/openclaw-plugin/index.js"