fix(codex): return no content for URL elicitation confirmation
This commit is contained in:
@@ -515,7 +515,7 @@ func (c *Chat) Answer(ctx context.Context, request protocol.ChatAnswerRequest) e
|
||||
action = "accept"
|
||||
}
|
||||
var content any = request.Answers
|
||||
if action != "accept" {
|
||||
if action != "accept" || pending.form.Kind == "elicitation-url" {
|
||||
content = nil
|
||||
}
|
||||
result = map[string]any{"action": action, "content": content, "_meta": nil}
|
||||
|
||||
Reference in New Issue
Block a user