mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-08-14 00:47:52 +00:00
fix: acknowledge all connected sources in digest, raise word limit to 300
Prompt now instructs LLM to briefly mention every data source that returned results (even if nothing urgent) so the user knows it checked. Disconnected sources are silently skipped. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
37c224e4b7
commit
dafd6e1f5f
@@ -82,10 +82,16 @@ class MorningDigestAgent(ToolUsingAgent):
|
||||
"RULES:\n"
|
||||
"- ONLY report facts from the provided data. Never invent.\n"
|
||||
"- NEVER describe actions you are taking.\n"
|
||||
"- Skip sections with no data entirely.\n"
|
||||
"- Briefly acknowledge EVERY data source that returned results, "
|
||||
"even if nothing is urgent. For example: 'No pressing Slack "
|
||||
"messages, just some chatter in the general and engineering "
|
||||
"channels' or 'Your iMessage threads are quiet today.' This "
|
||||
"lets the user know you checked.\n"
|
||||
"- If a source returned an error or is disconnected, skip it "
|
||||
"silently — do not mention connection issues.\n"
|
||||
"- No markdown, emojis, bullet points, or headers.\n"
|
||||
"- Natural spoken transitions between sections.\n"
|
||||
"- Under 250 words total."
|
||||
"- Under 300 words total."
|
||||
)
|
||||
|
||||
def _resolve_sources(self) -> List[str]:
|
||||
|
||||
Reference in New Issue
Block a user