summaryrefslogtreecommitdiff
path: root/components/providers
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-11-18 19:29:03 -0300
committericebaker <icebaker@proton.me>2023-11-18 19:29:03 -0300
commit989c276b6acf9d0e2b584d980b72a4eb9564a77c (patch)
tree0bc0d849fad940f1aa041e42fbf14a031062acc0 /components/providers
parent2cc2aef7011036e16dae89212455a504132d49c1 (diff)
fixing TODOs
Diffstat (limited to 'components/providers')
-rw-r--r--components/providers/openai.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/providers/openai.rb b/components/providers/openai.rb
index 437114c..bf5ae73 100644
--- a/components/providers/openai.rb
+++ b/components/providers/openai.rb
@@ -40,7 +40,6 @@ module NanoBot
def stream(input)
provider = @settings.key?(:stream) ? @settings[:stream] : true
- # TODO: There's a bug here...
interface = input[:interface].key?(:stream) ? input[:interface][:stream] : true
provider && interface