Try to fix workers and workspace
This commit is contained in:
@@ -85,7 +85,7 @@ const providerOptions: {
|
||||
},
|
||||
{
|
||||
value: 'opencode_openai_login',
|
||||
label: 'OpenCode OpenAI login',
|
||||
label: 'Codex ChatGPT login',
|
||||
authType: 'opencode_auth_json',
|
||||
},
|
||||
];
|
||||
@@ -282,8 +282,8 @@ export const AiProviderProfilesPanel = () => {
|
||||
))
|
||||
) : (
|
||||
<p className='text-muted-foreground text-sm'>
|
||||
Add API-key providers for OpenCode, or store an OpenCode OpenAI
|
||||
login profile for the next auth-file injection pass.
|
||||
Add API-key providers for OpenCode, or store a Codex ChatGPT login
|
||||
profile for runs that should use your Codex plan.
|
||||
</p>
|
||||
)}
|
||||
</CardContent>
|
||||
@@ -332,7 +332,7 @@ export const AiProviderProfilesPanel = () => {
|
||||
<div className='grid gap-2'>
|
||||
<Label>
|
||||
{selectedProvider.authType === 'opencode_auth_json'
|
||||
? 'OpenCode auth JSON'
|
||||
? 'Codex auth JSON'
|
||||
: 'API key'}
|
||||
</Label>
|
||||
{selectedProvider.authType === 'opencode_auth_json' ? (
|
||||
@@ -347,8 +347,9 @@ export const AiProviderProfilesPanel = () => {
|
||||
<code className='bg-muted rounded px-1 py-0.5'>
|
||||
~/.codex/auth.json
|
||||
</code>
|
||||
. It is stored encrypted and should be treated like a
|
||||
password.
|
||||
. Spoon writes it into the isolated job workspace as
|
||||
Codex's auth cache. It is stored encrypted and should
|
||||
be treated like a password.
|
||||
</p>
|
||||
</>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user