نشر يتطلب موافقة
waiting_for_human، ثم تابعها بقرار مرتبط بمعرّف الاستدعاء المعلّق.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
استخدم أنماط Ruby عملية للأدوات والموافقات والبث وعمليات التشغيل المحدودة.
deploy = PhaseoAgentSdk.define_tool(
id: "deploy",
description: "Deploy the selected release",
require_approval: true,
execute: ->(input, runtime) { deployments.deploy(input) }
)
waiting_for_human، ثم تابعها بقرار مرتبط بمعرّف الاستدعاء المعلّق.
stream = agent.stream(input: prompt, client: client)
stream.text_stream.each { |delta| print delta }
result = stream.result
هل كانت هذه الصفحة مفيدة؟