Skip to content

Sanitize AI fallback messaging#64

Open
MyouzzZ wants to merge 1 commit into
PolymorphicAI:mainfrom
MyouzzZ:codex/sanitized-ai-errors-14-20260626
Open

Sanitize AI fallback messaging#64
MyouzzZ wants to merge 1 commit into
PolymorphicAI:mainfrom
MyouzzZ:codex/sanitized-ai-errors-14-20260626

Conversation

@MyouzzZ

@MyouzzZ MyouzzZ commented Jun 25, 2026

Copy link
Copy Markdown

Summary

  • replace the fallback card's internal Gemini/API-key guidance with user-safe retry wording
  • add an AI error message policy covering safe fallback behavior and details that should not be exposed
  • note user-safe AI fallback messaging in the README feature list

Closes #14.

Validation

  • .\.venv\Scripts\python.exe -m py_compile backend\main.py
  • verified fallback copy via get_fallback_cards('Testing')[0]['content']
  • git diff --check -- README.md backend/main.py docs/ai-error-message-policy.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sanitized error messages for AI generation failures

1 participant