Last year, my Kentucky Wonder green beans outgrew a very tall tipi with string horizontals I had given it. The same thing happened with an indeterminate tomato plant with a very tall stake, I forget what it was called. In both cases, once the vines got to the top, they had nowhere to go, so they went sideways, and I had to catch them with additional poles placed on the side.
This year I want to plan ahead. Is the solution to train them in a zig zag between two side-by-side stakes? This seems doable for the tomato, which has a small number of vining stems, but hard to do with green beans, which involve a larger number of stems.
Different solutions for the two items would be fine.