Skip to content

Commit 6ae2b3b

Browse files
geshclaude
andcommitted
chore(mcp): shorten the changeset and guard the persistence wording
Matches the TypeScript PR: the changeset is one user-facing line, and the schema unit test asserts the cross-message clause itself, so removing it from the description fails the test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent d424c35 commit 6ae2b3b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.sampo/changesets/persistent-conversation-id.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
pypi/posthog: patch
33
---
44

5-
Tell agents to keep passing the same `conversation_id` across later user messages. The previous wording let ChatGPT treat the handle as scoped to one message's tool calls, so each new message started a new session.
5+
Keep MCP conversation sessions consistent across user messages.

‎posthog/test/mcp/test_units.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ def test_add_conversation_id_adds_property():
230230
{"type": "object", "properties": {"x": {"type": "string"}}}, "t"
231231
)
232232
assert out["properties"]["conversation_id"]["type"] == "string"
233+
# Without this clause, ChatGPT drops the handle on each new user message and every message becomes its own session.
234+
assert (
235+
"rest of the conversation, including after later user messages"
236+
in out["properties"]["conversation_id"]["description"]
237+
)
233238

234239

235240
def test_add_conversation_id_skips_when_already_present():

0 commit comments

Comments
 (0)