<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Agents on brtkwr.com</title><link>https://brtkwr.com/tags/agents/</link><description>Recent content in Agents on brtkwr.com</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 29 Apr 2026 10:30:00 +0000</lastBuildDate><atom:link href="https://brtkwr.com/tags/agents/index.xml" rel="self" type="application/rss+xml"/><item><title>OpenClaw: when a heartbeat session keeps your old model alive</title><link>https://brtkwr.com/posts/2026-04-29-openclaw-heartbeat-session-pinned-model/</link><pubDate>Wed, 29 Apr 2026 10:30:00 +0000</pubDate><guid>https://brtkwr.com/posts/2026-04-29-openclaw-heartbeat-session-pinned-model/</guid><description>&lt;h2 id="tldr">
 TL;DR
 &lt;a class="heading-link" href="#tldr">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h2>
&lt;p>My &lt;a href="https://github.com/openclaw/openclaw" class="external-link" target="_blank" rel="noopener">OpenClaw&lt;/a> gateway kept calling an LLM provider I had retired. The new primary in &lt;code>openclaw.json&lt;/code> was ignored because the long-running &amp;ldquo;heartbeat&amp;rdquo; session pinned the model selection at session creation time, both in the session index and in a &lt;code>model_change&lt;/code> event at the top of the session transcript. Resetting the session let the global config take effect.&lt;/p>
&lt;h2 id="motivation">
 Motivation
 &lt;a class="heading-link" href="#motivation">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h2>
&lt;p>I noticed my self-hosted OpenClaw gateway was still hitting an LLM provider I had switched away from days earlier. &lt;code>openclaw.json&lt;/code> had a different primary model and no fallbacks, but the metered usage disagreed. Each &amp;ldquo;heartbeat&amp;rdquo; tick cost close to ten cents and shipped 370k cached input tokens to the wrong provider.&lt;/p></description></item></channel></rss>