remove triaging labels section + avoid capturing exitOnCtrlC for full-context mode
Signed-off-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
committed by
GitHub
parent
1b40e19baf
commit
4ad39fc4e1
@@ -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 long‑running requests without force‑quitting the whole
|
||||
// process. Ink exits automatically when it detects Ctrl+C unless
|
||||
// `exitOnCtrlC` is disabled via the render‑options, 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,
|
||||
},
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user