diff options
author | icebaker <icebaker@proton.me> | 2024-01-06 22:09:23 -0300 |
---|---|---|
committer | icebaker <icebaker@proton.me> | 2024-01-06 22:09:23 -0300 |
commit | c4807b26f0d530ef99ff87b6c5c45a4953ba958a (patch) | |
tree | 8d2709d35089ec8afb60bd20c6855de4623e3d1b /logic/cartridge | |
parent | bfe0e76e3683a71bb8ce5bfdaae99b0252e7be05 (diff) |
adding new providers
Diffstat (limited to 'logic/cartridge')
-rw-r--r-- | logic/cartridge/streaming.rb | 4 |
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 |