[GH-ISSUE #3316] [BUG]: Regarding the internet search agent, it cannot understand terms like "today" and "latest." #2135

Closed
opened 2026-02-22 18:28:17 -05:00 by yindo · 2 comments
Owner

Originally created by @Ai5562 on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3316

How are you running AnythingLLM?

Docker (local)

What happened?

Hello, I am a user of AnythingLLM, and I would like to report a bug. When using the AnythingLLM platform's @agent for internet searches, the platform does not effectively understand terms like "today" or "latest." Instead, it requires specific dates, such as "2025-02-21," to provide accurate search results. For example, if I ask, "What is the weather like in New York today?" it cannot understand and does not return the specific weather conditions for today. However, if I ask, "What was the weather like in New York on 2025-02-21?" it can understand and return the weather for that day. I suggest that the product team optimize the name conversion feature so that "today" and "latest" can default to the date of the user's inquiry. I look forward to seeing updates and iterations on this.

Are there known steps to reproduce?

No response

Originally created by @Ai5562 on GitHub (Feb 21, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3316 ### How are you running AnythingLLM? Docker (local) ### What happened? Hello, I am a user of AnythingLLM, and I would like to report a bug. When using the AnythingLLM platform's @agent for internet searches, the platform does not effectively understand terms like "today" or "latest." Instead, it requires specific dates, such as "2025-02-21," to provide accurate search results. For example, if I ask, "What is the weather like in New York today?" it cannot understand and does not return the specific weather conditions for today. However, if I ask, "What was the weather like in New York on 2025-02-21?" it can understand and return the weather for that day. I suggest that the product team optimize the name conversion feature so that "today" and "latest" can default to the date of the user's inquiry. I look forward to seeing updates and iterations on this. ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:28:17 -05:00
yindo closed this issue 2026-02-22 18:28:17 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 22, 2025):

Moving this to https://github.com/Mintplex-Labs/anything-llm/issues/3157 - where it will be done.

This is because an LLM is stateless and operates only with the context it is given. If you want it to know the date, you need to tell it that or have it available in the prompt. That is why it has no concept of time, where, or what it is and has or does not have access to.

The above issue, being worked now, would enable "dynamic" prompting where variables can expand to a value that updates in real time, each query.

@timothycarambat commented on GitHub (Feb 22, 2025): Moving this to https://github.com/Mintplex-Labs/anything-llm/issues/3157 - where it will be done. This is because an LLM is stateless and operates _only_ with the context it is given. If you want it to know the date, you need to tell it that or have it available in the prompt. That is why it has no concept of time, where, or what it is and has or does not have access to. The above issue, being worked now, would enable "dynamic" prompting where variables can expand to a value that updates in real time, each query.
Author
Owner

@Ai5562 commented on GitHub (Feb 22, 2025):

您好,您的信件我已收到。如有必要我会尽快回复,谢谢!

@Ai5562 commented on GitHub (Feb 22, 2025): 您好,您的信件我已收到。如有必要我会尽快回复,谢谢!
yindo changed title from [BUG]: Regarding the internet search agent, it cannot understand terms like "today" and "latest." to [GH-ISSUE #3316] [BUG]: Regarding the internet search agent, it cannot understand terms like "today" and "latest." 2026-06-05 14:44:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2135