Commit 3dbb329
committed
Remove vertex config vars from python template setup
refactor(loop): simplify Gemini client initialization in sampling loop
- Removed environment variable dependencies from the Gemini client initialization in the `sampling_loop` function, streamlining the setup process.
- The client is now instantiated solely with the API key, enhancing clarity and reducing complexity in the code.1 parent 4265d3e commit 3dbb329
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 66 | + | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
| |||
0 commit comments