mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-03 14:05:26 +02:00
feat(admin): add Fireworks API key and proxy to admin manifest
Registers FIREWORKS_API_KEY / FIREWORKS_PROXY in api/admin_config FIELDS so the UI can set credentials and provider status stays accurate. Adds admin apply test and contract guards linking PROVIDER_CATALOG to FIELD_BY_KEY; updates .env.example.
This commit is contained in:
@@ -176,6 +176,15 @@ FIELDS: tuple[ConfigFieldSpec, ...] = (
|
||||
secret=True,
|
||||
description="Z.ai Coding Plan API key.",
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"FIREWORKS_API_KEY",
|
||||
"Fireworks API Key",
|
||||
"providers",
|
||||
"secret",
|
||||
settings_attr="fireworks_api_key",
|
||||
secret=True,
|
||||
description="Fireworks AI inference API key.",
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"LM_STUDIO_BASE_URL",
|
||||
"LM Studio Base URL",
|
||||
@@ -269,6 +278,15 @@ FIELDS: tuple[ConfigFieldSpec, ...] = (
|
||||
secret=True,
|
||||
advanced=True,
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"FIREWORKS_PROXY",
|
||||
"Fireworks Proxy",
|
||||
"providers",
|
||||
"secret",
|
||||
settings_attr="fireworks_proxy",
|
||||
secret=True,
|
||||
advanced=True,
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"MODEL",
|
||||
"Default Model",
|
||||
|
||||
Reference in New Issue
Block a user