We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4047f4 commit 5e4c87dCopy full SHA for 5e4c87d
providers/google/provider.toml
@@ -1,2 +1,2 @@
1
name = "Google"
2
-env = ["GOOGLE_API_KEY"]
+env = ["GOOGLE_GENERATIVE_AI_API_KEY"]
scripts/generate
@@ -43,7 +43,7 @@ async function build() {
43
const modelContent = parse(await modelTomlFile.text());
44
45
// Use filename without extension as the model ID
46
- const modelId = modelFile.replace(/\.toml$/, "");
+ const modelId = modelFile.replace(/\.toml$/, "").replace(/%2F/g, "/");
47
result[provider].models[modelId] = {
48
...modelContent,
49
id: modelId,
0 commit comments