summaryrefslogtreecommitdiff
path: root/components/providers/cohere.rb
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2024-01-06 22:09:23 -0300
committericebaker <icebaker@proton.me>2024-01-06 22:09:23 -0300
commitc4807b26f0d530ef99ff87b6c5c45a4953ba958a (patch)
tree8d2709d35089ec8afb60bd20c6855de4623e3d1b /components/providers/cohere.rb
parentbfe0e76e3683a71bb8ce5bfdaae99b0252e7be05 (diff)
adding new providers
Diffstat (limited to 'components/providers/cohere.rb')
-rw-r--r--components/providers/cohere.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/providers/cohere.rb b/components/providers/cohere.rb
index 9b9f045..970837e 100644
--- a/components/providers/cohere.rb
+++ b/components/providers/cohere.rb
@@ -76,7 +76,7 @@ module NanoBot
if streaming
content = ''
- stream_call_back = proc do |event, _parsed, _raw|
+ stream_call_back = proc do |event, _raw|
partial_content = event['text']
if partial_content && event['event_type'] == 'text-generation'