OpenAI Codex AI Assistant Integration - #114
Conversation
- Implement OAuth 2.0 PKCE flow for OpenAI Codex authentication - Add secure token storage using expo-secure-store - Update AI service to use subscription-aware Codex endpoints and models - Add 'Subscription Health' monitoring via X-Ratelimit headers - Integrate Connect/Disconnect UI in AI settings and status badges in profile/chat - Update localizations for EN and PT-BR
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
| if (Platform.OS === 'web' && typeof window !== 'undefined') { | ||
| window.addEventListener(GOOGLE_AUTH_CHANGED_EVENT, checkGoogleAuth); | ||
| } |
There was a problem hiding this comment.
Good catch! That was indeed a duplication. I have removed the redundant block.
|
|
||
| export const OPENAI_CODEX_CONFIG = { | ||
| issuer: 'https://auth.openai.com', | ||
| clientId: process.env.EXPO_PUBLIC_MUSCLOG_CLIENT_ID_FROM_DASHBOARD || 'app_EMoamEEZ73f0CkXaXp7hrann', |
There was a problem hiding this comment.
Oh, neat, is it ok to just use app_EMoamEEZ73f0CkXaXp7hrann and not have to create an app on Openai then?
|
Oh, neat, is it ok to just use |
This PR implements the Musclog AI Assistant using the user's personal OpenAI subscription (Codex flow).
Key technical features:
PR created automatically by Jules for task 13650166093883208934 started by @blopa