The API now has versioning, with the prefix "/api/v1". The router has been restructured to include the chat, endpoints, and validate routers. This improves the organization of the code and makes it easier to add new routers in the future.
5 lines
249 B
Python
5 lines
249 B
Python
from langflow.api.v1.endpoints import router as endpoints_router
|
|
from langflow.api.v1.validate import router as validate_router
|
|
from langflow.api.v1.chat import router as chat_router
|
|
|
|
__all__ = ["chat_router", "endpoints_router", "validate_router"]
|