refactor(execution): share bounded HTTP redirects (#6637)
This commit is contained in:
1 parent
c7a1eb910d
commit
0f5e56edd4
9 files changed
+368
-655
No files matched your search
@@ -10,6 +10,7 @@ Choose the affected behavior below, then read its owner and existing tests. Foll
|
||||
| Provider selection or model requests | [Provider extension guide](../docs/development.md#adding-an-llm-provider), [`providers/routing.py`](../nanobot/providers/routing.py), then the selected adapter | [`tests/providers/`](../tests/providers/) |
|
||||
| A tool's arguments or execution | The implementation and adjacent configuration in [`agent/tools/`](../nanobot/agent/tools/); [`base.py`](../nanobot/agent/tools/base.py) for the shared contract | [`tests/tools/`](../tests/tools/); runtime/session tools in [`tests/agent/tools/`](../tests/agent/tools/) |
|
||||
| Shell process launch or cleanup | [`execution/processes.py`](../nanobot/execution/processes.py) owns native process trees; [`agent/tools/exec_session.py`](../nanobot/agent/tools/exec_session.py) owns session state and output | [`test_exec_platform.py`](../tests/tools/test_exec_platform.py), [`test_shell_reap.py`](../tests/tools/test_shell_reap.py), [`test_shell_execution_budgets.py`](../tests/tools/test_shell_execution_budgets.py) |
|
||||
| Outbound HTTP redirects for fetched content | [`execution/http.py`](../nanobot/execution/http.py) owns the GET and response lifetime; [`security/network.py`](../nanobot/security/network.py) owns URL policy and DNS validation | [`test_web_fetch_security.py`](../tests/tools/test_web_fetch_security.py), [`test_image_generation_security.py`](../tests/providers/test_image_generation_security.py) |
|
||||
| Slash commands or command dispatch | [`command/router.py`](../nanobot/command/router.py), [`command/builtin.py`](../nanobot/command/builtin.py) | [`tests/command/`](../tests/command/) |
|
||||
| Turn scheduling, cancellation, or delivery | [`agent/loop.py`](../nanobot/agent/loop.py), [`agent/turn_delivery.py`](../nanobot/agent/turn_delivery.py) | [`test_loop_concurrency.py`](../tests/agent/test_loop_concurrency.py), [`test_task_cancel.py`](../tests/agent/test_task_cancel.py), [`test_turn_delivery.py`](../tests/agent/test_turn_delivery.py) |
|
||||
| Model/tool iterations, retry, or injected input | [`agent/runner.py`](../nanobot/agent/runner.py); [`agent/pending_inputs.py`](../nanobot/agent/pending_inputs.py) owns run-local input batches and terminal waits, while `AgentLoop` prepares each input | [`test_runner_core.py`](../tests/agent/test_runner_core.py), [`test_runner_fallback.py`](../tests/agent/test_runner_fallback.py), [`test_runner_injections.py`](../tests/agent/test_runner_injections.py) |
|
||||
|
||||
Reference in new issue
Block a user