r/PiCodingAgent • u/anew_lord • Oct 26 '26
Question Receiving wrong final outputs

I asked pi agent what was the result of recent match between real madrid and fc barcelona which was played today and the result was 2-1, you can see in thinking that it somewhat was going in right direction but at the end gave wrong output.
I did same for rate of dollar in INR and it gave output of 86 inr which is wrong,
and the agent refers 2026 as some future date
i am using parallel search mcp and tried with gemini flash,nvidia llms
any solutions
0
Upvotes
2
u/pastelchemistry Oct 26 '26
pi doesn't provide the date to the LLM in its context by default. the date used to be built into the system prompt but it was removed some months ago as this broke prompt caching in some cases (i.e. whenever the date changes, the entire conversation had to be re-processed)
so you have to give it the date yourself somehow - you could put it in the prompt, tell the agent to use a tool to check the date (if it has bash then it may be as simple as running
date), or make/install an extension for however you want the date injected into contexti did find a pi-date-tail extension that injects the date as a (daily) *message* so it can preserve prompt caching
this should solve the issue in your screenshot, since the october 25 2026 score would be the obvious pick if it had been told the actual date. i imagine that date confusion could also play a role in the currency conversion issue, since historical data shows 1 USD as roughly 85-86 INR for the years 2024-2025. personally i would give it a proper tool for currency conversion (maybe GNU
unitsfor a CLI tool, just make sure to update conversion rates sometimes)1
u/Remote_Book Oct 26 '26
it doesn't look like a tool issue from the logs. the llm hallucinated the answer. nvidia llms are still experimental so dont trust it and gemini is 🥴
try with argon/luna/something else
1
u/FamousEntertainer383 Oct 26 '26
the same happened to me when I was researching volnurability reports from github using Luna 6 xhigh on Pi. Suddenly it decided that it is 18th of Match 2025 today. And investigated recent report is from future.
Ask model what date is today.