Skip to content

Commit

Permalink
refactor to new ask signature
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMarisOUMary committed Mar 11, 2024
1 parent 84ef705 commit d714081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moon/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def execute(
output_callback(*[custom_repr(execute(expression)) for expression in next[0]]) # type: ignore

case "ask":
prompt = execute(next[0])
prompt = ' '.join([execute(expression) for expression in next[0]]) # type: ignore
return autocast(
input_callback(
prompt
Expand Down

0 comments on commit d714081

Please sign in to comment.