remove triaging labels section + avoid capturing exitOnCtrlC for full-context mode

Signed-off-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
Thibault Sottiaux
2025-04-16 10:41:44 -07:00
committed by GitHub
parent 1b40e19baf
commit 4ad39fc4e1
2 changed files with 24 additions and 31 deletions

View File

@@ -14,14 +14,6 @@ export async function runSinglePass({
rootPath: string;
}): Promise<void> {
return new Promise((resolve) => {
// In full context mode we want to capture Ctrl+C ourselves so we can use it
// to interrupt longrunning requests without forcequitting the whole
// process. Ink exits automatically when it detects Ctrl+C unless
// `exitOnCtrlC` is disabled via the renderoptions, so make sure to turn it
// off here. All other keyboard handling (including optionally exiting when
// the user presses Ctrl+C while at the main prompt) is implemented inside
// `SinglePassApp`.
render(
<SinglePassApp
originalPrompt={originalPrompt}
@@ -29,9 +21,6 @@ export async function runSinglePass({
rootPath={rootPath}
onExit={() => resolve()}
/>,
{
exitOnCtrlC: false,
},
);
});
}