await_generation
Wait for a generation job to complete and return the final status. Polls the provider until the job is done or timeout exceeded.
Instructions
Wait for a generation job to complete and return the final status.
Polls the provider until the job reaches a terminal state or the
timeout is exceeded. Useful for agents that want to block until
a model is ready.
Args:
job_id: Job ID from ``generate_model``.
provider: Provider that owns the job.
timeout: Max seconds to wait for generation (default 600 = 10 min).
poll_interval: Seconds between polls (default 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| timeout | No | ||
| provider | No | meshy | |
| poll_interval | No |