invoke_act_step
¶
invoke_act_step(
workflow_definition_name: WorkflowDefinitionName,
workflow_run_id: UuidString,
session_id: UuidString,
act_id: UuidString,
call_results: CallResults,
*,
config_overrides: Optional[NovaActClientConfig] = None,
previous_step_id: Optional[UuidString] = None,
) -> InvokeActStepResponse
Executes the next step of an act, processing tool call results and returning new tool calls if needed.
Parameters:
-
workflow_definition_name(WorkflowDefinitionName) –The name of the workflow definition containing the act.
-
workflow_run_id(UuidString) –The unique identifier of the workflow run containing the act.
-
session_id(UuidString) –The unique identifier of the session containing the act.
-
act_id(UuidString) –The unique identifier of the act to invoke the next step for.
-
call_results(CallResults) –The results from previous tool calls that the act requested.
-
previous_step_id(Optional[UuidString], default:None) –The identifier of the previous step, used for tracking execution flow.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An internal server error occurred. Please try again later.
-
ResourceNotFoundException–The requested resource was not found.
-
ServiceQuotaExceededException–The request would exceed a service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please try again later.
-
ValidationException–The input parameters for the request are invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_nova_act/_services/nova_act.py
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 | |