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 wasm variant with v0.5.0 #9
Merged
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
Sync with google/generative-ai-android v0.2.2
Per [b/330773378](https://b.corp.google.com/issues/330773378), This adds support for the new `FileData` part type for referencing storage files. This also adds "support" from the genai side, as a means of catching future api discrepancies between common and genai.
Co-authored-by: David Motsonashvili <[email protected]> Co-authored-by: Rodrigo Lazo <[email protected]>
Mockk 1.13.* depends on kotlin 1.9
Based on work from https://github.com/google/generative-ai-android/tree/davidmotson.auto_function_split --------- Co-authored-by: David Motsonashvili <[email protected]> Co-authored-by: David Motsonashvili <[email protected]>
Should address issue google-gemini#69
The field can be ignored in the request. b/331762991
…ai (google-gemini#90) Co-authored-by: David Motsonashvili <[email protected]>
…-gemini#104) Co-authored-by: David Motsonashvili <[email protected]>
This parameter is used to fill the `x-goog-api-client` header
…#106) Also, make the fields optional.
Per [b/330880975](https://b.corp.google.com/issues/330880975), This updates our release infrastructure to support our new multi project repo (with `common` and `generativeai` living next to one another). Now, we can release either in separation of the other. This PR also includes the necessary changes to various tasks, plugins, workflows, tools, and even documentation. More specifically, this PR fixes the following: - [b/332890790](https://b.corp.google.com/issues/332890790) -> Implement a task to generate collective release notes - [b/332891281](https://b.corp.google.com/issues/332891281) -> Implement a task to generative collective api changes - [b/332891563](https://b.corp.google.com/issues/332891563) -> Provide a means for SDKs to generate their release artifacts in isolation of one another - [b/332892199](https://b.corp.google.com/issues/332892199) -> Separate api changes according to sdk - [b/332892499](https://b.corp.google.com/issues/332892499) -> Implement a task to release all sdks with changes - [b/332893058](https://b.corp.google.com/issues/332893058) -> Update the api changes workflow to work for multiple sdks - [b/332894984](https://b.corp.google.com/issues/332894984) -> Update the build release workflow to work for multiple sdks - [b/332897987](https://b.corp.google.com/issues/332897987) -> Update DEVELOPING to reflect the multiple sdk structure - [b/332898189](https://b.corp.google.com/issues/332898189) -> Update change to allow specifying projects
Co-authored-by: Daymon <[email protected]>
Co-authored-by: David Motsonashvili <[email protected]>
google-gemini#112) …gh common Co-authored-by: David Motsonashvili <[email protected]> Co-authored-by: Rodrigo Lazo <[email protected]>
It seems like the `tools` and `toolConfig` parameters were added before `requestOptions`, which could cause a breaking change because in the current version of the SDK the `RequestOptions` is in a different order (right after `safetySettings`). --------- Co-authored-by: Rodrigo Lazo <[email protected]>
Common and GenerativeAI SDKs are both getting a version bump
Also, update the README to use gemini-1.5-pro-latest
We are enabling devs to reference a file in the request, but not ot upload from the Android SDK --------- Co-authored-by: Daymon <[email protected]>
Add caution section on top --------- Co-authored-by: rachelsaunders <[email protected]>
Per [b/333743859](https://b.corp.google.com/issues/333743859), This fixes the issues with the `updateVersion` task properly pulling a dependency on the release notes task, and adds the api files we were previously missing This PR also fixes the following: - [b/336808217](https://b.corp.google.com/issues/336808217) -> Migrate away from file properties
Per [b/337045627](https://b.corp.google.com/issues/337045627), Since `v1beta` is now the default, we no longer have any need to require optin for certain features. The annotation itself has been left for future usage, but its actual usages have been removed.
Also, exposes the data when available. Addresses issue google-gemini#134
…p into v0.5.0-kmp
… v0.5.0-wasm # Conflicts: # generativeai/gradle.properties # generativeai/src/commonMain/kotlin/dev/shreyaspatil/ai/client/generativeai/type/RequestOptions.kt
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.