feat(chat): add dynamic provider catalog and zen support

This commit is contained in:
2026-03-08 21:29:48 +00:00
parent 3526c963a4
commit d35feed98c
7 changed files with 5880 additions and 68 deletions

View File

@@ -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)),