diff options
Diffstat (limited to 'components/provider.rb')
-rw-r--r-- | components/provider.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/provider.rb b/components/provider.rb index bdf3639..ac3964d 100644 --- a/components/provider.rb +++ b/components/provider.rb @@ -3,6 +3,7 @@ require_relative 'providers/google' require_relative 'providers/mistral' require_relative 'providers/openai' +require_relative 'providers/cohere' module NanoBot module Components @@ -15,6 +16,8 @@ module NanoBot Providers::Google.new(provider[:options], provider[:settings], provider[:credentials], environment:) when 'mistral' Providers::Mistral.new(provider[:options], provider[:settings], provider[:credentials], environment:) + when 'cohere' + Providers::Cohere.new(provider[:options], provider[:settings], provider[:credentials], environment:) else raise "Unsupported provider \"#{provider[:id]}\"" end |