sessions changedmanaged-agents/sessions
Nearest release: v2.1.334, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−3removed
From line
170
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits31to this page, all time
The whole hunk
from line 170, old and new numbered
/
from line 170
170170 ```go Go
171171 pinnedSession, err := client.Beta.Sessions.New(ctx, anthropic.BetaSessionNewParams{
172172 Agent: anthropic.BetaSessionNewParamsAgentUnion{
173 OfBetaManagedAgentsAgents: &anthropic.BetaManagedAgentsAgentParams{
173 OfBetaManagedAgentsAgent: &anthropic.BetaManagedAgentsAgentParams{
174174 ID: agent.ID,
175175 Version: anthropic.Int(1),
176176 },
from line 554
554554 ```go Go
555555 overrideSession, err := client.Beta.Sessions.New(ctx, anthropic.BetaSessionNewParams{
556556 Agent: anthropic.BetaSessionNewParamsAgentUnion{
557 OfBetaManagedAgentsAgentWithOverridess: &anthropic.BetaManagedAgentsAgentWithOverridesParams{
557 OfBetaManagedAgentsAgentWithOverrides: &anthropic.BetaManagedAgentsAgentWithOverridesParams{
558558 ID: agent.ID,
559559 Model: anthropic.BetaManagedAgentsModelConfigParams{
560560 ID: anthropic.BetaManagedAgentsModelClaudeSonnet5_5,
from line 709
709709 ```go Go
710710 session, err := client.Beta.Sessions.New(ctx, anthropic.BetaSessionNewParams{
711711 Agent: anthropic.BetaSessionNewParamsAgentUnion{
712 OfBetaManagedAgentsAgentWithOverridess: &anthropic.BetaManagedAgentsAgentWithOverridesParams{
712 OfBetaManagedAgentsAgentWithOverrides: &anthropic.BetaManagedAgentsAgentWithOverridesParams{
713713 ID: agent.ID,
714714 // Replaces the agent's `model` in full: restate `id`, add `inference_geo` to pin.
715715 Model: anthropic.BetaManagedAgentsModelConfigParams{
No line in this hunk matches that.