summaryrefslogtreecommitdiff
path: root/logic/cartridge/streaming.rb
diff options
context:
space:
mode:
authoricebaker <113217272+icebaker@users.noreply.github.com>2024-01-06 22:16:01 -0300
committerGitHub <noreply@github.com>2024-01-06 22:16:01 -0300
commit28472564b37c7dd597363071b180064473a06933 (patch)
tree8d2709d35089ec8afb60bd20c6855de4623e3d1b /logic/cartridge/streaming.rb
parentbfe0e76e3683a71bb8ce5bfdaae99b0252e7be05 (diff)
parentc4807b26f0d530ef99ff87b6c5c45a4953ba958a (diff)
Merge pull request #14 from icebaker/ib-new-providers
Adding new providers
Diffstat (limited to 'logic/cartridge/streaming.rb')
-rw-r--r--logic/cartridge/streaming.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/cartridge/streaming.rb b/logic/cartridge/streaming.rb
index 23e88ac..b04dc6e 100644
--- a/logic/cartridge/streaming.rb
+++ b/logic/cartridge/streaming.rb
@@ -8,9 +8,9 @@ module NanoBot
module Streaming
def self.enabled?(cartridge, interface)
provider_stream = case Helpers::Hash.fetch(cartridge, %i[provider id])
- when 'openai', 'mistral', 'cohere'
+ when 'openai', 'mistral', 'cohere', 'ollama'
Helpers::Hash.fetch(cartridge, %i[provider settings stream])
- when 'google'
+ when 'google', 'maritaca'
Helpers::Hash.fetch(cartridge, %i[provider options stream])
end