Skip to content

Redundant check_links re-verification of valid URLs - #664

Draft
langsmith-engine[bot] wants to merge 1 commit into
masterfrom
issues-agent/9971d136-9efd-484a-9be7-8f3373222918
Draft

Redundant check_links re-verification of valid URLs#664
langsmith-engine[bot] wants to merge 1 commit into
masterfrom
issues-agent/9971d136-9efd-484a-9be7-8f3373222918

Conversation

@langsmith-engine

Copy link
Copy Markdown

The docs_agent repeatedly calls the check_links tool with identical URL arguments (up to 3x per URL) within a single trace, each returning "1/1 valid" — pure redundant re-verification with no error to recover from. The root cause is a prompt instruction that directs the agent to validate links "any time you're unsure" with no guard against re-checking already-validated URLs, and the tool's _cache does not suppress repeat agent invocations. This inflates trajectory length and latency on every response that includes multiple links.

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat-langchain Ready Ready Preview, Comment Jul 28, 2026 7:35pm
chat-langchain-on-mda Ready Ready Preview, Comment Jul 28, 2026 7:35pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants