You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
"I WILL NOT USE TOOLS IN THIS REPLY, user expressed they wanted to stop using tool calls.\nHere is the best, complete, answer I can come up with given the information I have."
72
68
end
73
69
70
+
defself.no_more_tool_calls_text_user
71
+
"DO NOT USE TOOLS IN YOUR REPLY. Return the best answer you can given the information I supplied you."
72
+
end
73
+
74
74
defno_more_tool_calls_text
75
75
self.class.no_more_tool_calls_text
76
76
end
77
77
78
+
defno_more_tool_calls_text_user
79
+
self.class.no_more_tool_calls_text_user
80
+
end
81
+
78
82
deftranslate
79
-
messages=prompt.messages
83
+
messages=trim_messages(prompt.messages)
84
+
last_message=messages.last
85
+
inject_done_on_last_tool_call=false
80
86
81
-
# Some models use an assistant msg to improve long-context responses.
0 commit comments