system_prompt is a configmap key, not part of the lightspeed config file#38
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe changes revise the system prompt to emphasize memory and context retention, instructing the assistant to store and reuse parameter values provided by the user or tools within a conversation. The prompt and its example interactions are updated accordingly. Additionally, a deployment environment variable is incremented from version "1" to "2". Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Assistant
User->>Assistant: Provide a parameter (e.g., cluster ID)
Assistant->>Assistant: Store parameter in memory
Assistant->>User: Confirm parameter stored, proceed with query
User->>Assistant: Ask a follow-up query (parameter not repeated)
Assistant->>Assistant: Retrieve parameter from memory
Assistant->>User: Use stored parameter to answer without re-asking
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Enhance agent memory and context awareness Instructs the AI agent to remember previously provided information to avoid redundant prompts. Signed-off-by: Eran Cohen <eranco@redhat.com>
Third time's the charm 🤦
Also update the system prompt from #35
Summary by CodeRabbit
New Features
Chores