|
7 | 7 |
|
8 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
9 | 9 |
|
10 |
| - The version of the OpenAPI document: 0.2.0 |
| 10 | + The version of the OpenAPI document: 0.2.1 |
11 | 11 | Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12 | 12 |
|
13 | 13 | Do not edit the class manually.
|
|
21 | 21 | from pydantic import Field, StrictBool, StrictStr, field_validator
|
22 | 22 | from typing import Any, Dict, List, Optional
|
23 | 23 | from typing_extensions import Annotated
|
24 |
| -from agntcy_acp.acp_v0.models.run import Run |
25 | 24 | from agntcy_acp.acp_v0.models.run_create_stateless import RunCreateStateless
|
26 | 25 | from agntcy_acp.acp_v0.models.run_output_stream import RunOutputStream
|
27 | 26 | from agntcy_acp.acp_v0.models.run_search_request import RunSearchRequest
|
28 |
| -from agntcy_acp.acp_v0.models.run_wait_response import RunWaitResponse |
| 27 | +from agntcy_acp.acp_v0.models.run_stateless import RunStateless |
| 28 | +from agntcy_acp.acp_v0.models.run_wait_response_stateless import RunWaitResponseStateless |
29 | 29 |
|
30 | 30 | from agntcy_acp.acp_v0.async_client.api_client import ApiClient, RequestSerialized
|
31 | 31 | from agntcy_acp.acp_v0.api_response import ApiResponse
|
@@ -641,7 +641,7 @@ async def create_and_wait_for_stateless_run_output(
|
641 | 641 | _content_type: Optional[StrictStr] = None,
|
642 | 642 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
643 | 643 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
644 |
| - ) -> RunWaitResponse: |
| 644 | + ) -> RunWaitResponseStateless: |
645 | 645 | """Create a stateless run and wait for its output
|
646 | 646 |
|
647 | 647 | Create a stateless run and wait for its output. See 'GET /runs/{run_id}/wait' for details on the return values.
|
@@ -679,7 +679,7 @@ async def create_and_wait_for_stateless_run_output(
|
679 | 679 | )
|
680 | 680 |
|
681 | 681 | _response_types_map: Dict[str, Optional[str]] = {
|
682 |
| - '200': "RunWaitResponse", |
| 682 | + '200': "RunWaitResponseStateless", |
683 | 683 | '404': "str",
|
684 | 684 | '409': "str",
|
685 | 685 | '422': "str",
|
@@ -711,7 +711,7 @@ async def create_and_wait_for_stateless_run_output_with_http_info(
|
711 | 711 | _content_type: Optional[StrictStr] = None,
|
712 | 712 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
713 | 713 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
714 |
| - ) -> ApiResponse[RunWaitResponse]: |
| 714 | + ) -> ApiResponse[RunWaitResponseStateless]: |
715 | 715 | """Create a stateless run and wait for its output
|
716 | 716 |
|
717 | 717 | Create a stateless run and wait for its output. See 'GET /runs/{run_id}/wait' for details on the return values.
|
@@ -749,7 +749,7 @@ async def create_and_wait_for_stateless_run_output_with_http_info(
|
749 | 749 | )
|
750 | 750 |
|
751 | 751 | _response_types_map: Dict[str, Optional[str]] = {
|
752 |
| - '200': "RunWaitResponse", |
| 752 | + '200': "RunWaitResponseStateless", |
753 | 753 | '404': "str",
|
754 | 754 | '409': "str",
|
755 | 755 | '422': "str",
|
@@ -819,7 +819,7 @@ async def create_and_wait_for_stateless_run_output_without_preload_content(
|
819 | 819 | )
|
820 | 820 |
|
821 | 821 | _response_types_map: Dict[str, Optional[str]] = {
|
822 |
| - '200': "RunWaitResponse", |
| 822 | + '200': "RunWaitResponseStateless", |
823 | 823 | '404': "str",
|
824 | 824 | '409': "str",
|
825 | 825 | '422': "str",
|
@@ -923,7 +923,7 @@ async def create_stateless_run(
|
923 | 923 | _content_type: Optional[StrictStr] = None,
|
924 | 924 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
925 | 925 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
926 |
| - ) -> Run: |
| 926 | + ) -> RunStateless: |
927 | 927 | """Create a Background stateless Run
|
928 | 928 |
|
929 | 929 | Create a stateless run, return the run ID immediately. Don't wait for the final run output.
|
@@ -961,7 +961,7 @@ async def create_stateless_run(
|
961 | 961 | )
|
962 | 962 |
|
963 | 963 | _response_types_map: Dict[str, Optional[str]] = {
|
964 |
| - '200': "Run", |
| 964 | + '200': "RunStateless", |
965 | 965 | '404': "str",
|
966 | 966 | '409': "str",
|
967 | 967 | '422': "str",
|
@@ -993,7 +993,7 @@ async def create_stateless_run_with_http_info(
|
993 | 993 | _content_type: Optional[StrictStr] = None,
|
994 | 994 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
995 | 995 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
996 |
| - ) -> ApiResponse[Run]: |
| 996 | + ) -> ApiResponse[RunStateless]: |
997 | 997 | """Create a Background stateless Run
|
998 | 998 |
|
999 | 999 | Create a stateless run, return the run ID immediately. Don't wait for the final run output.
|
@@ -1031,7 +1031,7 @@ async def create_stateless_run_with_http_info(
|
1031 | 1031 | )
|
1032 | 1032 |
|
1033 | 1033 | _response_types_map: Dict[str, Optional[str]] = {
|
1034 |
| - '200': "Run", |
| 1034 | + '200': "RunStateless", |
1035 | 1035 | '404': "str",
|
1036 | 1036 | '409': "str",
|
1037 | 1037 | '422': "str",
|
@@ -1101,7 +1101,7 @@ async def create_stateless_run_without_preload_content(
|
1101 | 1101 | )
|
1102 | 1102 |
|
1103 | 1103 | _response_types_map: Dict[str, Optional[str]] = {
|
1104 |
| - '200': "Run", |
| 1104 | + '200': "RunStateless", |
1105 | 1105 | '404': "str",
|
1106 | 1106 | '409': "str",
|
1107 | 1107 | '422': "str",
|
@@ -1471,7 +1471,7 @@ async def get_stateless_run(
|
1471 | 1471 | _content_type: Optional[StrictStr] = None,
|
1472 | 1472 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
1473 | 1473 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1474 |
| - ) -> Run: |
| 1474 | + ) -> RunStateless: |
1475 | 1475 | """Get Run
|
1476 | 1476 |
|
1477 | 1477 | Get a stateless run by ID.
|
@@ -1509,7 +1509,7 @@ async def get_stateless_run(
|
1509 | 1509 | )
|
1510 | 1510 |
|
1511 | 1511 | _response_types_map: Dict[str, Optional[str]] = {
|
1512 |
| - '200': "Run", |
| 1512 | + '200': "RunStateless", |
1513 | 1513 | '404': "str",
|
1514 | 1514 | '422': "str",
|
1515 | 1515 | }
|
@@ -1540,7 +1540,7 @@ async def get_stateless_run_with_http_info(
|
1540 | 1540 | _content_type: Optional[StrictStr] = None,
|
1541 | 1541 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
1542 | 1542 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1543 |
| - ) -> ApiResponse[Run]: |
| 1543 | + ) -> ApiResponse[RunStateless]: |
1544 | 1544 | """Get Run
|
1545 | 1545 |
|
1546 | 1546 | Get a stateless run by ID.
|
@@ -1578,7 +1578,7 @@ async def get_stateless_run_with_http_info(
|
1578 | 1578 | )
|
1579 | 1579 |
|
1580 | 1580 | _response_types_map: Dict[str, Optional[str]] = {
|
1581 |
| - '200': "Run", |
| 1581 | + '200': "RunStateless", |
1582 | 1582 | '404': "str",
|
1583 | 1583 | '422': "str",
|
1584 | 1584 | }
|
@@ -1647,7 +1647,7 @@ async def get_stateless_run_without_preload_content(
|
1647 | 1647 | )
|
1648 | 1648 |
|
1649 | 1649 | _response_types_map: Dict[str, Optional[str]] = {
|
1650 |
| - '200': "Run", |
| 1650 | + '200': "RunStateless", |
1651 | 1651 | '404': "str",
|
1652 | 1652 | '422': "str",
|
1653 | 1653 | }
|
@@ -1738,7 +1738,7 @@ async def resume_stateless_run(
|
1738 | 1738 | _content_type: Optional[StrictStr] = None,
|
1739 | 1739 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
1740 | 1740 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1741 |
| - ) -> Run: |
| 1741 | + ) -> RunStateless: |
1742 | 1742 | """Resume an interrupted Run
|
1743 | 1743 |
|
1744 | 1744 | Provide the needed input to a run to resume its execution. Can only be called for runs that are in the interrupted state Schema of the provided input must match with the schema specified in the agent specs under interrupts for the interrupt type the agent generated for this specific interruption.
|
@@ -1779,7 +1779,7 @@ async def resume_stateless_run(
|
1779 | 1779 | )
|
1780 | 1780 |
|
1781 | 1781 | _response_types_map: Dict[str, Optional[str]] = {
|
1782 |
| - '200': "Run", |
| 1782 | + '200': "RunStateless", |
1783 | 1783 | '404': "str",
|
1784 | 1784 | '409': "str",
|
1785 | 1785 | '422': "str",
|
@@ -1812,7 +1812,7 @@ async def resume_stateless_run_with_http_info(
|
1812 | 1812 | _content_type: Optional[StrictStr] = None,
|
1813 | 1813 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
1814 | 1814 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1815 |
| - ) -> ApiResponse[Run]: |
| 1815 | + ) -> ApiResponse[RunStateless]: |
1816 | 1816 | """Resume an interrupted Run
|
1817 | 1817 |
|
1818 | 1818 | Provide the needed input to a run to resume its execution. Can only be called for runs that are in the interrupted state Schema of the provided input must match with the schema specified in the agent specs under interrupts for the interrupt type the agent generated for this specific interruption.
|
@@ -1853,7 +1853,7 @@ async def resume_stateless_run_with_http_info(
|
1853 | 1853 | )
|
1854 | 1854 |
|
1855 | 1855 | _response_types_map: Dict[str, Optional[str]] = {
|
1856 |
| - '200': "Run", |
| 1856 | + '200': "RunStateless", |
1857 | 1857 | '404': "str",
|
1858 | 1858 | '409': "str",
|
1859 | 1859 | '422': "str",
|
@@ -1927,7 +1927,7 @@ async def resume_stateless_run_without_preload_content(
|
1927 | 1927 | )
|
1928 | 1928 |
|
1929 | 1929 | _response_types_map: Dict[str, Optional[str]] = {
|
1930 |
| - '200': "Run", |
| 1930 | + '200': "RunStateless", |
1931 | 1931 | '404': "str",
|
1932 | 1932 | '409': "str",
|
1933 | 1933 | '422': "str",
|
@@ -2034,7 +2034,7 @@ async def search_stateless_runs(
|
2034 | 2034 | _content_type: Optional[StrictStr] = None,
|
2035 | 2035 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
2036 | 2036 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2037 |
| - ) -> List[Run]: |
| 2037 | + ) -> List[RunStateless]: |
2038 | 2038 | """Search Stateless Runs
|
2039 | 2039 |
|
2040 | 2040 | Search for stateless run. This endpoint also functions as the endpoint to list all stateless Runs.
|
@@ -2072,7 +2072,7 @@ async def search_stateless_runs(
|
2072 | 2072 | )
|
2073 | 2073 |
|
2074 | 2074 | _response_types_map: Dict[str, Optional[str]] = {
|
2075 |
| - '200': "List[Run]", |
| 2075 | + '200': "List[RunStateless]", |
2076 | 2076 | '422': "str",
|
2077 | 2077 | }
|
2078 | 2078 | response_data = await self.api_client.call_api(
|
@@ -2102,7 +2102,7 @@ async def search_stateless_runs_with_http_info(
|
2102 | 2102 | _content_type: Optional[StrictStr] = None,
|
2103 | 2103 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
2104 | 2104 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2105 |
| - ) -> ApiResponse[List[Run]]: |
| 2105 | + ) -> ApiResponse[List[RunStateless]]: |
2106 | 2106 | """Search Stateless Runs
|
2107 | 2107 |
|
2108 | 2108 | Search for stateless run. This endpoint also functions as the endpoint to list all stateless Runs.
|
@@ -2140,7 +2140,7 @@ async def search_stateless_runs_with_http_info(
|
2140 | 2140 | )
|
2141 | 2141 |
|
2142 | 2142 | _response_types_map: Dict[str, Optional[str]] = {
|
2143 |
| - '200': "List[Run]", |
| 2143 | + '200': "List[RunStateless]", |
2144 | 2144 | '422': "str",
|
2145 | 2145 | }
|
2146 | 2146 | response_data = await self.api_client.call_api(
|
@@ -2208,7 +2208,7 @@ async def search_stateless_runs_without_preload_content(
|
2208 | 2208 | )
|
2209 | 2209 |
|
2210 | 2210 | _response_types_map: Dict[str, Optional[str]] = {
|
2211 |
| - '200': "List[Run]", |
| 2211 | + '200': "List[RunStateless]", |
2212 | 2212 | '422': "str",
|
2213 | 2213 | }
|
2214 | 2214 | response_data = await self.api_client.call_api(
|
@@ -2577,7 +2577,7 @@ async def wait_for_stateless_run_output(
|
2577 | 2577 | _content_type: Optional[StrictStr] = None,
|
2578 | 2578 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
2579 | 2579 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2580 |
| - ) -> RunWaitResponse: |
| 2580 | + ) -> RunWaitResponseStateless: |
2581 | 2581 | """Blocks waiting for the result of the run.
|
2582 | 2582 |
|
2583 | 2583 | Blocks waiting for the result of the run. The output can be: * an interrupt, this happens when the agent run status is `interrupted` * the final result of the run, this happens when the agent run status is `success` * an error, this happens when the agent run status is `error` or `timeout` This call blocks until the output is available.
|
@@ -2615,7 +2615,7 @@ async def wait_for_stateless_run_output(
|
2615 | 2615 | )
|
2616 | 2616 |
|
2617 | 2617 | _response_types_map: Dict[str, Optional[str]] = {
|
2618 |
| - '200': "RunWaitResponse", |
| 2618 | + '200': "RunWaitResponseStateless", |
2619 | 2619 | '404': "str",
|
2620 | 2620 | '422': "str",
|
2621 | 2621 | }
|
@@ -2646,7 +2646,7 @@ async def wait_for_stateless_run_output_with_http_info(
|
2646 | 2646 | _content_type: Optional[StrictStr] = None,
|
2647 | 2647 | _headers: Optional[Dict[StrictStr, Any]] = None,
|
2648 | 2648 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2649 |
| - ) -> ApiResponse[RunWaitResponse]: |
| 2649 | + ) -> ApiResponse[RunWaitResponseStateless]: |
2650 | 2650 | """Blocks waiting for the result of the run.
|
2651 | 2651 |
|
2652 | 2652 | Blocks waiting for the result of the run. The output can be: * an interrupt, this happens when the agent run status is `interrupted` * the final result of the run, this happens when the agent run status is `success` * an error, this happens when the agent run status is `error` or `timeout` This call blocks until the output is available.
|
@@ -2684,7 +2684,7 @@ async def wait_for_stateless_run_output_with_http_info(
|
2684 | 2684 | )
|
2685 | 2685 |
|
2686 | 2686 | _response_types_map: Dict[str, Optional[str]] = {
|
2687 |
| - '200': "RunWaitResponse", |
| 2687 | + '200': "RunWaitResponseStateless", |
2688 | 2688 | '404': "str",
|
2689 | 2689 | '422': "str",
|
2690 | 2690 | }
|
@@ -2753,7 +2753,7 @@ async def wait_for_stateless_run_output_without_preload_content(
|
2753 | 2753 | )
|
2754 | 2754 |
|
2755 | 2755 | _response_types_map: Dict[str, Optional[str]] = {
|
2756 |
| - '200': "RunWaitResponse", |
| 2756 | + '200': "RunWaitResponseStateless", |
2757 | 2757 | '404': "str",
|
2758 | 2758 | '422': "str",
|
2759 | 2759 | }
|
|
0 commit comments