+ server.reply = func(w http.ResponseWriter, call ModelFakeCall) {
+ text := ""
+ if call.body["prompt_cache_key"] == agents[0].agent.CacheKey() {
+ text = "The decision is recorded."
+ }
+
+ modelWriteEvents(w, modelCompletedEvent([]any{modelMessageItem(text)}, 100, 0, 5))
+ }
+