Skip to content

Commit

Permalink
[Coverage Tool] Update DISCOVERY_DOC_URL to firebasevertexai (#24)
Browse files Browse the repository at this point in the history
* [Coverage Tool] Update `DISCOVERY_DOC_URL` to `firebasevertexai`

* Update API version from `v1beta1` to `v1beta`
  • Loading branch information
andrewheard authored Oct 31, 2024
1 parent cfb720b commit 6069992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage-tool/coverage_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from sys import stderr
from urllib.request import urlopen

DISCOVERY_DOC_URL = "https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1"
DISCOVERY_DOC_URL = "https://firebasevertexai.googleapis.com/$discovery/rest?version=v1beta"
SCHEMA_PREFIX = "GoogleCloudAiplatformV1beta1"
RESPONSE_TYPES = ["GenerateContentResponse", "CountTokensResponse"]
SCRIPT_DIR = os.path.dirname(__file__)
Expand Down

0 comments on commit 6069992

Please sign in to comment.