The backend.py module#
Summary#
Common interface for all backends. |
Description#
Backend abstraction.
Every leaf has one or more backends. A backend is the thing that actually talks to a supported fluids product or service. Tools are LLM-facing. Backends are implementation-facing.
A backend implements only the operations its product supports. Unsupported operations raise BackendUnavailable so the typed-error guard converts them to a clean error code instead of a 500 error code.