Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google-gemini/deprecated-generative-ai-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @google/generative-ai@0.15.0
Choose a base ref
...
head repository: google-gemini/deprecated-generative-ai-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @google/generative-ai@0.16.0
Choose a head ref
  • 5 commits
  • 42 files changed
  • 4 contributors

Commits on Jul 15, 2024

  1. 1 Configuration menu
    Copy the full SHA
    0f32a5f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Fix sample comment describing video/audio processing (#212)

    Comment now reads: "A video or audio file is converted to tokens at a fixed rate of tokens per second."
    hsubox76 authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    9eabe6c View commit details
    Browse the repository at this point in the history
  2. AbortSignal support (#144)

    Add `SingleRequestOptions` with `AbortSignal` support to most of the asynchronous methods of:
    
     - `GenerativeModel`
     - `GoogleAIFileManager`
     - `ChatSession`
    
    **NOTE:** `AbortSignal` is a client-only operation. Using it to cancel an operation will not cancel the request in the service. You will still be charged usage for any applicable operations.
    
    Some methods are not supported as they would leave the server in an ambiguous state, namely `GoogleAIFileManager.uploadFile()` and `GoogleAIFileManager.deleteFile()`.
    DellaBitta authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    d2d42ca View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    fd3965f View commit details
    Browse the repository at this point in the history
  2. Version Packages (#213)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    71905ad View commit details
    Browse the repository at this point in the history
Loading