Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Add REST sample for listing and getting models #421

Merged
MarkDaoust merged 3 commits intogoogle-gemini:mainfrom
shilpakancharla:rest_model_samples
Jul 2, 2024
Merged

Add REST sample for listing and getting models #421
MarkDaoust merged 3 commits intogoogle-gemini:mainfrom
shilpakancharla:rest_model_samples

Conversation

@shilpakancharla
Copy link
Contributor

Description of the change

Introduced a basic script shell that will list and get models. Let me know how to best format this.

Do we format the tags similar to how we did in Python?

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:python sdk Issue/PR related to Python SDK labels Jul 2, 2024
Copy link
Collaborator

@MarkDaoust MarkDaoust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Start with set -eu.
  • Add region tags.
  • Should we wrap each region in a function?
Change-Id: Id37a33e23349acb5c4d787015a65330f6c96078d
Change-Id: Ib1ec6500da407342c01da18f3f166dae199a6347
@MarkDaoust MarkDaoust merged commit 45fcbdf into google-gemini:main Jul 2, 2024
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component:python sdk Issue/PR related to Python SDK

2 participants