You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
Bug description
Whenever hasattr(self.model_api.retriever, 'search_queries') is True, the 'search_queries' field will be included in model act.
However, hasattr(self.model_api.retriever, 'search_queries') is always True once the model searched in previous turns in the same episode (even if in the current turn, the model chooses to retrieve from memory not search thus no search is performed)
Expected behavior
If no search is performed when generating the model response in some turn, no search_queries and top_docs fields should be set in the model act
Logs
Please paste the command line output:
Output goes here
Additional context
Add any other context about the problem here. (like proxy settings, network setup, overall goals, etc.)
The text was updated successfully, but these errors were encountered:
This issue has not had activity in 30 days. Please feel free to reopen if you have more issues. You may apply the "never-stale" tag to prevent this from happening.
Bug description
Whenever
hasattr(self.model_api.retriever, 'search_queries')
is True, the'search_queries'
field will be included in model act.However,
hasattr(self.model_api.retriever, 'search_queries')
is alwaysTrue
once the model searched in previous turns in the same episode (even if in the current turn, the model chooses to retrieve from memory not search thus no search is performed)Reproduction steps
Expected behavior
If no search is performed when generating the model response in some turn, no
search_queries
andtop_docs
fields should be set in the model actLogs
Please paste the command line output:
Additional context
Add any other context about the problem here. (like proxy settings, network setup, overall goals, etc.)
The text was updated successfully, but these errors were encountered: