forked from google-gemini/generative-ai-android
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Sync with google/generative-ai-android v0.9.0 #11
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When we migrated to common, our types got moved and the proguard rule no longer applied. I think this should be adequate to handle all of our serialized types, but if there are more outside of common that'll also need to be kept.
Co-authored-by: David Motsonashvili <[email protected]> Co-authored-by: Rodrigo Lazo <[email protected]>
Per [b/338414499](https://b.corp.google.com/issues/338414499), This adds support for the `responseMimeType` property that was added to `GenerationConfig` of gemini. This PR also fixes the following: - [b/338415129](https://b.corp.google.com/issues/338415129) -> Hide leaked JSON property in common --------- Co-authored-by: Rodrigo Lazo <[email protected]>
google-gemini#144) …all text parts --------- Co-authored-by: David Motsonashvili <[email protected]>
This adds a handful of missing serialization definitions we were missing that are not in beta and we could be using in libraries depending on common. Tested to not cause issues with labs.
Co-authored-by: David Motsonashvili <[email protected]>
Per [b/343255536](https://b.corp.google.com/issues/343255536), This update ktfmt to the latest version. This is needed to support a kmp migration, and the formatting changes from `0.16.0` to `0.18.0` are enough to pollute the kmp pr. So this change is being done separately to help reduce the diff in kmp related changes.
Co-authored-by: David Motsonashvili <[email protected]> Co-authored-by: David Motsonashvili <[email protected]>
google-gemini#165) …ct it to not be null --------- Co-authored-by: David Motsonashvili <[email protected]>
…-gemini#159) Co-authored-by: David Motsonashvili <[email protected]>
Co-authored-by: David Motsonashvili <[email protected]>
…#174) "Warn Version Bump" will fail if a PR contains a major/minor bump without a changelog. There most recent test commits show what this failure looks like.
Per [b/346812151](https://b.corp.google.com/issues/346812151), This updates the json parser in common to be lenient in its decoding. Otherwise, it can not properly decode json literals such as: ```json { "result": true } ``` A test has been added to track this change as well.
Per [b/346829081](https://b.corp.google.com/issues/346829081), This is a release of `Common` at `0.7.1` so that we can get the JSON literal decoding fix out.
Per [b/344929335](https://b.corp.google.com/issues/344929335), This simplifies our function calling to not ascertain types. As a byproduct, we also no longer provide a means to execute functions. Additional documentation has been provided to showcase new usage.
Co-authored-by: David Motsonashvili <[email protected]>
Co-authored-by: David Motsonashvili <[email protected]>
Per [b/350789193](https://b.corp.google.com/issues/350789193) and [b/350789851](https://b.corp.google.com/issues/350789851), This prepares the release for GenAI `0.9.0` and Common `0.8.0`.
The test had no assertion
Internal b/346393026 --------- Co-authored-by: rachelsaunders <[email protected]> Co-authored-by: David Motsonashvili <[email protected]> Co-authored-by: David Motsonashvili <[email protected]>
Co-authored-by: David Motsonashvili <[email protected]>
Co-authored-by: Daymon <[email protected]>
Co-authored-by: David Motsonashvili <[email protected]>
Per [b/348216210](https://b.corp.google.com/issues/348216210), This addresses some comments left in a previous PR. More specifically, it updates our tests to use `1.5` instead of `1.0` so that we better align with expected usage.
Show that content parts contain the executableCode and executableResult as separate parts --------- Co-authored-by: Daymon <[email protected]>
I'm making sure all samples in our various repos have a ToC. This matches the Python & REST READMEs, and I can add a GitHub action if you like - just LMK. * [Python and REST](google-gemini/generative-ai-python@db311dd) * [GitHub action](https://github.com/google-gemini/generative-ai-python/blob/main/.github/workflows/samples.yaml)
6af7257
to
c988de5
Compare
f06e692
to
573d41d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.