File tree Expand file tree Collapse file tree
apps/sim/app/workspace/[workspaceId]/settings/components/workflow-mcp-servers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -621,15 +621,21 @@ function ServerDetailView({
621621 </ a >
622622 ) }
623623 </ div >
624- { activeConfigTab === 'codex' && (
624+ { activeConfigTab === 'codex' && server . isPublic && (
625625 < p className = 'mt-2 text-[var(--text-muted)] text-caption' >
626- Add this to < span className = 'font-mono' > ~/.codex/config.toml</ span >
627- { ! server . isPublic && ' and set the SIM_API_KEY environment variable' } .
626+ Add this to < span className = 'font-mono' > ~/.codex/config.toml</ span > .
628627 </ p >
629628 ) }
630- { activeConfigTab !== 'codex' && ! server . isPublic && (
629+ { ! server . isPublic && (
631630 < p className = 'mt-2 text-[var(--text-muted)] text-caption' >
632- Replace $SIM_API_KEY with your API key
631+ { activeConfigTab === 'codex' ? (
632+ < >
633+ Add this to < span className = 'font-mono' > ~/.codex/config.toml</ span > and
634+ set the SIM_API_KEY environment variable with an existing API key
635+ </ >
636+ ) : (
637+ 'Replace $SIM_API_KEY with your API key'
638+ ) }
633639 { canManage && (
634640 < >
635641 , or{ ' ' }
@@ -642,6 +648,7 @@ function ServerDetailView({
642648 </ button >
643649 </ >
644650 ) }
651+ { activeConfigTab === 'codex' && '.' }
645652 </ p >
646653 ) }
647654 </ div >
You can’t perform that action at this time.
0 commit comments