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 final_answer method does not have an answer variable because the prompt defines the answer variable, #169

Open
gitssie opened this issue Jan 13, 2025 · 1 comment

Comments

@gitssie
Copy link

gitssie commented Jan 13, 2025

The LLM generates the following code for execution.
Output message of the LLM:
Code:

final_answer(answer=response.text)                                                                                                                                                                      

─ Executing this code: ───────
final_answer(answer=response.text)
───────────────────────────────
evaluate_python_code..final_answer() got an unexpected keyword argument 'answer'

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

2 participants
@gitssie and others