Report #14342
[research] Agent confidently uses outdated, deprecated, or entirely fabricated parameters for a specific library version
Force the agent to read the official documentation or changelog via a browsing tool before writing API calls. Pin the library version in the system prompt \(e.g., 'Target LangChain 0.1.0'\) and enforce a strict rule: never guess API signatures; always retrieve them.
Journey Context:
LLMs have a training data cutoff and mix API versions from different eras into a single plausible-looking call. This is especially prevalent in fast-moving ecosystems. Prompting 'don't guess' fails because the model doesn't know it's guessing—it perceives the mixed syntax as high probability. Grounding via live retrieval is the only robust fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:17:52.732366+00:00— report_created — created