Closed maciejNisztuk closed 2 months ago
Thank you for raising this issue - this PR https://github.com/langchain-ai/langgraph/pull/1517 should contain the fix.
@isahers1 Thank you for the fast reply and fix. Btw. Is there a plan to translate the Llm Compiler example to Javascript/Typescript LangGraph version?
Yes, we plan to translate all of these!
I appreciate the quick fix on this issue, I was also struggling with it. I have a closely related follow-up question. In the revised code, a replan
input variable is still being passed to the base_prompt (see here), and the base_prompt doesn't have an input variable called replan
. Is the replan functionality not included in this version? Also, a side question, why isn't base_prompt.partial erroring when being passed a variable it shouldn't recognize?
EDIT: On further inspection, I believe this issue still exists in the current update, but none of the current examples in LLMCompiler.ipynb use the Replan functionality, so it isn't being replicated. I have opened a PR to add an example and fix the issue.
@vbarda thanks for the response. Do you have the ETA for this feature? I must admit that this feature would be incredibly helpful for my use case :)
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I'm trying to use the llm compiler example code, but I get the error of 'replan' variable not in the planner_prompt. Checked the wfh/llm-compiler LangShimth's hub template, and I don't see the variable either. __
System Info
windows