MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / send_message

Method send_message

AgentBench.old/src/tasks/card_game/server.py:39–40  ·  view source on GitHub ↗
(self, client_socket, message)

Source from the content-addressed store, hash-verified

37 self.log[folder] = log_file
38
39 def send_message(self, client_socket, message):
40 client_socket.sendall(message.encode())
41
42 def stop(self, client_socket):
43 client_socket.close()

Callers 1

startMethod · 0.95

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected