Fix mypy errors in core/config directory (#7113)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Graham Neubig
2025-03-25 05:57:00 -07:00
committed by GitHub
parent 8b473397d1
commit 0efe4feb2a
5 changed files with 32 additions and 20 deletions

View File

@@ -200,7 +200,7 @@ def condenser_config_from_toml_section(
f'Invalid condenser configuration: {e}. Using NoOpCondenserConfig.'
)
# Default to NoOpCondenserConfig if config fails
config = NoOpCondenserConfig()
config = NoOpCondenserConfig(type='noop')
condenser_mapping['condenser'] = config
return condenser_mapping