feat: add default options to meta plugins status table
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -48,6 +48,12 @@ impl TextMetaPlugin {
|
||||
outputs,
|
||||
);
|
||||
|
||||
// Set default text_detect_size option if not provided
|
||||
if !base.options.contains_key("text_detect_size") {
|
||||
base.options.insert("text_detect_size".to_string(),
|
||||
serde_yaml::Value::Number(PIPESIZE.into()));
|
||||
}
|
||||
|
||||
// Get text_detect_size (previously max_buffer_size)
|
||||
let max_buffer_size = base.options.get("text_detect_size")
|
||||
.or_else(|| base.options.get("max_buffer_size")) // Handle backward compatibility
|
||||
|
||||
Reference in New Issue
Block a user