Skip to content

Commit

Permalink
Update: support for *concurrent command of ONA v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
patham9 committed Jul 31, 2023
1 parent 4d53fe7 commit b438ddb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NarsGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ def AddInput(inp, PrintAnswer=True, Print=True, PrintInputSentenceOverride=True,
for x in memory_view:
print(x[0], x[1][:-1])
return RET_DICT
if inp.startswith("*concurrent"):
NAR.AddInput(inp)
currentTime -= 1
return RET_DICT
if inp.startswith("*"):
NAR.AddInput(inp)
return RET_DICT
Expand Down

0 comments on commit b438ddb

Please sign in to comment.