Put today's date in the system prompt #62
Open
ryan
wants to merge 1 commits from
feat/prompt-current-date into main
pull from: feat/prompt-current-date
merge into: ryan:main
ryan:main
ryan:docs/efficiency-tickets
ryan:docs/immich-mcp-tickets
ryan:fix/reindex-targets
ryan:docs/immich-mcp-design
ryan:fix/ci-frontend-yarn
ryan:feat/obsidian-write-sync
ryan:perf/prune-checkpoints
ryan:perf/obsidian-sync-off-loop
ryan:perf/full-search-chunks
ryan:perf/concise-answers
ryan:fix/image-ownership
ryan:fix/scheduled-messages-migration
ryan:feat/application-foundation
ryan:feat/config-ci
ryan:perf/stable-prompt-prefix
ryan:perf/fk-indexes
ryan:perf/offload-image-processing
ryan:perf/ynab-sync-interval
ryan:perf/batch-paperless-embeddings
ryan:feat/context-quality
ryan:fix/ynab-outflow-consistency
ryan:feat/ynab-report-totals
ryan:feat/context-management
ryan:fix/stream-stall-timeout
ryan:feat/cowork-file-drop
ryan:feat/cowork-artifact-panel
ryan:feat/cowork-timeline
ryan:feat/cowork-tool-artifacts
ryan:feat/ynab-mirror
ryan:feat/cowork-stream
ryan:plan/cowork-ui
ryan:fix/access-token-auth
ryan:fix/access-token-auth-backend
ryan:explore/desktop-client
ryan:feat/homebox-set-item
ryan:feat/bookstack-mcp
ryan:feat/homebox-mcp
ryan:stream-observability
ryan:agent-improvements
ryan:agent-image-and-context-fixes
ryan:feature/math-and-split-bill-tools
ryan:imessage-image-upload
ryan:paste-image-upload
ryan:llama-timeouts
ryan:fix-answer-bubble-react-import
ryan:copy-answer-messages
ryan:update-claude-md
ryan:mobile-drawer-conversation-pagination
ryan:conversation-routing
ryan:frontend-interactions-cleanup
ryan:eversweet-ultra-support
ryan:refactor/frontend-hooks
ryan:fix/obsidian-sync-setup
ryan:feat/improve-system-prompt
ryan:refactor/chromadb-to-pgvector
ryan:feat/rename-conversations-command
ryan:fix/mobile-conversation-launch
ryan:feat/conversation-name-truncation
ryan:feat/user-memory
ryan:feat/conversation-ordering-and-naming
ryan:fix/oidc-null-groups
ryan:extend-jwt-expiration
ryan:fix/mobile-input-performance
ryan:feat/makefile-redeploy
ryan:fix/image-in-existing-conversations
ryan:fix/image-presigned-urls
ryan:test/unit-tests
ryan:fix/ynab-transaction-limit
ryan:worktree-crispy-whistling-snowglobe
ryan:feature/llama-cpp-integration
ryan:rc/langchain-migration
ryan:rc/01012025-retitling
ryan:mobile-responsive-layout
ryan:async-reindexing
ryan:update-favicon-and-title
ryan:conversation-uplift
ryan:quart-login
ryan:user-support
ryan:rc/9-metadata-date-filtering
ryan:data-preprocessing
ryan:better-embeddings
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "feat/prompt-current-date"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Nothing in the system prompt tells the model today's date; it has to remember to call the get_current_date tool. When asked about 'October' with no year, it skipped the tool and filled in 2025 from training data (the Qwen model's knowledge cutoff), producing wrong spending dates.
The same prompt hardcodes Simba as 'approximately 9 years 5 months old', which was only true around January 2026.
Fix
All 189 tests pass.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.