GitHub Action 2 месяцев назад
Родитель
Сommit
fc3ffb2bf9
2 измененных файлов с 8 добавлено и 0 удалено
  1. 4 0
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 4 0
      packages/sdk/openapi.json

+ 4 - 0
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -1518,6 +1518,10 @@ export type Config = {
      * Tools that should only be available to primary agents.
      */
     primary_tools?: Array<string>
+    /**
+     * Continue the agent loop when a tool call is denied
+     */
+    continue_loop_on_deny?: boolean
   }
 }
 

+ 4 - 0
packages/sdk/openapi.json

@@ -8279,6 +8279,10 @@
                 "items": {
                   "type": "string"
                 }
+              },
+              "continue_loop_on_deny": {
+                "description": "Continue the agent loop when a tool call is denied",
+                "type": "boolean"
               }
             }
           }