Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

refactor: improve output instructions implementation

LearningCircuit16202283648b
diff --git a/src/local_deep_research/citation_handlers/base_citation_handler.py b/src/local_deep_research/citation_handlers/base_citation_handler.py
index fe1066514c..3c0fa91ded 100644
--- a/src/local_deep_research/citation_handlers/base_citation_handler.py
+++ b/src/local_deep_research/citation_handlers/base_citation_handler.py
@@ -47,7 +47,7 @@ class BaseCitationHandler(ABC):
).strip()
if output_instructions:
- return f"IMPORTANT: {output_instructions}\n\n"
+ return f"User-Specified Output Style: {output_instructions}\n\n"
return ""
def _create_documents(
diff --git a/src/local_deep_research/defaults/default_settings.json b/src/local_deep_research/defaults/default_settings.json
index ccea3b27c0..9eef68a94a 100644
--- a/src/local_deep_research/defaults/default_settings.json
+++ b/src/local_deep_research/defaults/default_settings.json
@@ -1733,13 +1733,13 @@
},
"general.output_instructions": {
"category": "general",
- "description": "Custom instructions for how research answers and reports should be formatted. You can specify language (e.g., 'Respond in Spanish'), tone (e.g., 'Use formal academic tone'), style (e.g., 'Be concise with bullet points'), or any combination. Leave empty for default English output. Examples: 'Respond in Spanish with formal tone' | 'Use simple language suitable for beginners' | 'Write in Japanese using technical terminology'",
+ "description": "Customize how research outputs are formatted: language, tone, style, formatting preferences, audience level, etc. Leave empty for default English output.",
"editable": true,
- "max_value": null,
+ "max_value": 1500,
"min_value": null,
"name": "Output Instructions",
"options": null,
- "placeholder": "Example: Respond in Spanish using formal academic tone",
+ "placeholder": "Examples: 'Respond in Spanish with formal tone' | 'Use simple language for beginners' | 'Be concise with bullet points'",
"step": null,
"type": "APP",
"ui_element": "textarea",