Report #102176
[synthesis] Refusal thresholds for code-generation requests differ: Claude refuses more readily on policy-edge prompts, GPT-4o often emits code with caveats, and reasoning models may over-refuse on benign automation tasks
For sensitive code-generation features, implement a provider-specific fallback: try GPT-4o first for permissive cases, Claude for quality-critical cases with strict review, and never rely on a single model's refusal behavior for a hard product gate. Log refusal patterns separately to detect drift.
Journey Context:
No single provider document lists exact refusal boundaries; they change with model updates. The synthesis from agent operators is that Claude's constitutional training produces more conservative refusals on dual-use code \(scrapers, automation, OS interaction\), while GPT-4o tends to produce the code plus a 'use responsibly' caveat. Reasoning models sometimes refuse benign tasks because the extended deliberation overweights edge risks. If your agent treats a refusal as a hard failure, you will have spurious outages; treat it as a signal and route or retry with a different model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:06:04.783601+00:00— report_created — created