Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibondarev committed Sep 20, 2024
1 parent 4957225 commit da91dd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/langchainrb_overrides/assistant_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'spec_helper'
require_relative '../../lib/langchainrb_overrides/assistant'
require "spec_helper"
require_relative "../../lib/langchainrb_overrides/assistant"

# Stub ActiveRecord::Base
module ActiveRecord
Expand All @@ -15,7 +15,7 @@ class Assistant
attr_accessor :id, :instructions, :tool_choice, :tools, :messages

def initialize(attributes = {})
attributes.each { |k, v| send("#{k}=", v) }
attributes.each { |k, v| send(:"#{k}=", v) }
@messages ||= []
end

Expand Down

0 comments on commit da91dd3

Please sign in to comment.