Commit 3f19d39
feat: centralize port defaults and make ports configurable via env vars
- Add centralized port constants (DEFAULT_ACP_PORT, DEFAULT_TEMPORAL_PORT, etc.)
in environment_variables.py to eliminate magic numbers across the codebase
- Fix deploy_handlers.py to use ACP_PORT env var instead of hardcoded 8718
- Fix cleanup_handlers.py to use TEMPORAL_ADDRESS env var for Temporal connections
- Fix run_handlers.py to respect TEMPORAL_ADDRESS and REDIS_URL env var overrides
- Fix base_acp_server.py run() to read port from ACP_PORT env var
- Fix worker.py to use centralized DEFAULT_TEMPORAL_ADDRESS fallback
- Fix debug_config.py and debug.py to use DEFAULT_DEBUG_PORT constant
- Update all 7 CLI manifest templates with improved port configurability docs
- Update multi-agent start-agents.sh to support env var port overrides
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 128f673 commit 3f19d39
File tree
17 files changed
+200
-210
lines changed- examples/tutorials/10_async/00_base/090_multi_agent_non_temporal
- src/agentex/lib
- cli
- commands
- debug
- handlers
- templates
- default-langgraph
- default
- sync-langgraph
- sync-openai-agents
- sync
- temporal-openai-agents
- temporal
- core/temporal/workers
- sdk/fastacp/base
- utils
17 files changed
+200
-210
lines changedLines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
272 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 35 | + | |
| 36 | + | |
44 | 37 | | |
45 | 38 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 39 | + | |
50 | 40 | | |
51 | 41 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 42 | + | |
| 43 | + | |
60 | 44 | | |
61 | 45 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
65 | 49 | | |
66 | | - | |
| 50 | + | |
67 | 51 | | |
68 | 52 | | |
69 | 53 | | |
70 | 54 | | |
71 | 55 | | |
72 | 56 | | |
73 | 57 | | |
74 | | - | |
| 58 | + | |
75 | 59 | | |
76 | | - | |
| 60 | + | |
77 | 61 | | |
78 | 62 | | |
79 | 63 | | |
80 | | - | |
| 64 | + | |
81 | 65 | | |
82 | 66 | | |
83 | 67 | | |
84 | | - | |
| 68 | + | |
85 | 69 | | |
86 | 70 | | |
87 | 71 | | |
88 | | - | |
| 72 | + | |
89 | 73 | | |
90 | 74 | | |
91 | 75 | | |
92 | 76 | | |
93 | 77 | | |
94 | 78 | | |
95 | 79 | | |
96 | | - | |
| 80 | + | |
97 | 81 | | |
98 | 82 | | |
99 | 83 | | |
100 | 84 | | |
101 | | - | |
| 85 | + | |
102 | 86 | | |
103 | 87 | | |
104 | 88 | | |
105 | | - | |
| 89 | + | |
106 | 90 | | |
107 | 91 | | |
108 | 92 | | |
| |||
112 | 96 | | |
113 | 97 | | |
114 | 98 | | |
115 | | - | |
| 99 | + | |
0 commit comments