(ctx context.Context, svc anthropic.MessageService)
| 336 | } |
| 337 | |
| 338 | func (i *BlockingInterception) newMessage(ctx context.Context, svc anthropic.MessageService) (_ *anthropic.Message, outErr error) { |
| 339 | ctx, span := i.tracer.Start(ctx, "Intercept.ProcessRequest.Upstream", trace.WithAttributes(tracing.InterceptionAttributesFromContext(ctx)...)) |
| 340 | defer tracing.EndSpanErr(span, &outErr) |
| 341 | |
| 342 | return svc.New(ctx, anthropic.MessageNewParams{}, i.withBody()) |
| 343 | } |
no test coverage detected