Skip to content

Commit

Permalink
Always pass kwargs on query
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Sep 11, 2023
1 parent ad117b3 commit 92e67f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dailalib/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.0"
__version__ = "1.2.1"
2 changes: 1 addition & 1 deletion dailalib/interfaces/openai_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def query_openai_for_function(
else:
return self._query_openai(prompt, json_response=json_response, increase_new_text=increase_new_text)

def query_for_cmd(self, cmd, func_addr=None, decompilation=None, edit_dec=False):
def query_for_cmd(self, cmd, func_addr=None, decompilation=None, edit_dec=False, **kwargs):
if cmd not in self.AI_COMMANDS:
raise ValueError(f"Command {cmd} is not supported")

Expand Down

0 comments on commit 92e67f9

Please sign in to comment.