Commit 74dc895
committed
fix: add configurable PORT env var to AGUI templates + update snapshots
All 3 AGUI templates now read PORT from env with default 8080:
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("PORT", "8080")))
Addresses PR review comment requesting configurable port for local testing.1 parent 4a168ed commit 74dc895
4 files changed
Lines changed: 8 additions & 7 deletions
File tree
- src/assets
- __tests__/__snapshots__
- python/agui
- googleadk/base
- langchain_langgraph/base
- strands/base
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1849 | 1849 | | |
1850 | 1850 | | |
1851 | 1851 | | |
1852 | | - | |
| 1852 | + | |
1853 | 1853 | | |
1854 | 1854 | | |
1855 | 1855 | | |
| |||
2012 | 2012 | | |
2013 | 2013 | | |
2014 | 2014 | | |
| 2015 | + | |
2015 | 2016 | | |
2016 | 2017 | | |
2017 | 2018 | | |
| |||
2049 | 2050 | | |
2050 | 2051 | | |
2051 | 2052 | | |
2052 | | - | |
| 2053 | + | |
2053 | 2054 | | |
2054 | 2055 | | |
2055 | 2056 | | |
| |||
2074 | 2075 | | |
2075 | 2076 | | |
2076 | 2077 | | |
2077 | | - | |
| 2078 | + | |
2078 | 2079 | | |
2079 | 2080 | | |
2080 | 2081 | | |
| |||
2358 | 2359 | | |
2359 | 2360 | | |
2360 | 2361 | | |
2361 | | - | |
| 2362 | + | |
2362 | 2363 | | |
2363 | 2364 | | |
2364 | 2365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
0 commit comments