Skip to content

Commit 96d30de

Browse files
authored
[HotFix]SpecialToken needs is_allowed_in_lark_terminal=False (not is_terminal=False) (#1255)
Seems merge conflict resolution went a little awry..
1 parent 62e07e6 commit 96d30de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

guidance/_ast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def format(self) -> str:
353353
raise ValueError("SpecialToken must have either text, id, or range set")
354354

355355
@property
356-
def is_terminal(self) -> bool:
356+
def is_allowed_in_lark_terminal(self) -> bool:
357357
return False
358358

359359
def _run(self, interpreter: "Interpreter[S]", **kwargs) -> Iterator[OutputAttr]:

0 commit comments

Comments
 (0)