Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement forceFinalAnswer Logic and Update Test Cases #22

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

darielnoel
Copy link
Contributor

PR Description:

This PR introduces the forceFinalAnswer logic, which triggers a final answer from the AI agent when approaching the maximum iteration limit. This feature ensures that the agent utilizes all gathered information to provide a decisive response before the session expires. Additionally, the PR includes several updates and fixes:

  • Fix in Self-Question Logic: Revised the handling of self_question actions to ensure they are passed back correctly to the LLM for a coherent follow-up.
  • Gemini Test Cases: Added new test cases to the sports_news team scenarios, enhancing our test coverage.
  • Snapshot Updates: Updated snapshots to reflect the new forceFinalAnswer logic, ensuring our tests remain accurate and reliable.

@darielnoel darielnoel merged commit 6f888ac into main Aug 9, 2024
1 check passed
@darielnoel darielnoel deleted the fixing-gemini branch August 9, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant