sweep icon indicating copy to clipboard operation
sweep copied to clipboard

Sweep: "sweep watch" cli just exits without starting server

Open d-walsh opened this issue 1 year ago • 2 comments

Details

It looks like the "if main" check shouldn't be there

Branch

No response

Checklist
  • [ ] sweepai/cli.py

d-walsh avatar Jun 25 '24 10:06 d-walsh

Sweeping

50%


Actions (click)

  • [ ] ↻ Restart Sweep

❌ Unable to Complete PR

I'm sorry, but it looks like an error has occurred due to a planning failure. Feel free to add more details to the issue description so Sweep can better address it. Alternatively, reach out to Kevin or William for help at https://discord.gg/sweep.

For bonus GPT-4 tickets, please report this bug on Discord (tracking ID: 8a73d1a35a).


Please look at the generated plan. If something looks wrong, please add more details to your issue.

File Path Proposed Changes
sweepai/cli.py Modify sweepai/cli.py with contents:
In the watch command handler function:
• Locate the main() function call
• Remove the "if name == 'main':" check surrounding the main() call
• The main() function should be called unconditionally when the watch command is run

🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description.

This is an automated message generated by Sweep AI.

d-walsh avatar Jun 25 '24 12:06 d-walsh

Sweeping

50%


Actions (click)

  • [ ] ↻ Restart Sweep

❌ Unable to Complete PR

I'm sorry, but it looks like an error has occurred due to a planning failure. Feel free to add more details to the issue description so Sweep can better address it. Alternatively, reach out to Kevin or William for help at https://discord.gg/sweep.

For bonus GPT-4 tickets, please report this bug on Discord (tracking ID: 13a6fbe9e6).


Please look at the generated plan. If something looks wrong, please add more details to your issue.

File Path Proposed Changes
sweepai/cli.py Modify sweepai/cli.py with contents:
In the watch command handler function:
• Locate the main() function call
• Remove the "if name == 'main':" check surrounding the main() call
• The main() function should be called unconditionally when the watch command is run

🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description.

This is an automated message generated by Sweep AI.

d-walsh avatar Jun 25 '24 12:06 d-walsh