Skip to content

Commit

Permalink
Fix bool logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Apr 12, 2024
1 parent f1d919f commit ac972c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agixt/Interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ async def run(
shots = int(shots)
if "prompt_category" in kwargs:
prompt_category = kwargs["prompt_category"]
disable_memory = True if str(disable_memory).lower() == "true" else False
disable_memory = False if str(disable_memory).lower() == "false" else True
browse_links = True if str(browse_links).lower() == "true" else False
if "conversation_name" in kwargs:
conversation_name = kwargs["conversation_name"]
Expand Down

0 comments on commit ac972c5

Please sign in to comment.