feat(chat): add dynamic provider catalog and zen support
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
from django.urls import include, path
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .views import ChatViewSet
|
||||
from .views import ChatProviderCatalogViewSet, ChatViewSet
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r"conversations", ChatViewSet, basename="chat-conversation")
|
||||
router.register(
|
||||
r"providers", ChatProviderCatalogViewSet, basename="chat-provider-catalog"
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("", include(router.urls)),
|
||||
|
||||
Reference in New Issue
Block a user