Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 3.26 KB

model-accounts.md

File metadata and controls

38 lines (20 loc) · 3.26 KB

Account connection and model choice

English · 简体中文 · 한국어 · 日本語 · Español

Appkin runs locally. Connect OpenAI through Codex, choose a model and reasoning level, and continue into the studio. Existing CLI sign-ins are detected automatically. You can change the choice from the workspace header.

We recommend GPT-6.1 Sol · Medium for performance and cost balance. Official model guidance, GPT-6.1 Sol.

Sign in

Install the Codex CLI on the computer running Appkin. In the workspace, choose Sign in with OpenAI, then Open OpenAI sign-in. Sign in on OpenAI’s page and return to Appkin. The workspace picks up the connection automatically.

You can also open the same browser sign-in from a terminal.

codex login

Then choose Check connection again in Appkin. Select your model and reasoning level and choose Continue to Appkin.

Codex receives the browser callback on loopback. Open the authorization page in a browser that can reach the callback on the computer running Codex. If you’re using an SSH tunnel from another computer, forward the Codex callback port (1455 by default) alongside the Appkin port.

Codex manages the sign-in session. Disconnect from Appkin clears the workspace model choice and cancels a pending sign-in. Use codex logout to sign out of the CLI.

What the choice controls

The selected provider, model and reasoning level apply to listing-feature summaries, product outlines, detailed design, code generation and implementation review. The same setting reaches the detailed pipeline subprocess. New web requests use GPT-6.1 Sol / Medium until a GPT model choice is saved. Old Claude settings return to OpenAI sign-in without changing saved projects or completed APKs.

The backend captures the selection in an asynchronous request context so switching models does not change model calls already queued by that request. New requests use the newly saved choice. A resumed detailed pipeline retains its recorded model configuration so its cached stages and fingerprint remain reproducible. Saved feature summaries include provider/model/effort in their cache identity. Existing completed artifacts remain unchanged; selecting a model does not rebuild an app automatically. The backend checks CLI availability and reports model access through generation status.

The non-secret choice is saved atomically in ignored frontend/.meld-cache/model-selection.json. No API key is needed for this CLI account path. Existing provider environment settings remain available for developer workflows; credentials are not sent to the browser. Optional MELD_CODEX_BIN selects the installed Codex executable.

Local workspace scope

The CLI login and model choice are shared within the local workspace. Account-management endpoints use loopback and same-origin checks. Keep the backend on its private interface and use an authenticated gateway for remote access.

OpenAI authentication