Skip to content

docs(go): ask clients to reuse one session ID across all endpoints - #48981

Open
IsmaelMartinez wants to merge 1 commit into
anomalyco:devfrom
IsmaelMartinez:go-session-header-reuse
Open

IsmaelMartinez wants to merge 1 commit into
anomalyco:devfrom
IsmaelMartinez:go-session-header-reuse

Conversation

@IsmaelMartinez

Copy link
Copy Markdown

Issue for this PR

No issue; documentation clarification.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Requirement 3 under "Where can I use it?" asks for a stable session ID per conversation, but it does not say the same ID has to be reused on every request and sent on every endpoint. That gap is easy to fall into: Docker Agent's first implementation (docker/docker-agent#4190) only set the header in its OpenAI SDK middleware, so /messages requests went without it, and the DeepSeek Harness row in the table describes the same shape. This adds one clarifying sentence to requirement 3 in English and the 17 locale copies. The translations follow the English wording; happy to adjust any of them.

How did you verify your code works?

bunx prettier@3.6.2 --check on the 18 go.mdx files passes. Docs-only, no site build.

Screenshots / recordings

N/A, no UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

🤖 Generated with Claude Code

https://claude.ai/code/session_019u64ksoe2v3xjdRe4uBMhX

Requirement 3 did not say the same ID must be reused on every request and sent on
every endpoint, which is how a client can set it in one SDK's middleware and miss
the others.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019u64ksoe2v3xjdRe4uBMhX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant