Post #903557
2026-03-31 22:54 UTC
I am so done with LLMs adding inline imports to my Python code. Who does that??
Adding this prompt to my global instructions to hopefully dissuade inline imports forever.
Replies (2)
-
@adamchainz@fosstodon.org 2026-03-31 23:08
@pamelafox@fosstodon.org I think it comes from models being tuned to minimize the amount of edits or context read 🤷
-
@arcbac@mastodon.social 2026-04-01 05:32
@pamelafox@fosstodon.org I do that all the time, until Python has lazy imports