Skip to content

Commit 5e4c87d

Browse files
committed
sync
1 parent a4047f4 commit 5e4c87d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

providers/google/provider.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name = "Google"
2-
env = ["GOOGLE_API_KEY"]
2+
env = ["GOOGLE_GENERATIVE_AI_API_KEY"]

scripts/generate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function build() {
4343
const modelContent = parse(await modelTomlFile.text());
4444

4545
// Use filename without extension as the model ID
46-
const modelId = modelFile.replace(/\.toml$/, "");
46+
const modelId = modelFile.replace(/\.toml$/, "").replace(/%2F/g, "/");
4747
result[provider].models[modelId] = {
4848
...modelContent,
4949
id: modelId,

0 commit comments

Comments
 (0)