Skip to content

Commit fe33fa2

Browse files
Update assistant.rb
1 parent 0a27073 commit fe33fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/langchain/assistant.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def instructions=(new_instructions)
181181
@instructions = new_instructions
182182

183183
if @llm_adapter.support_system_message?
184-
# Find message with role: "system" in messages and delete it from the messages array
184+
# TODO: Should we still set a system message even if @instructions is "" or nil?
185185
replace_system_message!(content: new_instructions) if @instructions
186186
end
187187
end

0 commit comments

Comments
 (0)