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

Gemini Completion feature #12

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

BlazingRockStorm
Copy link
Contributor

Add Completion feature for Google Gemini

@BlazingRockStorm
Copy link
Contributor Author

BlazingRockStorm commented Oct 14, 2024

@alchaplinsky can you help me? I don't know where is wrong

In the new #complete method that I'm developing
generate_completion_options(prompt, options) returns {:contents=>[{:role=>"user", :parts=>[{:text=>"Hello"}]}], :generationConfig=>{}}. the same as in the #chat method

but the response is nil

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