Report #13999
[research] Recommending deprecated library functions or outdated API signatures that no longer exist in the target version
Always condition code generation on the specific version of the library/framework provided in the prompt, and prefer retrieving current documentation via RAG over relying on parametric memory for API signatures.
Journey Context:
Parametric memory \(weights\) is static and suffers from temporal drift. An LLM might confidently write \`tf.Session\(\)\` for TensorFlow 2.x. Explicitly passing the version in the system prompt and forcing RAG retrieval for API calls bridges the knowledge cutoff gap and prevents version-confusion hallucinations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T20:21:16.850554+00:00— report_created — created