2 ms·
Claude Code fails to fetch or create the GPL v3.0 license when asked
Is it just me? What in the GPL v3.0 license causes CC to run into this issue?
Note that, if I copy the entire license into the prompt, it can successfully create it.
---
Now let me add the GPL v3.0 LICENSE file:
Fetch(https://www.gnu.org/licenses/gpl-3.0.txt)
⎿ Error: Request failed with status code 429
Let me create the GPL v3.0 LICENSE file directly:
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_er
ror","message":"Output blocked by content filtering
policy"},"request_id":null}
- daemonologist 1y agoDoes it have the same behavior with other common licenses? I would not be surprised if there are some guardrails in place specifically to keep licenses from being generated. If a client accidentally re-licensed their entire source-available product because they weren't paying attention to what Claude Code was spitting out, I imagine they'd be pretty upset (I don't know if such an accidental license would hold up in court, but nevertheless).
- nivertech 1y agoOnce CC tried to put an MIT license on a proprietary repo It's best to explicitly to disallow things like that in CLAUDE.md