Python
- LangGraph raises TypeError on function node output
LangGraph raises TypeError on function node output This morning my LangGraph flow crashed after a new tool node. TypeError: cannot unpack non-iterable ToolInvocation object Python 3.12, langgraph 0.3.8, langchain 0.2.1. The node function returned a ToolInvocation instead of (ToolInvocation, kwargs); API changed in 0.3.7. Fix:
- AutoGPT stuck repeating the same task loop
AutoGPT stuck repeating the same task loop Last night I let AutoGPT try a simple research job. It found the first website, wrote a plan, then looped on the same “visit site” action forever. INFO Running with goal: Research Rust async examples THOUGHT Visit https://tokio.rs/ ACTION browser.open_url RESULT Page loaded THOUGHT Visit https://tokio.rs/ ... Docker image significantgravitas/autogpt:0.4.2, Python 3.10.11. Running on WSL2 Ubuntu 22.04. OPENAI_API_KEY set, no proxy.
- langchain load_tools() throws KeyError for requests
langchain load_tools() throws KeyError for ‘requests’ Yesterday I was wiring up a quick agent and called: from langchain.agents import load_tools tools = load_tools(["requests"]) The import blew up with: File ".../langchain/agents/load_tools.py", line 78, in load_tools tool = TOOL_NAME_TO_CLASS[name] KeyError: 'requests' Python 3.11, langchain 0.0.259, running on Windows 11 PowerShell.