You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent the init prompt from building a mobile app backend (#9180)
* Prevent the init prompt from building a mobile app backend
Co-authored-by: Konstantin Mandrika <[email protected]>
* Update src/mcp/prompts/core/init.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
---------
Co-authored-by: Konstantin Mandrika <[email protected]>
Co-authored-by: Joe Hanley <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/mcp/prompts/core/init.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ ${prompt || "<the user didn't supply specific instructions>"}
54
54
55
55
Follow the steps below taking note of any user instructions provided above.
56
56
57
+
IMPORTANT: The backend setup guide is for web apps only. If the user requests backend setup for a mobile app (iOS, Android, or Flutter), inform them that this is not supported and do not use the backend setup guide. You can still assist with other requests.
58
+
57
59
1. If there is no active user, use the \`firebase_login\` tool to help them sign in.
58
60
2. If there is no active Firebase project, ask the user if they would like to create a project, or use an existing one, and ask them for the project ID
59
61
- If they would like to create a project, use the firebase_create_project with the project ID
0 commit comments