summaryrefslogtreecommitdiff
path: root/logic/cartridge
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-12-28 19:43:00 -0300
committericebaker <icebaker@proton.me>2023-12-28 19:43:00 -0300
commit46638e0b4e1809d683f470922f9cc27ab161c248 (patch)
treea6135a74b8c56abe435fb557c873273e32f86eb1 /logic/cartridge
parent347ac029c922fbb3843ec22324527f2c6b3ba9a9 (diff)
upgrading gemini-ai and adding support for mistral-ai
Diffstat (limited to 'logic/cartridge')
-rw-r--r--logic/cartridge/streaming.rb2
1 files changed, 1 insertions, 1 deletions
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])