mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 23:46:35 +00:00
revert(assistant): drop the ChatGPT relay, open-source apps keep the loopback sign-in
OpenAI offers a fixed web redirect for Sign in with ChatGPT only to selected commercial partners; open-source apps sign in through the 127.0.0.1 loopback callback. The relay could never be switched on, so it goes again.
This commit is contained in:
@@ -135,8 +135,6 @@ export const aiAuthStartResponseSchema = z.object({
|
||||
flowId: z.uuid(),
|
||||
authorizeUrl: z.url(),
|
||||
expiresAt: z.string(),
|
||||
// The sign-in comes back to TREK by itself: open it in this tab, nothing to paste.
|
||||
returns: z.boolean().optional(),
|
||||
});
|
||||
export type AiAuthStartResponse = z.infer<typeof aiAuthStartResponseSchema>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user