Closed vikaswakde closed 4 weeks ago
handleLoginLink
function to include an early return if no email is present.handleLoginLink
function when an email is providehttps://github.com/user-attachments/assets/d72fe2bc-972d-46fa-8755-1f3f3b210d97
@vikaswakde can you rebase and clean up the conflicts? This looks good
This pull request adds support for multiple AI providers, specifically Anthropic and OpenAI. The changes allow users to choose their preferred provider when using their own API key.
Key changes:
Updated AuthContext (client/src/context/AuthContext.jsx):
provider
andsetProvider
state variablesModified ChoosePaymentOptionDialog (client/src/components/ChoosePaymentOptionDialog.jsx):
Updated ShipForm (client/src/components/ShipForm.jsx):
provider
andsetProvider
from AuthContextstartProject
function to include the provider informationUpdated AIService (server/services/AIService.js):
Modified onboardingService (server/services/onboardingService.js):
startProject
eventTo merge this request:
This change enhances the flexibility of the platform by allowing users to choose between Anthropic and OpenAI as their AI provider, making the service more versatile and user-friendly.
possible fix for #21