We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd10bd4 commit d0b8e58Copy full SHA for d0b8e58
1 file changed
intercept/responses/blocking.go
@@ -138,6 +138,9 @@ func (i *BlockingResponsesInterceptor) handleInnerAgenticLoop(ctx context.Contex
138
i.prepareRequestForAgenticLoop(response)
139
i.req.Input.OfInputItemList = append(i.req.Input.OfInputItemList, results...)
140
141
+ // TODO: we should avoid re-marshaling Input, but since it changes from a string to
142
+ // a list in this loop, we have to.
143
+ // See responsesInterceptionBase.requestOptions for more details about marshaling issues.
144
i.reqPayload, err = sjson.SetBytes(i.reqPayload, "input", i.req.Input)
145
if err != nil {
146
i.logger.Error(ctx, "failure to marshal new input in inner agentic loop", slog.Error(err))
0 commit comments