Skip to content

Commit 027ecee

Browse files
authored
Add skipped-workloads to environment mapping (#64)
1 parent bbdeb7b commit 027ecee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/mcp_optimizer/cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232

3333
# Fields that should not be exposed via CLI or environment variables
3434
# These fields can only be set via configuration files
35-
CLI_EXCLUDED_FIELDS = {
36-
"skipped_workloads", # Config-only field for workload filtering
37-
}
35+
CLI_EXCLUDED_FIELDS = {}
3836

3937

4038
def _generate_config_params():

src/mcp_optimizer/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ def _populate_config_from_env() -> dict[str, Any]:
496496
"WORKLOAD_INGESTION_BATCH_SIZE": "workload_ingestion_batch_size",
497497
"MAX_TOOL_RESPONSE_TOKENS": "max_tool_response_tokens",
498498
"ALLOWED_GROUPS": "allowed_groups",
499+
"SKIPPED_WORKLOADS": "skipped_workloads",
499500
"RICH_TRACEBACKS": "rich_tracebacks",
500501
"COLORED_LOGS": "colored_logs",
501502
"K8S_API_SERVER_URL": "k8s_api_server_url",

0 commit comments

Comments
 (0)