fix: 标注url修改

This commit is contained in:
shaohuzhang1 2023-12-13 17:16:27 +08:00
parent 5ac4f64a93
commit fd5fcb16e1

View File

@ -31,7 +31,7 @@ urlpatterns = [
'application/<str:application_id>/chat/<chat_id>/chat_record/<str:chat_record_id>/dataset/<str:dataset_id>/document_id/<str:document_id>/improve',
views.ChatView.ChatRecord.Improve.as_view(),
name=''),
path('application/<str:application_id>/chat/<chat_id>/chat_record/<str:chat_record_id>',
path('application/<str:application_id>/chat/<chat_id>/chat_record/<str:chat_record_id>/improve',
views.ChatView.ChatRecord.ChatRecordImprove.as_view()),
path('application/chat_message/<str:chat_id>', views.ChatView.Message.as_view())