Skip to content

Commit 6ee9792

Browse files
committed
Bump to be LibBS 0.17.0 compliant
1 parent b525602 commit 6ee9792

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dailalib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.2.2"
1+
__version__ = "2.2.3"
22

33
from .api import AIAPI, OpenAIAPI
44
from libbs.api import DecompilerInterface

dailalib/api/ai_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ def _requires_function(*args, ai_api: "AIAPI" = None, **kwargs):
9393

9494
# we must have a UI if we have no func
9595
if function is None:
96-
function = ai_api._dec_interface.functions[ai_api._dec_interface.active_context().addr]
96+
function = ai_api._dec_interface.art_lifter.lower(
97+
ai_api._dec_interface.functions[ai_api._dec_interface.active_context().addr]
98+
)
9799

98100
# get new text with the function that is present
99101
if dec_text is None:

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ long_description_content_type = text/markdown
1515
[options]
1616
install_requires =
1717
openai>=1.0.0
18-
libbs>=0.14.0
18+
libbs
1919
tiktoken
20-
varbert>=2.0.8
20+
varbert
2121

2222
python_requires = >= 3.6
2323
include_package_data = True
2424
packages = find:
2525

2626
[options.entry_points]
2727
console_scripts =
28-
daila = dailalib.__main__:main
28+
daila = dailalib.__main__:main

0 commit comments

Comments
 (0)