FIX: Return base prompt instead of nil (#106)
This commit is contained in:
parent
d692ecc7de
commit
473732c18a
|
@ -75,6 +75,8 @@ module DiscourseAi
|
|||
]
|
||||
|
||||
base_prompt += "Don't use more than 400 words.\n" unless opts[:single_chunk]
|
||||
|
||||
base_prompt
|
||||
end
|
||||
|
||||
def completion(prompt)
|
||||
|
|
Loading…
Reference in New Issue