[GH-ISSUE #11] Add a support for Gemini 1.5 Pro #8

Closed
opened 2026-03-03 13:52:08 +03:00 by kerem · 4 comments
Owner

Originally created by @mertushka on GitHub (Apr 1, 2024).
Original GitHub issue: https://github.com/jehna/humanify/issues/11

How about adding support for Google's Gemini 1.5 Pro Model which offers 1,048,576 tokens for free?

https://aistudio.google.com/

Originally created by @mertushka on GitHub (Apr 1, 2024). Original GitHub issue: https://github.com/jehna/humanify/issues/11 How about adding support for Google's Gemini 1.5 Pro Model which offers 1,048,576 tokens for free? https://aistudio.google.com/
kerem 2026-03-03 13:52:08 +03:00
Author
Owner

@0xdevalias commented on GitHub (Apr 1, 2024):

AIStudio isn't accessible via API as far as I know; and they've only recently started giving API access to a limited set of people applying; limited to a single Google Cloud project ID.

So not really widely available to be integrated at this stage afaik.

<!-- gh-comment-id:2030576378 --> @0xdevalias commented on GitHub (Apr 1, 2024): AIStudio isn't accessible via API as far as I know; and they've only recently started giving API access to a limited set of people applying; limited to a single Google Cloud project ID. So not really widely available to be integrated at this stage afaik.
Author
Owner

@mertushka commented on GitHub (Aug 28, 2024):

Any heads up? @0xdevalias @jehna

<!-- gh-comment-id:2313870234 --> @mertushka commented on GitHub (Aug 28, 2024): Any heads up? @0xdevalias @jehna
Author
Owner

@0xdevalias commented on GitHub (Aug 28, 2024):

These days I would probably suggest widening the scope of this issue to include multiple Gemini based models, as there are things like Gemini 1.5 Flash and similar now too:


If this were a python based project, I would suggest that there might be benefit in implementing an abstraction library such as litellm (which is what aider uses) to ease integrating multiple new API's/model providers, but not sure if there is a well maintained equivalent for JS/TS:

<!-- gh-comment-id:2313905935 --> @0xdevalias commented on GitHub (Aug 28, 2024): These days I would probably suggest widening the scope of this issue to include multiple Gemini based models, as there are things like Gemini 1.5 Flash and similar now too: - https://ai.google.dev/pricing - https://ai.google.dev/gemini-api/docs - https://ai.google.dev/gemini-api/docs/quickstart?lang=node - https://ai.google.dev/gemini-api/docs/downloads - > `npm install @google/generative-ai` - https://ai.google.dev/gemini-api/docs/models/gemini - 1.5 Flash, 1.5 Pro, 1.0 Pro, etc - https://ai.google.dev/gemini-api/docs/models/experimental-models --- If this were a python based project, I would suggest that there might be benefit in implementing an abstraction library such as `litellm` (which is what `aider` uses) to ease integrating multiple new API's/model providers, but not sure if there is a well maintained equivalent for JS/TS: - https://aider.chat/docs/llms.html - https://github.com/BerriAI/litellm - > Python SDK, Proxy Server to call 100+ LLM APIs using the OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq] - https://docs.litellm.ai/ - https://docs.litellm.ai/#quick-start-proxy---cli - It seems it can be run as a standalone proxy; but that would then be introducing reliance on python again like the old version of this project had. - https://docs.litellm.ai/docs/providers - https://www.reddit.com/r/node/comments/16wialr/similar_library_to_litellm_a_python_library/ - https://github.com/token-js/token.js - > Token.js > Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format. Free and open source. No proxy server required. - https://docs.tokenjs.ai/
Author
Owner

@jehna commented on GitHub (Aug 28, 2024):

I took a quick look and it seems that gemini does support forcing json output, which is required for humanify to work correctly. This should be straightforward to implement, as Google offers free tokens for CI testing and there's an officisl node.js package available.

<!-- gh-comment-id:2314312812 --> @jehna commented on GitHub (Aug 28, 2024): I took a quick look and it seems that gemini does support [forcing json output](https://ai.google.dev/gemini-api/docs/json-mode?authuser=1&lang=node#generate-json), which is required for humanify to work correctly. This should be straightforward to implement, as Google offers free tokens for CI testing and there's [an officisl node.js package](https://www.npmjs.com/package/@google/generative-ai) available.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/humanify#8
No description provided.