ChatDev icon indicating copy to clipboard operation
ChatDev copied to clipboard

Getting socket hang up issue

Open paritosh-apexon opened this issue 1 year ago • 1 comments

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

paritosh-apexon avatar Sep 11 '24 11:09 paritosh-apexon

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

zhanghb18 avatar Sep 19 '24 10:09 zhanghb18