Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Change bard urls to gemini in docs and core modules #278

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

sudoAlireza
Copy link

@sudoAlireza sudoAlireza commented Feb 10, 2024

Pull Request

Changes proposed in this pull request:

  • Changed bard.google.com to gemini.google.com in core modules
  • Change Bard urls to Gemini urls in Docs

Description:

Google rebranded Bard to Gemini, and the unofficial API is encountering errors.

Related Issues:

Testing:

After modifying bard.google.com to gemini.google.com, my previous codes are functioning correctly. for testing:
Install Package:

pip install git+https://github.com/sudoFathi/Bard-API.git@Bard-To-Gemini-Changes

And run you former codes with BardAPI

To-Do:

  • Change Bard urls to Gemini urls in other programming languages

Copy link

gitguardian bot commented Feb 10, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
- Base64 Basic Authentication c5eadf6 bardapi/constants.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@sudoAlireza sudoAlireza changed the title change bard urls to gemini in docs and core modules Change bard urls to gemini in docs and core modules Feb 10, 2024
@dsdanielpark dsdanielpark merged commit b2b2537 into dsdanielpark:main Feb 13, 2024
1 check failed
@sudoAlireza sudoAlireza deleted the Bard-To-Gemini-Changes branch February 28, 2024 15:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants