Guard BillingModeField with isLocal check

Prevents the billing mode dropdown from rendering for non-local
adapters like openclaw_gateway where the server-side execute never
reads config.billingMode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Devin Foley 2026-03-24 17:50:25 -07:00
parent a222addb8c
commit 4ad92799e1

View file

@ -774,7 +774,7 @@ export function AgentConfigForm(props: AgentConfigFormProps) {
<ClaudeLocalAdvancedFields {...adapterFieldProps} />
)}
<BillingModeField {...adapterFieldProps} />
{isLocal && <BillingModeField {...adapterFieldProps} />}
<Field label="Extra args (comma-separated)" hint={help.extraArgs}>
<DraftInput