Commit 46c2fc6
fix(sdc-agents-demo): use env vars for base_url and api_key
Addresses Gemini bot review on PR google#106:
- base_url is now overridable via SDC_BASE_URL with default
https://sdcstudio.axius-sdc.com (the production endpoint).
- api_key is now read from SDC_API_KEY via os.environ.get rather than
the literal "${SDC_API_KEY}" string, which was not substituted by
pydantic and broke the demo as written.
- Docstring prerequisites updated to mention SDC_BASE_URL.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 95fcaa3 commit 46c2fc6
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
43 | | - | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments