Skip to content

refactor: update system message for TogetherCrew bot#220

Closed
amindadgar wants to merge 1 commit intomainfrom
feat/answer-based-llm-knowledge
Closed

refactor: update system message for TogetherCrew bot#220
amindadgar wants to merge 1 commit intomainfrom
feat/answer-based-llm-knowledge

Conversation

@amindadgar
Copy link
Member

@amindadgar amindadgar commented Oct 6, 2025

  • Revised the system message to clarify the bot's role as a router and lightweight answerer.
  • Adjusted instructions for handling generic questions, emphasizing concise answers and the preference for returning 'rag' when context is needed.
  • Improved clarity by removing redundant phrases and ensuring directness in response guidelines.

Summary by CodeRabbit

  • Refactor
    • Refined the assistant’s internal guidance to improve consistency and clarity in responses.
    • Simplified wording around handling generic questions, follow-ups, and uncertainty.
    • Preserved existing features, routing behavior, and placeholder usage; no functional changes expected for end-users.

- Revised the system message to clarify the bot's role as a router and lightweight answerer.
- Adjusted instructions for handling generic questions, emphasizing concise answers and the preference for returning 'rag' when context is needed.
- Improved clarity by removing redundant phrases and ensuring directness in response guidelines.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 6, 2025

Walkthrough

Refactors the system prompt text within hivemind_activity in temporal_tasks.py, adjusting wording about bot description, scope, handling generic questions, follow-ups, and uncertainty. No logic, API, or routing changes; no public interfaces altered.

Changes

Cohort / File(s) Summary
Prompt text refactor
temporal_tasks.py
Updated system prompt wording for hivemind_activity; removed “strict,” simplified scope guidance, rephrased rules for generic questions, follow-ups, and uncertainty. No code flow or interface changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

I twitch my whiskers, nibble lines of prose—
A prompt made neat, where careful meaning grows.
No gears were moved, no routes re-spun,
Just tidier words beneath the sun.
Thump-thump! says rabbit, merging light—
A softer script, still sharp and bright.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title clearly and concisely describes the main change, which is a refactor of the system message for the TogetherCrew bot, and it aligns directly with the updates made to the prompt text without introducing unrelated details.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/answer-based-llm-knowledge

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e0d3fa2 and d309fbe.

📒 Files selected for processing (1)
  • temporal_tasks.py (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: ci / test / Test
🔇 Additional comments (1)
temporal_tasks.py (1)

32-39: No routing tests found; verify behavior
I didn’t find tests covering the updated routing logic in temporal_tasks.py—please manually verify or add tests to ensure the router still correctly chooses between ‘rag’ and direct answers.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@amindadgar
Copy link
Member Author

Not improving the system. Closing the PR

related eval: https://github.com/TogetherCrew/hivemind-bot/actions/runs/18271494922

@amindadgar amindadgar closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant