·langgraph-error-handling
""

langgraph-error-handling

使用目前 v1 模式實作 LangGraph 錯誤處理。当用户需要对故障进行分类、为暂时性问题添加 RetryPolicy、使用命令路由构建 LLM 恢复循环、使用中断()/恢复添加人机交互、处理 ToolNode 错误或在重试、恢复和升级之间选择安全策略时使用。

18安裝·1熱度·@lubu-labs

安裝

$npx skills add https://github.com/lubu-labs/langchain-agent-skills --skill langgraph-error-handling

如何安裝 langgraph-error-handling

透過命令列快速安裝 langgraph-error-handling AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/lubu-labs/langchain-agent-skills --skill langgraph-error-handling
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:lubu-labs/langchain-agent-skills。

SKILL.md

查看原文

| Transient | System | RetryPolicy | | LLM-recoverable | LLM | State update + Command(goto=...) | | User-fixable | Human | interrupt() + Command(resume=...) | | Unexpected | Developer | Raise/log/debug |

Use custom handlers when you need deterministic error shaping for model recovery. For broader tool-recovery design, load references/llm-recovery.md.

| interrupt() fails at runtime | no checkpointer | compile with checkpointer | | Resume starts new run | different threadid | reuse same threadid | | JS Command route not taken | missing ends | add ends to addNode | | Infinite loop | no termination counter/condition | add retry counter + terminal branch |

使用目前 v1 模式實作 LangGraph 錯誤處理。当用户需要对故障进行分类、为暂时性问题添加 RetryPolicy、使用命令路由构建 LLM 恢复循环、使用中断()/恢复添加人机交互、处理 ToolNode 错误或在重试、恢复和升级之间选择安全策略时使用。 來源:lubu-labs/langchain-agent-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/lubu-labs/langchain-agent-skills --skill langgraph-error-handling
分類
""溝通寫作
認證
收錄時間
2026-02-22
更新時間
2026-03-11

Browse more skills from lubu-labs/langchain-agent-skills

快速解答

什麼是 langgraph-error-handling?

使用目前 v1 模式實作 LangGraph 錯誤處理。当用户需要对故障进行分类、为暂时性问题添加 RetryPolicy、使用命令路由构建 LLM 恢复循环、使用中断()/恢复添加人机交互、处理 ToolNode 错误或在重试、恢复和升级之间选择安全策略时使用。 來源:lubu-labs/langchain-agent-skills。

如何安裝 langgraph-error-handling?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/lubu-labs/langchain-agent-skills --skill langgraph-error-handling 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/lubu-labs/langchain-agent-skills