princeton-nlp / SWE-agent

SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It solves 12.47% of bugs in the SWE-bench evaluation set and takes just 1 minute to run.
https://princeton-nlp.github.io/SWE-agent/
MIT License
11.86k stars 1.18k forks source link

Update models.py - fixing error message for azure --model issue #597

Closed ofirpress closed 1 week ago

ofirpress commented 1 week ago

[!NOTE] IF YOU SEE A LOT OF FORMATTING RELATED MERGE CONFLICTS PLEASE MAKE SURE THAT YOU ARE USING OUR CODE FORMATTER. Please see our development guide.

Reference Issues/PRs

What does this implement/fix? Explain your changes.

ofirpress commented 1 week ago

@klieret please correct this if i'm wrong

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.40%. Comparing base (5f42dc8) to head (191a7f9). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #597 +/- ## ======================================= Coverage 76.40% 76.40% ======================================= Files 23 23 Lines 3387 3387 ======================================= Hits 2588 2588 Misses 799 799 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ofirpress commented 1 week ago

@klieret can we merge this?

klieret commented 1 week ago

Thanks! :)