अनुमोदन के साथ डिप्लॉयमेंट
waiting_for_human में पहुँचने पर उसे सहेजें, फिर pending call ID से जुड़ा निर्णय देकर जारी रखें।
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Tools, approvals, streaming और सीमित runs के लिए PHP patterns अपनाएँ।
$deploy = new Tool(
id: "deploy",
description: "Deploy the selected release",
requireApproval: true,
execute: fn (array $input, $runtime) => $deployments->deploy($input)
);
waiting_for_human में पहुँचने पर उसे सहेजें, फिर pending call ID से जुड़ा निर्णय देकर जारी रखें।
$stream = $agent->stream(input: $prompt, client: $client);
foreach ($stream->textStream() as $delta) { echo $delta; }
$result = $stream->getResult();
वाज़ दिस पेज हेल्पफुल