fix(codex): return no content for URL elicitation confirmation
This commit is contained in:
@@ -28,6 +28,7 @@ func (c *Chat) receiveElicitation(msg rpcMessage) {
|
||||
}
|
||||
form := protocol.ChatForm{ID: "mcp_" + base64.RawURLEncoding.EncodeToString(msg.ID), SessionID: p.ThreadID, Kind: "elicitation", Title: p.Message, Actions: []string{"accept", "decline", "cancel"}}
|
||||
if p.Mode == "url" {
|
||||
form.Kind = "elicitation-url"
|
||||
form.Fields = []protocol.ChatFormField{{Key: "external", Type: "external", URL: p.URL, Title: "Continue in the external form"}}
|
||||
} else {
|
||||
if p.Schema.Type != "object" || p.Schema.Properties == nil {
|
||||
|
||||
Reference in New Issue
Block a user