Move the FastAPI instance to module level so other packages can import it and register routes before main() is called. main() now configures the existing app with transport-specific routes instead of creating a new one.
OpenAILLMContext