fix(sdk-js): Avoid retrying 402s (#2554)

This commit is contained in:
Jacob Lee
2024-11-27 19:33:23 +00:00
committed by GitHub
parent 5144b8f374
commit 7ac365ea84
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@langchain/langgraph-sdk",
"version": "0.0.28",
"version": "0.0.29",
"description": "Client library for interacting with the LangGraph API",
"type": "module",
"packageManager": "yarn@1.22.19",
+1
View File
@@ -4,6 +4,7 @@ import PQueueMod from "p-queue";
const STATUS_NO_RETRY = [
400, // Bad Request
401, // Unauthorized
402, // Payment required
403, // Forbidden
404, // Not Found
405, // Method Not Allowed