MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / get

Method get

apps/application/views/application_chat.py:134–138  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, application_id: str)

Source from the content-addressed store, hash-verified

132 CompareConstants.AND),
133 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
134 def get(self, request: Request, workspace_id: str, application_id: str):
135 return result.success(OpenChatSerializers(
136 data={'workspace_id': workspace_id, 'application_id': application_id,
137 'chat_user_id': str(uuid.uuid7()), 'chat_user_type': ChatUserType.ANONYMOUS_USER,
138 'debug': True}).open())
139
140
141class ChatView(APIView):

Callers 15

get_source_idMethod · 0.45
init_fieldsMethod · 0.45
load_nodeMethod · 0.45
get_node_paramsMethod · 0.45
runMethod · 0.45
run_blockMethod · 0.45
await_resultMethod · 0.45
run_chain_manageMethod · 0.45
run_chainMethod · 0.45
send_progressMethod · 0.45
is_resultMethod · 0.45

Calls 3

OpenChatSerializersClass · 0.90
successMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected