Skip to content

Commit 0b6c73b

Browse files
standardrb fixes
1 parent 95e4dbb commit 0b6c73b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/langchainrb_rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
module LangchainrbRails
88
class Error < StandardError; end
9-
9+
1010
module ActiveRecord
1111
autoload :Hooks, "langchainrb_rails/active_record/hooks"
1212
end

lib/langchainrb_rails/active_record/hooks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ def ask(question:, k: 4, &block)
109109
end
110110
end
111111
end
112-
end
112+
end

spec/langchainrb_rails/active_record/hooks_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class Dummy
1919
expect(::Dummy).to respond_to(:vectorsearch)
2020
expect(::Dummy).to respond_to(:ask)
2121
end
22-
end
22+
end

0 commit comments

Comments
 (0)