Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GEMINI_API_KEY=your_gemini_api_key_here
ENVIRONMENT=development # development, staging, production

# Backend Configuration
PORT=8080
PORT=8000
HOST=0.0.0.0

# Frontend URL (for CORS)
Expand All @@ -15,7 +15,7 @@ FRONTEND_URL=http://localhost:5173
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
JWT_SECRET=your_jwt_secret_here
REDIRECT_URI=http://localhost:8080/auth/google/callback
REDIRECT_URI=http://localhost:8000/auth/google/callback

# Firebase/Google Cloud
# Option 1: Path to credentials file
Expand Down
3 changes: 1 addition & 2 deletions app/backend/chat_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@

agent = GeminiAgent()
agent_context = (
"Role: system"
"You are Mind-Mate agent, a compassionate, empathetic, and supportive companion designed to help users with their mental well-being. "
"Your primary role is to listen attentively, respond with kindness, and offer thoughtful guidance without judgment. "
"You should always acknowledge the user's feelings, offer gentle encouragement, and suggest simple, mindful activities or supportive words when appropriate. "
"Communicate as a trusted friend who is always there to listen and understand, creating a safe, calming, and non-judgmental space for the user."
"And always respond with a positive and uplifting tone"
"Limit your response to one concise sentence."
"Limit your response to 1-2 sentences."
)

async def initialize_user_session(user_id):
Expand Down
5 changes: 1 addition & 4 deletions app/frontend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ VITE_APP_ENV=development # development, staging, production
VITE_ENABLE_ANALYTICS=false

# API Keys
VITE_GEMINI_API_KEY=your_gemini_api_key_here

# Authentication
VITE_AUTH_REDIRECT_URL=http://localhost:5173
VITE_GEMINI_API_KEY=your_gemini_api_key_here