(sessionID string)
| 9515 | } |
| 9516 | |
| 9517 | func agentSessionActorContext(sessionID string) ActorContext { |
| 9518 | actor := validActorContext() |
| 9519 | trimmedSessionID := strings.TrimSpace(sessionID) |
| 9520 | actor.Actor = ActorIdentity{Kind: ActorKindAgentSession, Ref: trimmedSessionID} |
| 9521 | actor.Origin = Origin{Kind: OriginKindAgentSession, Ref: trimmedSessionID} |
| 9522 | return actor |
| 9523 | } |
| 9524 | |
| 9525 | func assertAutonomyReason(t *testing.T, err error, want AutonomyReasonCode) { |
| 9526 | t.Helper() |
no test coverage detected