Skip to content

Commit

Permalink
Fix promptlib by using deprecated AST module
Browse files Browse the repository at this point in the history
  • Loading branch information
s-zanella committed Jul 3, 2024
1 parent cd7490a commit dd1b630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/promptlib/promptlib/gen.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .prompt import PromptNode, TextNode

from typing import List
from pyaici import ast
from pyaici import ast_ as ast

class GenNode(PromptNode):

Expand Down
2 changes: 1 addition & 1 deletion py/promptlib/promptlib/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import List
from .aici import AICI

from pyaici import ast
from pyaici import ast_ as ast

class PromptNode:
"""
Expand Down

0 comments on commit dd1b630

Please sign in to comment.