codecrunchers / agent-fw

0 stars 0 forks source link

Sweep: I need a docker compose file that builds the web app and ensures that it hits the llm continer which need to be doker'ised also #10

Open codecrunchers opened 9 months ago

codecrunchers commented 9 months ago

Details

there are two apps here,one is the main python app, it launches on port 3000, This needs dockerfile it might need env vars that you can find in utils/config.pty. The other app is the npm web app, it has a working dockerfile and just needs to nbe integrated into the docker-compose file. Please also mount a /sqldb and /vdb directory to the app container.

Checklist - [X] Create `app/Dockerfile` ✓ https://github.com/codecrunchers/agent-fw/commit/9da4d02b93ca1c910514a399ab34d247ddd356d0 [Edit](https://github.com/codecrunchers/agent-fw/edit/sweep/i_need_a_docker_compose_file_that_builds/app/Dockerfile) - [X] Create `docker-compose.yml` ✓ https://github.com/codecrunchers/agent-fw/commit/902ce1c4fd09da269ef75b9218bb089c7f137705 [Edit](https://github.com/codecrunchers/agent-fw/edit/sweep/i_need_a_docker_compose_file_that_builds/docker-compose.yml)
sweep-ai[bot] commented 9 months ago

🚀 Here's the PR! #11

See Sweep's progress at the progress dashboard!
Sweep Basic Tier: I'm using GPT-4. You have 5 GPT-4 tickets left for the month and 3 for the day. (tracking ID: 65826e8542)

For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets).

Actions (click)

Sandbox execution failed

The sandbox appears to be unavailable or down.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/codecrunchers/agent-fw/blob/915b3f3bbd5b3ab9fec77e1923ff9df0c591cfd7/app/utils/config.py#L1-L33 https://github.com/codecrunchers/agent-fw/blob/915b3f3bbd5b3ab9fec77e1923ff9df0c591cfd7/web/Dockerfile#L1-L7 https://github.com/codecrunchers/agent-fw/blob/915b3f3bbd5b3ab9fec77e1923ff9df0c591cfd7/app/main.py#L1-L32

Step 2: ⌨️ Coding


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/i_need_a_docker_compose_file_that_builds.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord