Skip to content

Commit

Permalink
standardrb fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibondarev committed Oct 23, 2023
1 parent 95e4dbb commit 0b6c73b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/langchainrb_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

module LangchainrbRails
class Error < StandardError; end

module ActiveRecord
autoload :Hooks, "langchainrb_rails/active_record/hooks"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/langchainrb_rails/active_record/hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ def ask(question:, k: 4, &block)
end
end
end
end
end
2 changes: 1 addition & 1 deletion spec/langchainrb_rails/active_record/hooks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class Dummy
expect(::Dummy).to respond_to(:vectorsearch)
expect(::Dummy).to respond_to(:ask)
end
end
end

0 comments on commit 0b6c73b

Please sign in to comment.