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:
parent
a222addb8c
commit
4ad92799e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue