Skip to content

Commit

Permalink
Fix clipboardai
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOsika committed Feb 28, 2024
1 parent e3e6290 commit 3e2e1a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gpt_engineer/core/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def multiline_input():
except EOFError:
break
content.append(line)
return content
return "\n".join(content)

def next(
self,
Expand Down Expand Up @@ -333,10 +333,6 @@ def next(

response = self.multiline_input()

self.token_usage_log.update_log(
messages=messages, answer=response, step_name=step_name
)

messages.append(AIMessage(content=response))
logger.debug(f"Chat completion finished: {messages}")

Expand Down

0 comments on commit 3e2e1a2

Please sign in to comment.