Giter Club home page Giter Club logo

Comments (1)

dsdanielpark avatar dsdanielpark commented on May 29, 2024 1

Thank you. I'm aware of this issue and others, needing to isolate errors and refactor, but detailed revisions are currently delayed due to the hiring process and other projects.

The most likely successful approach in your current situation is method 2, try rerunning the generate_content method without redeclaring the Gemini object. The first object of generate_content might be empty.

  1. AttributeError: 'NoneType' object has no attribute 'group'

    • v2.3.0 will support clear error message.
    • The issue likely stems from invalid or expired cookies. Once exported cookie valuse, google expire and change cookie values very quickly.
  2. GeminiClient = Gemini(cookies=cookies) # where cookies are __Secure-1PSID, __Secure-1PSIDTS

    • Refer to issue #14
    • Try rerunning the generate_content method without redeclaring the Gemini object.
  3. Auto cookies

    • Auto-cookie update is not properly implemented yet; similar to point 1, cookies are received and then updated.
    • The package development was delayed because I aimed to automatically collect cookies from the browser perfectly from the start, ensuring error-free and comfortable use, but ultimately failed, causing a delay in the initial release.

I will try to make time to address this issue as soon as possible.

Also, I have marked # To-Do note in the source code to seek other contributors.

We are waiting for many contributors.
Additionally, I do not expect frequent updates or added features for the Gemini API, as there is an official Gemini API, unlike with Bard API.

from gemini-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.