(n int)
| 184 | } |
| 185 | |
| 186 | func tooManyMessages(n int) []*mcp.SamplingMessage { |
| 187 | out := make([]*mcp.SamplingMessage, n) |
| 188 | for i := range out { |
| 189 | out[i] = &mcp.SamplingMessage{Role: "user", Content: &mcp.TextContent{Text: "x"}} |
| 190 | } |
| 191 | return out |
| 192 | } |
| 193 | |
| 194 | func TestStopReasonMapping(t *testing.T) { |
| 195 | t.Parallel() |
no outgoing calls
no test coverage detected