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
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.