This commit is contained in:
@@ -241,9 +241,6 @@ async function codexDeviceLogin(): Promise<void> {
|
|||||||
await new Promise((resolve) => setTimeout(resolve, 3000));
|
await new Promise((resolve) => setTimeout(resolve, 3000));
|
||||||
await postComment(shown);
|
await postComment(shown);
|
||||||
await Promise.all([login.status, drained]);
|
await Promise.all([login.status, drained]);
|
||||||
const status = await new Deno.Command("codex", { args: ["login", "status"] })
|
|
||||||
.output();
|
|
||||||
await postComment(new TextDecoder().decode(status.stdout));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function runCodex(prompt: string): Promise<string> {
|
async function runCodex(prompt: string): Promise<string> {
|
||||||
|
|||||||
Reference in New Issue
Block a user