Skip to content

chore(synapse): unify import error messages for missing AI dependencies#84

Open
IshanikaAurelia1106 wants to merge 1 commit into
MarcoPorcellato:mainfrom
IshanikaAurelia1106:chore-english-import-errors
Open

chore(synapse): unify import error messages for missing AI dependencies#84
IshanikaAurelia1106 wants to merge 1 commit into
MarcoPorcellato:mainfrom
IshanikaAurelia1106:chore-english-import-errors

Conversation

@IshanikaAurelia1106

@IshanikaAurelia1106 IshanikaAurelia1106 commented Jul 2, 2026

Copy link
Copy Markdown

This PR improves and unifies import error messages when AI-related dependencies are missing.

Previously, different modules raised inconsistent ImportError messages, making debugging harder.

This PR standardizes those messages to provide a clearer and more user-friendly explanation when optional AI dependencies are not installed.

Before / After Example

Before:
ModuleNotFoundError: No module named 'xyz'

After:
AI dependency missing: please install optional package 'xyz'

Type of change

  • Bug fix
  • New feature (non-breaking change which adds functionality)
  • Breaking change
  • Documentation update

Checklist

  • I have tested my changes locally
  • My code follows the project's style guidelines
  • I have not introduced breaking changes

@IshanikaAurelia1106

Copy link
Copy Markdown
Author

This PR standardizes ImportError messages for missing AI dependencies to improve clarity and debugging consistency. Happy to adjust wording if needed.

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.

1 participant