Fix plugins Cloud Run deploy: remove broken mentor import#5883
Merged
Conversation
The mentor directory was renamed to 'mentor (deprecated)/' in 2bce7af but the import in main.py was not updated, causing Cloud Run deploy failures since Feb 21. Mentor functionality is now in Omi core. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Greptile SummaryThis PR fixes a broken import in Key changes:
Notes:
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[plugins/main.py startup] --> B[Import routers]
B --> C[basic_conversation_created_router]
B --> D[oauth_conversation_created_router]
B --> E[zapier_conversation_created_router]
B --> F[chatgpt_router]
B --> G[subscription_router]
B --> H[hey_omi]
B --> I[basic_realtime_mentor_router\nbasic/mentor.py ✅]
B --> J[iq_rating_router]
B --> K[multion_router]
B -. REMOVED .-> L["notifications.mentor ❌\n(directory renamed/deprecated)"]
style L fill:#ffcccc,stroke:#ff0000,color:#000
style I fill:#ccffcc,stroke:#00aa00,color:#000
Last reviewed commit: "Remove deprecated me..." |
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
from notifications.mentor import main as omi_mentorimport inplugins/main.pyapp.include_router(omi_mentor.router)registrationRoot Cause
Commit
2bce7af29(Feb 20, @kodjima33) renamedplugins/notifications/mentor/→plugins/notifications/mentor (deprecated)/but did not updateplugins/main.py. The import on line 14 still referenced the old path, causing the plugins Cloud Run service to fail on every deploy since Feb 21.Why removal (not path fix)
The commit message for
2bce7af29states: "Mentor app functionality has been integrated into Omi core". The mentor plugin is deprecated — the correct fix is to remove the dead import, not restore the old directory.Changes
plugins/main.pyTest plan
notifications.mentorby AI for @beastoin
🤖 Generated with Claude Code