Change8
Error2 reports

Fix BlockedPromptException

in MetaGPT

Solution

BlockedPromptException usually arises when the language model flags your prompt or generated content as potentially harmful or violating its safety guidelines. To resolve this, rephrase your prompt to be less ambiguous, remove potentially sensitive keywords, and ensure it clearly aligns with ethical and safe AI practices; also, consider adjusting the model's safety settings (if available) to a less restrictive level if appropriate for your specific use case and risk tolerance.

Timeline

First reported:May 2, 2025
Last reported:Jul 10, 2025

Need More Help?

View the full changelog and migration guides for MetaGPT

View MetaGPT Changelog