diff options
author | icebaker <icebaker@proton.me> | 2023-12-28 19:43:00 -0300 |
---|---|---|
committer | icebaker <icebaker@proton.me> | 2023-12-28 19:43:00 -0300 |
commit | 46638e0b4e1809d683f470922f9cc27ab161c248 (patch) | |
tree | a6135a74b8c56abe435fb557c873273e32f86eb1 /logic/cartridge | |
parent | 347ac029c922fbb3843ec22324527f2c6b3ba9a9 (diff) |
upgrading gemini-ai and adding support for mistral-ai
Diffstat (limited to 'logic/cartridge')
-rw-r--r-- | logic/cartridge/streaming.rb | 2 |
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]) |