Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/open ai dropdown menu #19

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

samantha-t28
Copy link
Collaborator

@samantha-t28 samantha-t28 commented Nov 30, 2024

Summary

  • This PR implements a dropdown menu in the "Model" section using Chakra UI's Select component, as outlined in the original issue. The dropdown displays the specified model options (gpt-4o, gpt-4o-mini, gpt-4o-turbo...etc) and includes hover functionality that changes the background colour to #E6E6E6.
  • The selected model is saved and applied upon selection.

Screenshots

Before:

Screenshot 2024-11-29 at 7 36 02 PM

After:

With hover effect

Screenshot 2024-11-29 at 8 08 31 PM

save selected model

Screenshot 2024-11-29 at 8 10 01 PM

samantha-t28 and others added 4 commits November 24, 2024 00:05
- Installed all the required dependencies and devDependencies.
- Wrapped the application with <ChakraProvider>
- Installed the `Select` component snippet.
- Added alias to both tsconfig and vite.config to ensure both TypeScript and Vite understand how to resolve the @ alias during development and bundling.
Copy link

sonarqubecloud bot commented Dec 4, 2024

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

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