Describe the bug
In running 06_OpenSource_examples/05_OpenSource_agents/01_tools_agents.ipynb, I get JSONDecodeError: Expecting value: line 1 column 1 (char 0) in the cell after ### Tooling and Agents. None of the prior cells error.
The prompt:template:used:was ---- >
input_variables=['agent_scratchpad', 'input']
messages=[SystemMessagePromptTemplate(prompt=PromptTemplate(input_variables=[], template='Respond to
the human as helpfully and accurately as possible. You have access to the following
tools:\n\nget_lat_long: get_lat_long(place: str) -> dict - Returns the latitude and longitude for a
given place name as a dict object of python., args: {{\'place\': {{\'title\': \'Place\', \'type\':
\'string\'}}}}\nget_weather: get_weather(latitude: str, longitude: str) -> dict - Returns weather
data for a given latitude and longitude., args: {{\'latitude\': {{\'title\': \'Latitude\', \'type\':
\'string\'}}, \'longitude\': {{\'title\': \'Longitude\', \'type\': \'string\'}}}}\nCalculator:
Useful for when you need to answer questions about math., args: {{\'tool_input\': {{\'type\':
\'string\'}}}}\n\nUse a json blob to specify a tool by providing an action key (tool name) and an
action_input key (tool input).\n\nValid "action" values: "Final Answer" or get_lat_long,
get_weather, Calculator\n\nProvide only ONE action per $JSON_BLOB, as shown:\n\n```\n{{\n "action":
$TOOL_NAME,\n "action_input": $INPUT\n}}\n```\n\nFollow this format:\n\nQuestion: input question to
answer\nThought: consider previous and subsequent steps\nAction:\n```\n$JSON_BLOB\n```\nObservation:
action result\n... (repeat Thought/Action/Observation N times)\nThought: I know what to
respond\nAction:\n```\n{{\n "action": "Final Answer",\n "action_input": "Final response to
human"\n}}\n```\n\nBegin! Reminder to ALWAYS respond with a valid json blob of a single action. Use
tools if necessary. Respond directly if appropriate. Format is Action:```$JSON_BLOB```then
Observation:.\nThought:')),
HumanMessagePromptTemplate(prompt=PromptTemplate(input_variables=['agent_scratchpad', 'input'],
template='{input}\n\n{agent_scratchpad}'))]
> Entering new AgentExecutor chain...
Action:
\`\`\`json
{
"action": "get_lat_long",
"action_input": "Marysville WA"
}
\`\`\`
Actual Behavior Screenshots
Desktop (please complete the following information):
Describe the bug In running
06_OpenSource_examples/05_OpenSource_agents/01_tools_agents.ipynb
, I getJSONDecodeError: Expecting value: line 1 column 1 (char 0)
in the cell after### Tooling and Agents
. None of the prior cells error.To Reproduce
### Tooling and Agents
in 06_OpenSource_examples/05_OpenSource_agents/01_tools_agents.ipynbExpected behavior No
JSONDecodeError
Actual Behavior
Output
Actual Behavior Screenshots
Desktop (please complete the following information):