From 46638e0b4e1809d683f470922f9cc27ab161c248 Mon Sep 17 00:00:00 2001 From: icebaker Date: Thu, 28 Dec 2023 19:43:00 -0300 Subject: upgrading gemini-ai and adding support for mistral-ai --- logic/cartridge/streaming.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/cartridge') diff --git a/logic/cartridge/streaming.rb b/logic/cartridge/streaming.rb index 6949b3a..0b9b19f 100644 --- a/logic/cartridge/streaming.rb +++ b/logic/cartridge/streaming.rb @@ -8,7 +8,7 @@ module NanoBot module Streaming def self.enabled?(cartridge, interface) provider_stream = case Helpers::Hash.fetch(cartridge, %i[provider id]) - when 'openai' + when 'openai', 'mistral' Helpers::Hash.fetch(cartridge, %i[provider settings stream]) when 'google' Helpers::Hash.fetch(cartridge, %i[provider options stream]) -- cgit v1.2.3