今日已更新 128 条资讯 | 累计 28890 条内容
关于我们

标签:#hackernews

找到 9946 篇相关文章

开发者

Is there a name for the type of comments agents add where they leak the prompt?

This is a stupid example to illustrate what I mean. Say you have this code: def create_background(width: int, height: int) -> Image: ... You tell the agent to use default values for create_background, the same as in create_screen. It changes the code to: # Now create_background params have default values, the same as create_screen in screen.py def create_background(width: int = DEFAULT_WIDTH, height: int = DEFAULT_HEIGHT) -> Image: ... The unnecessary comment is a staple of vibed code, but the t

2026-06-14 原文 →