feat(chat): broker Codex approvals and complete typed tool interactions
This commit is contained in:
@@ -426,10 +426,10 @@ export class PipelinesRepository {
|
||||
* the form field key; the server forwards it to the paused tool call and the
|
||||
* resolved form arrives on the normal chat_event stream.
|
||||
*/
|
||||
async answerChatForm(sessionId, formId, answers) {
|
||||
async answerChatForm(sessionId, formId, answers, action = "") {
|
||||
return this.#client.call({
|
||||
type: Protocol.CHAT_ANSWER,
|
||||
[ChatKeys.ANSWER]: { session_id: sessionId, form_id: formId, answers },
|
||||
[ChatKeys.ANSWER]: { session_id: sessionId, form_id: formId, answers, ...(action ? {action} : {}) },
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user