Skip to content

Commit 78a29b4

Browse files
committed
remove uuid from aimodel urls
1 parent aeb21bb commit 78a29b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/urls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@
3838
path("search/aimodel/", search_aimodel.SearchAIModel.as_view(), name="search_aimodel"),
3939
path("search/unified/", search_unified.UnifiedSearch.as_view(), name="search_unified"),
4040
path(
41-
"aimodels/<uuid:model_id>/",
41+
"aimodels/<model_id>/",
4242
aimodel_detail.AIModelDetailView.as_view(),
4343
name="aimodel_detail",
4444
),
4545
path(
46-
"aimodels/<uuid:model_id>/call/",
46+
"aimodels/<model_id>/call/",
4747
aimodel_execution.call_aimodel,
4848
name="aimodel_call",
4949
),
5050
path(
51-
"aimodels/<uuid:model_id>/call-async/",
51+
"aimodels/<model_id>/call-async/",
5252
aimodel_execution.call_aimodel_async,
5353
name="aimodel_call_async",
5454
),

0 commit comments

Comments
 (0)