Repository navigation
ROB-1441 global date context - #552
Conversation
WalkthroughThe changes introduce the current UTC datetime into the context for prompt rendering, making it accessible as Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant load_and_render_prompt
participant Jinja2Template
Caller->>load_and_render_prompt: Call with context
load_and_render_prompt->>load_and_render_prompt: Add current UTC datetime as 'now' and timestamp to context
load_and_render_prompt->>Jinja2Template: Render template with updated context
Jinja2Template-->>load_and_render_prompt: Rendered prompt (with 'now' and timestamp)
load_and_render_prompt-->>Caller: Return rendered prompt
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (5)
⏰ Context from checks skipped due to timeout of 90000ms (7)
✨ Finishing Touches
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 (
|
Change related to #552 that: - Adds the ability to mock the datetime injected into the prompt. - Removes the datetime toolset because it is now redundant - Adds the ability to tag evals - Fixes a mypy issue where it gets confused between importing `holmes/__init__py` with `holmes.py`
No description provided.