Runtime flow¶
A typical request travels through these layers:
- An external client sends an NLWeb request.
- The framework receives the HTTP request.
- The framework adapter validates/maps the request into the widget protocol model.
- The widget invokes the configured retrieval/domain projection mechanism.
- The widget returns a structured NLWeb response.
- The framework serializes that response over HTTP.
For the lightweight examples, the flow can be tested without a remote LLM.
Why real HTTP tests matter¶
The integration tests deliberately exercise the HTTP boundary rather than inspecting framework internals. This verifies what an actual consumer can observe: paths, methods, request shapes and response behavior.