MCPcopy Create free account
hub / github.com/SleeeepyZhou/LiveDevAgents / execute_code

Function execute_code

programmer.py:197–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195app = Flask(__name__)
196@app.route('/execute', methods=['POST'])
197def execute_code():
198 data = request.json
199 user_input = data.get('command')
200 if not user_input:
201 return jsonify({"error": "No command provided"}), 400
202 input_queue.put(user_input)
203 return jsonify({"message": "Command received"}), 200
204
205@app.route('/status', methods=['GET'])
206def get_status():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected