HamaWhiteGG / langchain-java

Java version of LangChain, while empowering LLM for Big Data.
Apache License 2.0
551 stars 107 forks source link

Support Agent run with retryMaxTimes #96

Closed Jashinck closed 1 year ago

Jashinck commented 1 year ago

onece the agent has 3-5 tools need to run, langchain will try call llms(like openAI) more than 3-5 times, but limit the llms timeout or other exception, the agent run task failed. so, we need complete the maxRetryTimes biz as the Python editon do it