Skip to content

Commit 57fb553

Browse files
committed
fix(js/samples/js-coffee-shop): update model so that the sample works
ERROR: ``` [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent: [404 Not Found] models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods. Error: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent: [404 Not Found] models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods. ... ``` CHANGELOG: - [ ] Fixes the use of the model so the sample works.
1 parent 2ff7033 commit 57fb553

File tree

3 files changed

+3070
-1529
lines changed

3 files changed

+3070
-1529
lines changed

0 commit comments

Comments
 (0)