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
* The latest message will be the new user message, one before will
46
-
* be the assistant message from a previous request, and the user message before that will be a previously cached user message. So we need to mark the latest user message as ephemeral to cache it for the next request, and mark the second to last user message as ephemeral to let the server know the last message to retrieve from the cache for the current request..
45
+
* The latest message will be the new user message, one before
46
+
* will be the assistant message from a previous request, and
47
+
* the user message before that will be a previously cached user
48
+
* message. So we need to mark the latest user message as
49
+
* ephemeral to cache it for the next request, and mark the
50
+
* second to last user message as ephemeral to let the server
51
+
* know the last message to retrieve from the cache for the
// tools, // cache breakpoints go from tools > system > messages, and since tools dont change, we can just set the breakpoint at the end of system (this avoids having to set a breakpoint at the end of tools which by itself does not meet min requirements for haiku caching)
0 commit comments