OpenBMB / ChatDev

Create Customized Software using Natural Language Idea (through LLM-powered Multi-Agent Collaboration)
https://arxiv.org/abs/2307.07924
Apache License 2.0
25.27k stars 3.17k forks source link

Getting socket hang up issue #441

Open paritosh-apexon opened 2 weeks ago

paritosh-apexon commented 2 weeks ago

When I try with multiple phases, I am getting socket hang up error on Postman. Actually I have created app,py file on top of run.py and using Flask like

On each phase I am giving responsibility to create multiple files based on my requirement.

app = Flask(__name__)

@app.route('/generate_project', methods=['POST'])
def run_endpoint():

    try:
        # Only pass the required parameters and use defaults for the rest
        result = run_chat_chain(app_name=app_name, other_detail: details
        )
        return jsonify(result), 200
        # return result, 200
    except Exception as e:
        return jsonify({"status": "error", "message": str(e)}), 500
zhanghb18 commented 1 week ago

Sorry, I don't understand what you mean. What program did you ask chatdev to generate that caused the error?