"""
URL patterns for LLM Manager — FBVs per Red Panda Standards.
"""

from django.urls import path

from . import views

app_name = "llm_manager"

urlpatterns = [
    path("", views.dashboard, name="dashboard"),
    # APIs
    path("apis/", views.api_list, name="api_list"),
    path("apis/create/", views.api_create, name="api_create"),
    path("apis/<uuid:pk>/", views.api_detail, name="api_detail"),
    path("apis/<uuid:pk>/edit/", views.api_edit, name="api_edit"),
    path("apis/<uuid:pk>/delete/", views.api_delete, name="api_delete"),
    path("apis/<uuid:pk>/test/", views.api_test, name="api_test"),
    # Models
    path("models/", views.model_list, name="model_list"),
    path("models/create/", views.model_create, name="model_create"),
    path("models/<uuid:pk>/", views.model_detail, name="model_detail"),
    path("models/<uuid:pk>/edit/", views.model_edit, name="model_edit"),
    path("models/<uuid:pk>/delete/", views.model_delete, name="model_delete"),
    # Usage
    path("usage/", views.usage_list, name="usage_list"),
]
