Skip to content

Commit

Permalink
fix: prompt model bool function.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinInAu committed May 14, 2024
1 parent 1569193 commit 734cd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentuniverse/prompt/prompt_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ def __bool__(self):
Return True if one of the introduction, target and instruction attribute is not empty.
Return False otherwise.
"""
return bool(self.introduction or self.introduction or self.introduction)
return bool(self.introduction or self.target or self.instruction)

0 comments on commit 734cd9a

Please sign in to comment.