diff options
Diffstat (limited to 'controllers/session.rb')
-rw-r--r-- | controllers/session.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/controllers/session.rb b/controllers/session.rb index b3cc7ef..378a11d 100644 --- a/controllers/session.rb +++ b/controllers/session.rb @@ -117,15 +117,15 @@ module NanoBot needs_another_round = false - @provider.evaluate(input, @cartridge) do |feedback| + @provider.evaluate(input, streaming, @cartridge) do |feedback| needs_another_round = true if feedback[:needs_another_round] updated_at = Time.now if feedback[:interaction] && feedback.dig(:interaction, :meta, :tool, :action) && - feedback[:interaction][:meta][:tool][:action] == 'confirm' - Interfaces::Tool.confirm(self, @cartridge, mode, feedback[:interaction][:meta][:tool]) + feedback[:interaction][:meta][:tool][:action] == 'confirming' + Interfaces::Tool.confirming(self, @cartridge, mode, feedback[:interaction][:meta][:tool]) else if feedback[:interaction] && feedback.dig(:interaction, :meta, :tool, :action) |