-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Add claude 3 / anthropic with cost calculation + convenience fixes. gpt-engineer is coauthor #1057
Conversation
…anthropic-cost-calc * 'main' of github.com:gpt-engineer-org/gpt-engineer: poetry update Add support for claude 3 (#1055) updating cache updated cache clarified file format prompt aligning improve prompt with generate prompt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just need to fix the failing test
@AntonOsika, can you check these tests so we can proceed with this? |
Fixed the remaining issues (afaik). Merging as soon as tests pass. |
Looks like there were more issues and broken tests. Not quite as easy as I thought to clean up. |
gpt_engineer/core/ai.py
Outdated
@@ -110,7 +110,7 @@ def __init__( | |||
|
|||
logger.debug(f"Using model {self.model_name}") | |||
|
|||
def start(self, system: str, user: str, step_name: str) -> List[Message]: | |||
def start(self, system: str, user: str, *, step_name: str) -> List[Message]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the idea with this *
?
Edit: removed it because it broke several tests that I didn't want to go through.
Reviewing this PR has made me realize that we need to typecheck the codebase in CI: #1070 |
No description provided.