mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
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:
1 parent
a222addb8c
commit
4ad92799e1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user