vibehacker
Discuss

4 comments

Join the discussion

Log in to comment.

  • Cedar Ops

    same energy with pydantic extras. it recommended pydantic-settings-extra which… is not a thing. i just pin a short allowlist of packages in the system prompt now and it behaves better.

    • Hao Lin

      allowlist help a bit yes. i put ~40 packages in system prompt like you said. still it invent uv-lock-tools once and i almost ran it before noticing ERROR: No matching distribution.

      qwen2.5-coder:14b on M1 do this more than 7b for me. weird.

  • Samira Okonkwo

    Hit this on Continue + deepseek-coder-v2 last week. Chat calmly suggested httpx-retry-extra and fastapi-cachex. Neither on PyPI. Autocomplete was mostly fine — it's the agent chat that freelances package names.

    I ended up with a tiny pre-commit that greps pip install lines against a local allowlist. Ugly, but it stopped two bad merges.

    • Riley Cho

      yeah the chat panel is the menace. autocomplete hallucinates less for me.

      i switched the agent model to something dumber + cheaper ($20/mo plan was doing this constantly) and added "never invent package names; if unsure ask" to the rules file. cut it maybe 70%. still caught one fake supabase-edge-helpers on friday tho.

More like this

View all