अनुमोदन के साथ डिप्लॉयमेंट
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 के लिए Ruby patterns अपनाएँ।
deploy = PhaseoAgentSdk.define_tool(
id: "deploy",
description: "Deploy the selected release",
require_approval: true,
execute: ->(input, runtime) { deployments.deploy(input) }
)
waiting_for_human में पहुँचने पर उसे सहेजें, फिर pending call ID से जुड़ा निर्णय देकर जारी रखें।
stream = agent.stream(input: prompt, client: client)
stream.text_stream.each { |delta| print delta }
result = stream.result
वाज़ दिस पेज हेल्पफुल