File tree Expand file tree Collapse file tree 2 files changed +0
-62
lines changed
Expand file tree Collapse file tree 2 files changed +0
-62
lines changed Original file line number Diff line number Diff line change 2222from chat .serializers .chat_authentication import AnonymousAuthenticationSerializer , ApplicationProfileSerializer , \
2323 AuthProfileSerializer
2424from common .auth import TokenAuth
25- from common .auth .mcp_auth_token import mcp_token_required
2625from common .constants .permission_constants import ChatAuth
2726from common .exception .app_exception import AppAuthenticationFailed
2827from common .result import result
@@ -155,7 +154,6 @@ class ChatView(APIView):
155154 responses = None ,
156155 tags = [_ ('Chat' )] # type: ignore
157156 )
158- @mcp_token_required # 添加MCP令牌验证
159157 def post (self , request : Request , chat_id : str ):
160158 return ChatSerializers (data = {'chat_id' : chat_id ,
161159 'chat_user_id' : request .auth .chat_user_id ,
@@ -177,7 +175,6 @@ class OpenView(APIView):
177175 responses = None ,
178176 tags = [_ ('Chat' )] # type: ignore
179177 )
180- @mcp_token_required # 添加MCP令牌验证
181178 def get (self , request : Request ):
182179 return result .success (OpenChatSerializers (
183180 data = {'application_id' : request .auth .application_id ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments