Skip to content

Commit 2d552c8

Browse files
fix linter
1 parent e380c9a commit 2d552c8

File tree

1 file changed

+3
-1
lines changed
  • lib/langchainrb_rails/active_record

1 file changed

+3
-1
lines changed

lib/langchainrb_rails/active_record/hooks.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,15 @@ def similarity_search(query, k: 1)
112112
# @param k [Integer] The number of results to have in context
113113
# @yield [String] Stream responses back one String at a time
114114
# @return [String] The answer to the question
115-
def ask(question, k: 4, &block)
115+
# standard:disable Style/ArgumentsForwarding
116+
def ask(question, k: 4, &block)
116117
class_variable_get(:@@provider).ask(
117118
question: question,
118119
k: k,
119120
&block
120121
).chat_completion
121122
end
123+
# standard:enable Style/ArgumentsForwarding
122124
end
123125
end
124126
end

0 commit comments

Comments
 (0)