lib/boxcars/engine/cohere.rb in boxcars-0.6.8 vs lib/boxcars/engine/cohere.rb in boxcars-0.6.9
- old
+ new
@@ -76,10 +76,10 @@
raise Error, "Cohere: No response from API" unless response
raise Error, "Cohere: #{response[:error]}" if response[:error]
answer = response[:text]
- Boxcars.debug(response, :yellow)
+ Boxcars.debug("Answer: #{answer}", :cyan)
answer
end
# Get the default parameters for the engine.
def default_params