We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a27073 commit fe33fa2Copy full SHA for fe33fa2
lib/langchain/assistant.rb
@@ -181,7 +181,7 @@ def instructions=(new_instructions)
181
@instructions = new_instructions
182
183
if @llm_adapter.support_system_message?
184
- # Find message with role: "system" in messages and delete it from the messages array
+ # TODO: Should we still set a system message even if @instructions is "" or nil?
185
replace_system_message!(content: new_instructions) if @instructions
186
end
187
0 commit comments