Clawith icon indicating copy to clipboard operation
Clawith copied to clipboard

钉钉不能发送文件,非常不方便。

Open rj52077 opened this issue 8 months ago • 2 comments

Pre-checks

What problem does this solve?

亲爱的Clawith团队你们好;

目前钉钉不能把处理好的业务文件在聊天窗口里发出来,非常不方便,希望能尽快更新钉钉发送文件的权限的配置。(非clawith的openclaw接入是可以正常发出来的。)

Proposed solution

No response

Willing to contribute?

  • [ ] I'd be interested in working on this.

rj52077 avatar Mar 21 '26 17:03 rj52077

Not only DingTalk, it seems Wecom and FeiShu Even WEBPAGE have the same issue, AI LLM tell me sent files, but nothing show in talk window. I must find the files in workspace and have no idea it's absolute path, just guess the folder name then i can find the file.

Atlas-SZ avatar Mar 27 '26 02:03 Atlas-SZ

✅ Staging E2E Validation Complete

Date: 2026-08-01
Commit: 25a6b54b (staging)

Test Results

All three E2E tests passed successfully:

Test Scenario Expected Actual Status
Test 1 Normal message (> 30 chars) ~300 tools 275 tools ✅ PASS
Test 2 Short message (< 30 chars) Hard cap at 950 950 tools ✅ PASS
Test 3 No context Hard cap at 950 950 tools ✅ PASS

Log Evidence

Test 1 - Semantic Filter Working:

[SemanticFilter] agent=11111111-2222-3333-4444-555555555555 filtered tools: 1341 → 275 
(essential=21, profile=120, relevant=150)

✅ Reduced from 1341 to 275 tools (79.5% reduction)

Test 2 - Hard Cap Working:

[SemanticFilter] SKIPPED — context too short (2 chars), tools=1341. Layer 5 hard cap will apply if needed.
[HardCap] agent=11111111-2222-3333-4444-555555555555 tool count 1341 exceeds cap 950, applying smart truncation
[HardCap] Truncation complete: 1341 → 950 tools (essential=21, profile=120, progressive=0, semantic=0)

✅ Hard cap prevented HTTP 400 error

Test 3 - No Context Handling:

[SemanticFilter] SKIPPED — no context provided, tools=1341. Layer 5 hard cap will apply if needed.
[HardCap] Truncation complete: 1341 → 950 tools (essential=21, profile=120, progressive=0, semantic=0)

✅ Graceful degradation with hard cap

What Was Fixed

  1. Layer 5 Hard Safety Cap - Prevents tool count from exceeding 950 (safety margin below Z.AI GLM 1000 limit)
  2. A2A Context Guarantee - Pads short messages to ensure semantic filter triggers
  3. Filter Skip Logging - Explicit warnings when filter is bypassed
  4. DataForSEO Seeder Fix - Removed invalid is_active column reference
  5. ZAI Seeder Fix - Removed invalid is_active column reference
  6. WordPress Seeder Fix - Removed invalid is_active column reference

Staging Environment Status

  • Tools: 1371 imported from live (93.8% coverage)
  • Embeddings: 100% (1371/1371 tools)
  • Agent Assignments: 5484 (1371 tools × 4 agents)
  • Backend: Healthy (commit 25a6b54b)
  • Network Isolation: ✅ Fixed (backend → LiteLLM staging)

Ready for Production

All success criteria met:

  • ✅ Semantic filter works correctly (1341 → 275 tools)
  • ✅ Hard cap prevents HTTP 400 errors (1341 → 950 tools)
  • ✅ No regressions detected
  • ✅ All tools imported and assigned
  • ✅ 100% embedding coverage

Recommendation: Ready for production promotion when approved.

up-guillaume avatar Aug 01 '26 21:08 up-guillaume