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

Really fixed the return direct #404

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Really fixed the return direct #404

merged 1 commit into from
Aug 8, 2023

Conversation

Pingdred
Copy link
Member

@Pingdred Pingdred commented Aug 7, 2023

Description

The return direct should be really fixed now, when a tool having return_direct = True is used the execute_tool_agent return immediately and the tool output is showed in chat.

If multiple tools are used, the intermediate_steps are still shown in the why but in the chat only the output of the tool with return_direct is shown.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@pieroit pieroit merged commit 3416ad8 into cheshire-cat-ai:develop Aug 8, 2023
2 checks passed
@pieroit
Copy link
Member

pieroit commented Aug 8, 2023

Thanks @Pingdred !

@cristianorevil issue about return_direct in develop is fixed, let us know ;)

@Pingdred Pingdred deleted the refix_return_direct branch August 10, 2023 12:37
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.

2 participants