雲端供應商
Connect your Modal workspace to map its environments, apps, functions, web endpoints, sandboxes, volumes, secrets, queues, and dicts into the context graph. Agents can then reason about what runs where, what each function depends on, and what changed between syncs.

連接

從終端機連接Modal。傳入--help可查看Modal接受的旗標,在無瀏覽器環境中再加上--no-browser。

Terminal
polylane cloud connect --provider modal

中斷連接

中斷連接會停止所有同步與檢查,並刪除Polylane持有的憑證。 Polylane在Modal中建立的一切也會一併移除;不會留下任何東西。

Terminal
polylane cloud disconnect <id>

工具

5

代理可以在對話串中執行的操作。

Get Logs
Get Modal app logs: per-bucket volume by stream plus sampled lines
List Sandboxes
List Modal sandboxes in an environment, with their state and resource shape
List Deployments
List Modal app deployments: version, who deployed, and when
Describe App
Describe one Modal app: state, deploy provenance, and the functions inside it
Get Cost
Get metered Modal spend, for one app or broken down across the workspace

支援的資源

10

會出現在你基礎設施圖中的資源類型。

Environment
App
Function
Class
Sandbox
Image
Volume
Secret
Queue
Dict