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

The second elif in __main__._try_get_prompt does not go in #13

Open
YbugY opened this issue Jan 3, 2025 · 0 comments
Open

The second elif in __main__._try_get_prompt does not go in #13

YbugY opened this issue Jan 3, 2025 · 0 comments

Comments

@YbugY
Copy link

YbugY commented Jan 3, 2025

屏幕截图 2025-01-03 094225

when the isinstance(chain, RunnableSequence) is True, the expected_run_outputs must be 'predicted: AIMessage = run.outputs["output"]'.
The elif (
isinstance(chain, RunnableSequence)
and isinstance(chain.steps[1], RunnableBinding)
and chain.steps[1].kwargs.get("tools")
):
is meaningless?

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

No branches or pull requests

1 participant