[BUG] Citation Validation would fail if there is no citation
20001LastOrder opened this issue · 2 comments
20001LastOrder commented
Describe the bug
It seems when the citation validation is triggered but there was no action involving a link by the agent, the code will crash with an outbound exception.
To Reproduce
Create an agent with empty actions but citation validation, run any query
Expected behavior
The citation validation will have no effect since there is no links / resources
Screenshots
20001LastOrder commented
I will work on this one
20001LastOrder commented
This error is cause by the inclusion of Google Search action but not selected by the agent.
Revised reproduce steps:
- include Google Search action and another action to the agent
- Add citation validation
- Make sure google search is not selected by the agent
- Run citation validation