Skip to content

Plugin config summaryModel not picked up, requires env var workaround #13

@king6731253

Description

@king6731253

Issue

When configuring summaryModel via plugins.entries.lossless-claw.config.summaryModel in openclaw.json, the value is not being read by the plugin. The compaction summarization model shows "(unconfigured)".

However, setting the same value via environment variable LCM_SUMMARY_MODEL works correctly.

Configuration Used

```json
{
"plugins": {
"entries": {
"lossless-claw": {
"enabled": true,
"config": {
"contextThreshold": 0.75,
"summaryModel": "minimax/MiniMax-M2.7",
"summaryProvider": "minimax"
}
}
}
}
}
```

Observed Behavior

  • contextThreshold: 0.75 is correctly read and logged: threshold=0.75
  • summaryModel is NOT read, causing: [lcm] Compaction summarization model: (unconfigured)
  • The log shows (unconfigured) even though summaryModel is set in config

Workaround

Setting environment variables works:

```json
{
"env": {
"LCM_SUMMARY_MODEL": "minimax/MiniMax-M2.7",
"LCM_SUMMARY_PROVIDER": "minimax"
}
}
```

Environment

  • OpenClaw: 2026.4.5
  • lossless-claw-enhanced: 0.5.2
  • macOS

Additional Notes

The config validation passes without errors (no "additional properties" or schema errors). Other config properties like contextThreshold work fine. The issue appears specific to summaryModel not being passed through api.pluginConfig from the OpenClaw framework.

This could be an issue in the OpenClaw framework's plugin config passing, or potentially a schema validation issue that silently discards certain properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions