L6 - agent.run(f"""Sort these customers by \ last name and then first name \ and print the output: {customer_list}""")

While running

agent.run(f"““Sort these customers by \ last name and then first name \ and print the output: {customer_list}””")

I get

ValueError: unknown format from LLM: Sorry, the given input is not a math problem and cannot be translated into a mathematical expression for execution using Python’s numexpr library. Please provide a valid math problem.

I have the following libraries version, as in the platform
openai == 0.27.7
numexpr==2.8.5
langchain == 0.0.179

thank you
cheers

1 Like

at a guess you may have not run the

agent = create_python_agent(
    llm,
    tool=PythonREPLTool(),
    verbose=True
)

cell above and are still call the agent that only has the math and wikipedia tools.