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

Merged duplicate GeminiAdapter class definitions #3463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KangmoonSeo
Copy link

@KangmoonSeo KangmoonSeo commented Aug 3, 2024

Why are these changes needed?

This PR addresses the issue of duplicate GeminiAdapter class definitions found in the codebase.
The changes aim to merge the two identical class definitions, keeping the more specific implementation of the get_default_conv_template method.
This will resolve potential confusion and issues with class resolution.

Changes made

  • Removed the duplicate GeminiAdapter class definition
  • Updated the remaining GeminiAdapter class to include the more specific get_default_conv_template method

Related issue number (if applicable)

Closes #3462

Checks

  • I've run format.sh to lint the changes in this PR.
  • I've included any doc changes needed.
  • I've made sure the relevant tests are passing (if applicable).

@KangmoonSeo
Copy link
Author

@infwinston Could you please review this PR?

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.

Duplicate GeminiAdapter class definition found
1 participant