Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting socket hang up issue #441

Open
paritosh-apexon opened this issue Sep 11, 2024 · 1 comment
Open

Getting socket hang up issue #441

paritosh-apexon opened this issue Sep 11, 2024 · 1 comment

Comments

@paritosh-apexon
Copy link

paritosh-apexon commented Sep 11, 2024

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 paritosh-apexon changed the title Want to get all generated files in JSON format. Want to get all generated files in JSON format. Also getting socket hang up issue Sep 11, 2024
@paritosh-apexon paritosh-apexon changed the title Want to get all generated files in JSON format. Also getting socket hang up issue Getting socket hang up issue Sep 11, 2024
@zhanghb18
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants