Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hindsight-api-slim/tests/test_hierarchical_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ async def test_hierarchical_fields_categorization():
assert "llm_gemini_safety_settings" in configurable
assert "mcp_enabled_tools" in configurable
assert "retain_chunk_batch_size" in configurable
assert "enable_auto_consolidation" in configurable

# Verify count is correct
assert len(configurable) == 35
assert len(configurable) == 36

# Verify credential fields (NEVER exposed)
assert "llm_api_key" in credentials
Expand Down
6 changes: 5 additions & 1 deletion hindsight-cli/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,11 @@ impl ApiClient {
_verbose: bool,
) -> Result<types::ConsolidationResponse> {
self.runtime.block_on(async {
let response = self.client.trigger_consolidation(bank_id, None).await?;
let body = types::ConsolidationRequest::default();
let response = self
.client
.trigger_consolidation(bank_id, None, &body)
.await?;
Ok(response.into_inner())
})
}
Expand Down
Loading