Skip to content

Commit

Permalink
llm.py: removed stream parameter from query method
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninoLorenzo committed Jul 16, 2024
1 parent 1b241ee commit d0a4324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agent/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __post_init__(self):
api_key=self.api_key
)

def query(self, messages: list, stream=True):
def query(self, messages: list):
"""Generator that returns response chunks."""
for chunk in self.provider.query(messages, stream=stream):
for chunk in self.provider.query(messages):
yield chunk

0 comments on commit d0a4324

Please sign in to comment.