From 059f94b8676ebcfa28a0f049c4bd8450671cb838 Mon Sep 17 00:00:00 2001 From: Diwank Tomer Date: Mon, 22 Jul 2024 11:13:56 -0400 Subject: [PATCH] wip Signed-off-by: Diwank Tomer --- agents-api/agents_api/autogen/Entries.py | 2 +- agents-api/agents_api/autogen/Executions.py | 2 +- agents-api/agents_api/autogen/Tools.py | 32 ++--- ...rate_1721576813_extended_tool_relations.py | 2 +- ...igrate_1721609661_task_tool_ref_by_name.py | 3 +- ...21609675_multi_agent_multi_user_session.py | 2 +- agents-api/poetry.lock | 20 ++-- sdks/python/poetry.lock | 113 +++++++++--------- sdks/ts/src/api/index.ts | 22 ---- sdks/ts/src/api/models/Agent.ts | 44 ------- sdks/ts/src/api/models/Doc.ts | 22 ---- sdks/ts/src/api/models/Entry.ts | 30 ----- sdks/ts/src/api/models/Execution.ts | 36 ------ .../src/api/models/Executions_Transition.ts | 2 +- sdks/ts/src/api/models/History.ts | 16 --- sdks/ts/src/api/models/JobStatus.ts | 38 ------ sdks/ts/src/api/models/Session.ts | 52 -------- sdks/ts/src/api/models/Task.ts | 9 -- sdks/ts/src/api/models/Tool.ts | 30 ----- .../src/api/models/Tools_CreateToolRequest.ts | 5 +- sdks/ts/src/api/models/Tools_FunctionDef.ts | 8 +- .../src/api/models/Tools_FunctionDefUpdate.ts | 8 +- .../src/api/models/Tools_PatchToolRequest.ts | 5 +- sdks/ts/src/api/models/Tools_Tool.ts | 5 +- .../src/api/models/Tools_UpdateToolRequest.ts | 5 +- sdks/ts/src/api/models/Transition.ts | 21 ---- sdks/ts/src/api/models/User.ts | 26 ---- sdks/ts/src/api/schemas/$Agent.ts | 89 -------------- sdks/ts/src/api/schemas/$Doc.ts | 57 --------- sdks/ts/src/api/schemas/$Entry.ts | 62 ---------- sdks/ts/src/api/schemas/$Execution.ts | 61 ---------- .../src/api/schemas/$Executions_Transition.ts | 2 +- sdks/ts/src/api/schemas/$History.ts | 39 ------ sdks/ts/src/api/schemas/$JobStatus.ts | 69 ----------- sdks/ts/src/api/schemas/$Session.ts | 107 ----------------- sdks/ts/src/api/schemas/$Task.ts | 13 -- sdks/ts/src/api/schemas/$Tool.ts | 59 --------- .../api/schemas/$Tools_CreateToolRequest.ts | 11 +- sdks/ts/src/api/schemas/$Tools_FunctionDef.ts | 14 +-- .../api/schemas/$Tools_FunctionDefUpdate.ts | 12 +- .../api/schemas/$Tools_PatchToolRequest.ts | 11 +- sdks/ts/src/api/schemas/$Tools_Tool.ts | 11 +- .../api/schemas/$Tools_UpdateToolRequest.ts | 11 +- sdks/ts/src/api/schemas/$Transition.ts | 72 ----------- sdks/ts/src/api/schemas/$User.ts | 53 -------- 45 files changed, 154 insertions(+), 1159 deletions(-) delete mode 100644 sdks/ts/src/api/models/Agent.ts delete mode 100644 sdks/ts/src/api/models/Doc.ts delete mode 100644 sdks/ts/src/api/models/Entry.ts delete mode 100644 sdks/ts/src/api/models/Execution.ts delete mode 100644 sdks/ts/src/api/models/History.ts delete mode 100644 sdks/ts/src/api/models/JobStatus.ts delete mode 100644 sdks/ts/src/api/models/Session.ts delete mode 100644 sdks/ts/src/api/models/Task.ts delete mode 100644 sdks/ts/src/api/models/Tool.ts delete mode 100644 sdks/ts/src/api/models/Transition.ts delete mode 100644 sdks/ts/src/api/models/User.ts delete mode 100644 sdks/ts/src/api/schemas/$Agent.ts delete mode 100644 sdks/ts/src/api/schemas/$Doc.ts delete mode 100644 sdks/ts/src/api/schemas/$Entry.ts delete mode 100644 sdks/ts/src/api/schemas/$Execution.ts delete mode 100644 sdks/ts/src/api/schemas/$History.ts delete mode 100644 sdks/ts/src/api/schemas/$JobStatus.ts delete mode 100644 sdks/ts/src/api/schemas/$Session.ts delete mode 100644 sdks/ts/src/api/schemas/$Task.ts delete mode 100644 sdks/ts/src/api/schemas/$Tool.ts delete mode 100644 sdks/ts/src/api/schemas/$Transition.ts delete mode 100644 sdks/ts/src/api/schemas/$User.ts diff --git a/agents-api/agents_api/autogen/Entries.py b/agents-api/agents_api/autogen/Entries.py index a82dbc6a6..36d0132c7 100644 --- a/agents-api/agents_api/autogen/Entries.py +++ b/agents-api/agents_api/autogen/Entries.py @@ -6,7 +6,7 @@ from typing import Annotated, Literal from uuid import UUID -from pydantic import AnyUrl, AwareDatetime, BaseModel, ConfigDict, Field +from pydantic import AnyUrl, AwareDatetime, BaseModel, ConfigDict, Field, RootModel from .Tools import ChosenToolCall, Tool, ToolResponse diff --git a/agents-api/agents_api/autogen/Executions.py b/agents-api/agents_api/autogen/Executions.py index 6cfec05f5..151cd7cde 100644 --- a/agents-api/agents_api/autogen/Executions.py +++ b/agents-api/agents_api/autogen/Executions.py @@ -87,7 +87,7 @@ class Transition(BaseModel): Field(json_schema_extra={"readOnly": True}), ] execution_id: Annotated[UUID, Field(json_schema_extra={"readOnly": True})] - outputs: Annotated[dict[str, Any], Field(json_schema_extra={"readOnly": True})] + output: Annotated[dict[str, Any], Field(json_schema_extra={"readOnly": True})] current: Annotated[list, Field(json_schema_extra={"readOnly": True})] next: Annotated[list | None, Field(json_schema_extra={"readOnly": True})] id: Annotated[UUID, Field(json_schema_extra={"readOnly": True})] diff --git a/agents-api/agents_api/autogen/Tools.py b/agents-api/agents_api/autogen/Tools.py index 4cab6b25b..b7b4aa6b4 100644 --- a/agents-api/agents_api/autogen/Tools.py +++ b/agents-api/agents_api/autogen/Tools.py @@ -40,9 +40,9 @@ class CreateToolRequest(BaseModel): """ Whether this tool is a `function`, `api_call`, `system` etc. (Only `function` tool supported right now) """ - background: bool = False + name: Annotated[str, Field(pattern="^[^\\W0-9]\\w*$")] """ - The tool should be run in the background (not supported at the moment) + Name of the tool (must be unique for this agent and a valid python identifier string ) """ function: FunctionDef | None = None integration: Any | None = None @@ -72,10 +72,6 @@ class FunctionDef(BaseModel): """ DO NOT USE: This will be overriden by the tool name. Here only for compatibility reasons. """ - parameters: dict[str, Any] - """ - The parameters the function accepts - """ description: Annotated[ str | None, Field( @@ -86,6 +82,10 @@ class FunctionDef(BaseModel): """ Description of the function """ + parameters: dict[str, Any] + """ + The parameters the function accepts + """ class FunctionDefUpdate(BaseModel): @@ -100,10 +100,6 @@ class FunctionDefUpdate(BaseModel): """ DO NOT USE: This will be overriden by the tool name. Here only for compatibility reasons. """ - parameters: dict[str, Any] | None = None - """ - The parameters the function accepts - """ description: Annotated[ str | None, Field( @@ -114,6 +110,10 @@ class FunctionDefUpdate(BaseModel): """ Description of the function """ + parameters: dict[str, Any] | None = None + """ + The parameters the function accepts + """ class PatchToolRequest(BaseModel): @@ -128,9 +128,9 @@ class PatchToolRequest(BaseModel): """ Whether this tool is a `function`, `api_call`, `system` etc. (Only `function` tool supported right now) """ - background: bool = False + name: Annotated[str | None, Field(None, pattern="^[^\\W0-9]\\w*$")] """ - The tool should be run in the background (not supported at the moment) + Name of the tool (must be unique for this agent and a valid python identifier string ) """ function: FunctionDefUpdate | None = None integration: Any | None = None @@ -146,9 +146,9 @@ class Tool(BaseModel): """ Whether this tool is a `function`, `api_call`, `system` etc. (Only `function` tool supported right now) """ - background: bool = False + name: Annotated[str, Field(pattern="^[^\\W0-9]\\w*$")] """ - The tool should be run in the background (not supported at the moment) + Name of the tool (must be unique for this agent and a valid python identifier string ) """ function: FunctionDef | None = None integration: Any | None = None @@ -188,9 +188,9 @@ class UpdateToolRequest(BaseModel): """ Whether this tool is a `function`, `api_call`, `system` etc. (Only `function` tool supported right now) """ - background: bool = False + name: Annotated[str, Field(pattern="^[^\\W0-9]\\w*$")] """ - The tool should be run in the background (not supported at the moment) + Name of the tool (must be unique for this agent and a valid python identifier string ) """ function: FunctionDef | None = None integration: Any | None = None diff --git a/agents-api/migrations/migrate_1721576813_extended_tool_relations.py b/agents-api/migrations/migrate_1721576813_extended_tool_relations.py index 1798b598c..ad7315ea5 100644 --- a/agents-api/migrations/migrate_1721576813_extended_tool_relations.py +++ b/agents-api/migrations/migrate_1721576813_extended_tool_relations.py @@ -1,4 +1,4 @@ -#/usr/bin/env python3 +# /usr/bin/env python3 MIGRATION_ID = "extended_tool_relations" CREATED_AT = 1721576813.383905 diff --git a/agents-api/migrations/migrate_1721609661_task_tool_ref_by_name.py b/agents-api/migrations/migrate_1721609661_task_tool_ref_by_name.py index 466ad511c..9e19d81d3 100644 --- a/agents-api/migrations/migrate_1721609661_task_tool_ref_by_name.py +++ b/agents-api/migrations/migrate_1721609661_task_tool_ref_by_name.py @@ -1,10 +1,9 @@ -#/usr/bin/env python3 +# /usr/bin/env python3 MIGRATION_ID = "task_tool_ref_by_name" CREATED_AT = 1721609661.768934 - # - add metadata # - add inherit_tools bool # - rename tools_available to tools diff --git a/agents-api/migrations/migrate_1721609675_multi_agent_multi_user_session.py b/agents-api/migrations/migrate_1721609675_multi_agent_multi_user_session.py index e6a02b45c..6b144fca3 100644 --- a/agents-api/migrations/migrate_1721609675_multi_agent_multi_user_session.py +++ b/agents-api/migrations/migrate_1721609675_multi_agent_multi_user_session.py @@ -1,4 +1,4 @@ -#/usr/bin/env python3 +# /usr/bin/env python3 MIGRATION_ID = "multi_agent_multi_user_session" CREATED_AT = 1721609675.213755 diff --git a/agents-api/poetry.lock b/agents-api/poetry.lock index 0dfd79b13..552e8f6ec 100644 --- a/agents-api/poetry.lock +++ b/agents-api/poetry.lock @@ -3288,13 +3288,13 @@ files = [ [[package]] name = "openai" -version = "1.36.0" +version = "1.36.1" description = "The official Python library for the openai API" optional = false python-versions = ">=3.7.1" files = [ - {file = "openai-1.36.0-py3-none-any.whl", hash = "sha256:82b74ded1fe2ea94abb19a007178bc143675f1b6903cebd63e2968d654bb0a6f"}, - {file = "openai-1.36.0.tar.gz", hash = "sha256:a124baf0e1657d6156e12248642f88489cd030be8655b69bc1c13eb50e71a93d"}, + {file = "openai-1.36.1-py3-none-any.whl", hash = "sha256:d399b9d476dbbc167aceaac6bc6ed0b2e2bb6c9e189c7f7047f822743ae62e64"}, + {file = "openai-1.36.1.tar.gz", hash = "sha256:41be9e0302e95dba8a9374b885c5cb1cec2202816a70b98736fee25a2cadd1f2"}, ] [package.dependencies] @@ -3718,13 +3718,13 @@ files = [ [[package]] name = "pure-eval" -version = "0.2.2" +version = "0.2.3" description = "Safely evaluate AST nodes without side effects" optional = false python-versions = "*" files = [ - {file = "pure_eval-0.2.2-py3-none-any.whl", hash = "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350"}, - {file = "pure_eval-0.2.2.tar.gz", hash = "sha256:2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3"}, + {file = "pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0"}, + {file = "pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42"}, ] [package.extras] @@ -4768,19 +4768,19 @@ tornado = ["tornado (>=5)"] [[package]] name = "setuptools" -version = "71.0.4" +version = "71.1.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-71.0.4-py3-none-any.whl", hash = "sha256:ed2feca703be3bdbd94e6bb17365d91c6935c6b2a8d0bb09b66a2c435ba0b1a5"}, - {file = "setuptools-71.0.4.tar.gz", hash = "sha256:48297e5d393a62b7cb2a10b8f76c63a73af933bd809c9e0d0d6352a1a0135dd8"}, + {file = "setuptools-71.1.0-py3-none-any.whl", hash = "sha256:33874fdc59b3188304b2e7c80d9029097ea31627180896fb549c578ceb8a0855"}, + {file = "setuptools-71.1.0.tar.gz", hash = "sha256:032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936"}, ] [package.extras] core = ["importlib-metadata (>=6)", "importlib-resources (>=5.10.2)", "jaraco.text (>=3.7)", "more-itertools (>=8.8)", "ordered-set (>=3.1.1)", "packaging (>=24)", "platformdirs (>=2.6.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test", "mypy (==1.10.0)", "packaging (>=23.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (<0.4)", "pytest-ruff (>=0.2.1)", "pytest-ruff (>=0.3.2)", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test", "mypy (==1.11.*)", "packaging (>=23.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (<0.4)", "pytest-ruff (>=0.2.1)", "pytest-ruff (>=0.3.2)", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] [[package]] name = "shapely" diff --git a/sdks/python/poetry.lock b/sdks/python/poetry.lock index f1302f21e..e78f954ed 100644 --- a/sdks/python/poetry.lock +++ b/sdks/python/poetry.lock @@ -1612,67 +1612,67 @@ test = ["pytest", "pytest-console-scripts", "pytest-jupyter", "pytest-tornasync" [[package]] name = "numpy" -version = "2.0.0" +version = "2.0.1" description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.9" files = [ - {file = "numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:04494f6ec467ccb5369d1808570ae55f6ed9b5809d7f035059000a37b8d7e86f"}, - {file = "numpy-2.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2635dbd200c2d6faf2ef9a0d04f0ecc6b13b3cad54f7c67c61155138835515d2"}, - {file = "numpy-2.0.0-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:0a43f0974d501842866cc83471bdb0116ba0dffdbaac33ec05e6afed5b615238"}, - {file = "numpy-2.0.0-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:8d83bb187fb647643bd56e1ae43f273c7f4dbcdf94550d7938cfc32566756514"}, - {file = "numpy-2.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79e843d186c8fb1b102bef3e2bc35ef81160ffef3194646a7fdd6a73c6b97196"}, - {file = "numpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d7696c615765091cc5093f76fd1fa069870304beaccfd58b5dcc69e55ef49c1"}, - {file = "numpy-2.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b4c76e3d4c56f145d41b7b6751255feefae92edbc9a61e1758a98204200f30fc"}, - {file = "numpy-2.0.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:acd3a644e4807e73b4e1867b769fbf1ce8c5d80e7caaef0d90dcdc640dfc9787"}, - {file = "numpy-2.0.0-cp310-cp310-win32.whl", hash = "sha256:cee6cc0584f71adefe2c908856ccc98702baf95ff80092e4ca46061538a2ba98"}, - {file = "numpy-2.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:ed08d2703b5972ec736451b818c2eb9da80d66c3e84aed1deeb0c345fefe461b"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ad0c86f3455fbd0de6c31a3056eb822fc939f81b1618f10ff3406971893b62a5"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e7f387600d424f91576af20518334df3d97bc76a300a755f9a8d6e4f5cadd289"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:34f003cb88b1ba38cb9a9a4a3161c1604973d7f9d5552c38bc2f04f829536609"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:b6f6a8f45d0313db07d6d1d37bd0b112f887e1369758a5419c0370ba915b3871"}, - {file = "numpy-2.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f64641b42b2429f56ee08b4f427a4d2daf916ec59686061de751a55aafa22e4"}, - {file = "numpy-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7039a136017eaa92c1848152827e1424701532ca8e8967fe480fe1569dae581"}, - {file = "numpy-2.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:46e161722e0f619749d1cd892167039015b2c2817296104487cd03ed4a955995"}, - {file = "numpy-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0e50842b2295ba8414c8c1d9d957083d5dfe9e16828b37de883f51fc53c4016f"}, - {file = "numpy-2.0.0-cp311-cp311-win32.whl", hash = "sha256:2ce46fd0b8a0c947ae047d222f7136fc4d55538741373107574271bc00e20e8f"}, - {file = "numpy-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:fbd6acc766814ea6443628f4e6751d0da6593dae29c08c0b2606164db026970c"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:354f373279768fa5a584bac997de6a6c9bc535c482592d7a813bb0c09be6c76f"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4d2f62e55a4cd9c58c1d9a1c9edaedcd857a73cb6fda875bf79093f9d9086f85"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:1e72728e7501a450288fc8e1f9ebc73d90cfd4671ebbd631f3e7857c39bd16f2"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:84554fc53daa8f6abf8e8a66e076aff6ece62de68523d9f665f32d2fc50fd66e"}, - {file = "numpy-2.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c73aafd1afca80afecb22718f8700b40ac7cab927b8abab3c3e337d70e10e5a2"}, - {file = "numpy-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49d9f7d256fbc804391a7f72d4a617302b1afac1112fac19b6c6cec63fe7fe8a"}, - {file = "numpy-2.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0ec84b9ba0654f3b962802edc91424331f423dcf5d5f926676e0150789cb3d95"}, - {file = "numpy-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:feff59f27338135776f6d4e2ec7aeeac5d5f7a08a83e80869121ef8164b74af9"}, - {file = "numpy-2.0.0-cp312-cp312-win32.whl", hash = "sha256:c5a59996dc61835133b56a32ebe4ef3740ea5bc19b3983ac60cc32be5a665d54"}, - {file = "numpy-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:a356364941fb0593bb899a1076b92dfa2029f6f5b8ba88a14fd0984aaf76d0df"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e61155fae27570692ad1d327e81c6cf27d535a5d7ef97648a17d922224b216de"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4554eb96f0fd263041baf16cf0881b3f5dafae7a59b1049acb9540c4d57bc8cb"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:903703372d46bce88b6920a0cd86c3ad82dae2dbef157b5fc01b70ea1cfc430f"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:3e8e01233d57639b2e30966c63d36fcea099d17c53bf424d77f088b0f4babd86"}, - {file = "numpy-2.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cde1753efe513705a0c6d28f5884e22bdc30438bf0085c5c486cdaff40cd67a"}, - {file = "numpy-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:821eedb7165ead9eebdb569986968b541f9908979c2da8a4967ecac4439bae3d"}, - {file = "numpy-2.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9a1712c015831da583b21c5bfe15e8684137097969c6d22e8316ba66b5baabe4"}, - {file = "numpy-2.0.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9c27f0946a3536403efb0e1c28def1ae6730a72cd0d5878db38824855e3afc44"}, - {file = "numpy-2.0.0-cp39-cp39-win32.whl", hash = "sha256:63b92c512d9dbcc37f9d81b123dec99fdb318ba38c8059afc78086fe73820275"}, - {file = "numpy-2.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:3f6bed7f840d44c08ebdb73b1825282b801799e325bcbdfa6bc5c370e5aecc65"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:9416a5c2e92ace094e9f0082c5fd473502c91651fb896bc17690d6fc475128d6"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:17067d097ed036636fa79f6a869ac26df7db1ba22039d962422506640314933a"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:38ecb5b0582cd125f67a629072fed6f83562d9dd04d7e03256c9829bdec027ad"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:cef04d068f5fb0518a77857953193b6bb94809a806bd0a14983a8f12ada060c9"}, - {file = "numpy-2.0.0.tar.gz", hash = "sha256:cf5d1c9e6837f8af9f92b6bd3e86d513cdc11f60fd62185cc49ec7d1aba34864"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0fbb536eac80e27a2793ffd787895242b7f18ef792563d742c2d673bfcb75134"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:69ff563d43c69b1baba77af455dd0a839df8d25e8590e79c90fcbe1499ebde42"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:1b902ce0e0a5bb7704556a217c4f63a7974f8f43e090aff03fcf262e0b135e02"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:f1659887361a7151f89e79b276ed8dff3d75877df906328f14d8bb40bb4f5101"}, + {file = "numpy-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4658c398d65d1b25e1760de3157011a80375da861709abd7cef3bad65d6543f9"}, + {file = "numpy-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4127d4303b9ac9f94ca0441138acead39928938660ca58329fe156f84b9f3015"}, + {file = "numpy-2.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e5eeca8067ad04bc8a2a8731183d51d7cbaac66d86085d5f4766ee6bf19c7f87"}, + {file = "numpy-2.0.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9adbd9bb520c866e1bfd7e10e1880a1f7749f1f6e5017686a5fbb9b72cf69f82"}, + {file = "numpy-2.0.1-cp310-cp310-win32.whl", hash = "sha256:7b9853803278db3bdcc6cd5beca37815b133e9e77ff3d4733c247414e78eb8d1"}, + {file = "numpy-2.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:81b0893a39bc5b865b8bf89e9ad7807e16717f19868e9d234bdaf9b1f1393868"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:75b4e316c5902d8163ef9d423b1c3f2f6252226d1aa5cd8a0a03a7d01ffc6268"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6e4eeb6eb2fced786e32e6d8df9e755ce5be920d17f7ce00bc38fcde8ccdbf9e"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:a1e01dcaab205fbece13c1410253a9eea1b1c9b61d237b6fa59bcc46e8e89343"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:a8fc2de81ad835d999113ddf87d1ea2b0f4704cbd947c948d2f5513deafe5a7b"}, + {file = "numpy-2.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5a3d94942c331dd4e0e1147f7a8699a4aa47dffc11bf8a1523c12af8b2e91bbe"}, + {file = "numpy-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15eb4eca47d36ec3f78cde0a3a2ee24cf05ca7396ef808dda2c0ddad7c2bde67"}, + {file = "numpy-2.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:b83e16a5511d1b1f8a88cbabb1a6f6a499f82c062a4251892d9ad5d609863fb7"}, + {file = "numpy-2.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1f87fec1f9bc1efd23f4227becff04bd0e979e23ca50cc92ec88b38489db3b55"}, + {file = "numpy-2.0.1-cp311-cp311-win32.whl", hash = "sha256:36d3a9405fd7c511804dc56fc32974fa5533bdeb3cd1604d6b8ff1d292b819c4"}, + {file = "numpy-2.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:08458fbf403bff5e2b45f08eda195d4b0c9b35682311da5a5a0a0925b11b9bd8"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:6bf4e6f4a2a2e26655717a1983ef6324f2664d7011f6ef7482e8c0b3d51e82ac"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6fddc5fe258d3328cd8e3d7d3e02234c5d70e01ebe377a6ab92adb14039cb4"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:5daab361be6ddeb299a918a7c0864fa8618af66019138263247af405018b04e1"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:ea2326a4dca88e4a274ba3a4405eb6c6467d3ffbd8c7d38632502eaae3820587"}, + {file = "numpy-2.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:529af13c5f4b7a932fb0e1911d3a75da204eff023ee5e0e79c1751564221a5c8"}, + {file = "numpy-2.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6790654cb13eab303d8402354fabd47472b24635700f631f041bd0b65e37298a"}, + {file = "numpy-2.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:cbab9fc9c391700e3e1287666dfd82d8666d10e69a6c4a09ab97574c0b7ee0a7"}, + {file = "numpy-2.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:99d0d92a5e3613c33a5f01db206a33f8fdf3d71f2912b0de1739894668b7a93b"}, + {file = "numpy-2.0.1-cp312-cp312-win32.whl", hash = "sha256:173a00b9995f73b79eb0191129f2455f1e34c203f559dd118636858cc452a1bf"}, + {file = "numpy-2.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:bb2124fdc6e62baae159ebcfa368708867eb56806804d005860b6007388df171"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bfc085b28d62ff4009364e7ca34b80a9a080cbd97c2c0630bb5f7f770dae9414"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8fae4ebbf95a179c1156fab0b142b74e4ba4204c87bde8d3d8b6f9c34c5825ef"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:72dc22e9ec8f6eaa206deb1b1355eb2e253899d7347f5e2fae5f0af613741d06"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:ec87f5f8aca726117a1c9b7083e7656a9d0d606eec7299cc067bb83d26f16e0c"}, + {file = "numpy-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f682ea61a88479d9498bf2091fdcd722b090724b08b31d63e022adc063bad59"}, + {file = "numpy-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8efc84f01c1cd7e34b3fb310183e72fcdf55293ee736d679b6d35b35d80bba26"}, + {file = "numpy-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3fdabe3e2a52bc4eff8dc7a5044342f8bd9f11ef0934fcd3289a788c0eb10018"}, + {file = "numpy-2.0.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:24a0e1befbfa14615b49ba9659d3d8818a0f4d8a1c5822af8696706fbda7310c"}, + {file = "numpy-2.0.1-cp39-cp39-win32.whl", hash = "sha256:f9cf5ea551aec449206954b075db819f52adc1638d46a6738253a712d553c7b4"}, + {file = "numpy-2.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:e9e81fa9017eaa416c056e5d9e71be93d05e2c3c2ab308d23307a8bc4443c368"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:61728fba1e464f789b11deb78a57805c70b2ed02343560456190d0501ba37b0f"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:12f5d865d60fb9734e60a60f1d5afa6d962d8d4467c120a1c0cda6eb2964437d"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eacf3291e263d5a67d8c1a581a8ebbcfd6447204ef58828caf69a5e3e8c75990"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2c3a346ae20cfd80b6cfd3e60dc179963ef2ea58da5ec074fd3d9e7a1e7ba97f"}, + {file = "numpy-2.0.1.tar.gz", hash = "sha256:485b87235796410c3519a699cfe1faab097e509e90ebb05dcd098db2ae87e7b3"}, ] [[package]] name = "openai" -version = "1.36.0" +version = "1.36.1" description = "The official Python library for the openai API" optional = false python-versions = ">=3.7.1" files = [ - {file = "openai-1.36.0-py3-none-any.whl", hash = "sha256:82b74ded1fe2ea94abb19a007178bc143675f1b6903cebd63e2968d654bb0a6f"}, - {file = "openai-1.36.0.tar.gz", hash = "sha256:a124baf0e1657d6156e12248642f88489cd030be8655b69bc1c13eb50e71a93d"}, + {file = "openai-1.36.1-py3-none-any.whl", hash = "sha256:d399b9d476dbbc167aceaac6bc6ed0b2e2bb6c9e189c7f7047f822743ae62e64"}, + {file = "openai-1.36.1.tar.gz", hash = "sha256:41be9e0302e95dba8a9374b885c5cb1cec2202816a70b98736fee25a2cadd1f2"}, ] [package.dependencies] @@ -1996,13 +1996,13 @@ files = [ [[package]] name = "pure-eval" -version = "0.2.2" +version = "0.2.3" description = "Safely evaluate AST nodes without side effects" optional = false python-versions = "*" files = [ - {file = "pure_eval-0.2.2-py3-none-any.whl", hash = "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350"}, - {file = "pure_eval-0.2.2.tar.gz", hash = "sha256:2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3"}, + {file = "pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0"}, + {file = "pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42"}, ] [package.extras] @@ -2386,7 +2386,6 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -2752,19 +2751,19 @@ win32 = ["pywin32"] [[package]] name = "setuptools" -version = "71.0.4" +version = "71.1.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-71.0.4-py3-none-any.whl", hash = "sha256:ed2feca703be3bdbd94e6bb17365d91c6935c6b2a8d0bb09b66a2c435ba0b1a5"}, - {file = "setuptools-71.0.4.tar.gz", hash = "sha256:48297e5d393a62b7cb2a10b8f76c63a73af933bd809c9e0d0d6352a1a0135dd8"}, + {file = "setuptools-71.1.0-py3-none-any.whl", hash = "sha256:33874fdc59b3188304b2e7c80d9029097ea31627180896fb549c578ceb8a0855"}, + {file = "setuptools-71.1.0.tar.gz", hash = "sha256:032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936"}, ] [package.extras] core = ["importlib-metadata (>=6)", "importlib-resources (>=5.10.2)", "jaraco.text (>=3.7)", "more-itertools (>=8.8)", "ordered-set (>=3.1.1)", "packaging (>=24)", "platformdirs (>=2.6.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test", "mypy (==1.10.0)", "packaging (>=23.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (<0.4)", "pytest-ruff (>=0.2.1)", "pytest-ruff (>=0.3.2)", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test", "mypy (==1.11.*)", "packaging (>=23.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (<0.4)", "pytest-ruff (>=0.2.1)", "pytest-ruff (>=0.3.2)", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] [[package]] name = "shellingham" diff --git a/sdks/ts/src/api/index.ts b/sdks/ts/src/api/index.ts index 331500b4c..05bdd33a7 100644 --- a/sdks/ts/src/api/index.ts +++ b/sdks/ts/src/api/index.ts @@ -10,7 +10,6 @@ export { CancelablePromise, CancelError } from "./core/CancelablePromise"; export { OpenAPI } from "./core/OpenAPI"; export type { OpenAPIConfig } from "./core/OpenAPI"; -export type { Agent } from "./models/Agent"; export type { Agents_Agent } from "./models/Agents_Agent"; export type { Agents_CreateAgentRequest } from "./models/Agents_CreateAgentRequest"; export type { Agents_CreateOrUpdateAgentRequest } from "./models/Agents_CreateOrUpdateAgentRequest"; @@ -37,7 +36,6 @@ export type { Common_ResourceUpdatedResponse } from "./models/Common_ResourceUpd export type { Common_toolRef } from "./models/Common_toolRef"; export type { Common_uuid } from "./models/Common_uuid"; export type { Common_validPythonIdentifier } from "./models/Common_validPythonIdentifier"; -export type { Doc } from "./models/Doc"; export type { Docs_Doc } from "./models/Docs_Doc"; export type { Docs_DocOwner } from "./models/Docs_DocOwner"; export type { Docs_DocReference } from "./models/Docs_DocReference"; @@ -57,8 +55,6 @@ export type { Entries_ImageDetail } from "./models/Entries_ImageDetail"; export type { Entries_ImageURL } from "./models/Entries_ImageURL"; export type { Entries_InputChatMLMessage } from "./models/Entries_InputChatMLMessage"; export type { Entries_Relation } from "./models/Entries_Relation"; -export type { Entry } from "./models/Entry"; -export type { Execution } from "./models/Execution"; export type { Executions_CreateExecutionRequest } from "./models/Executions_CreateExecutionRequest"; export type { Executions_Execution } from "./models/Executions_Execution"; export type { Executions_ResumeExecutionRequest } from "./models/Executions_ResumeExecutionRequest"; @@ -66,11 +62,8 @@ export type { Executions_StopExecutionRequest } from "./models/Executions_StopEx export type { Executions_TaskTokenResumeExecutionRequest } from "./models/Executions_TaskTokenResumeExecutionRequest"; export type { Executions_Transition } from "./models/Executions_Transition"; export type { Executions_UpdateExecutionRequest } from "./models/Executions_UpdateExecutionRequest"; -export type { History } from "./models/History"; export type { Jobs_JobState } from "./models/Jobs_JobState"; export type { Jobs_JobStatus } from "./models/Jobs_JobStatus"; -export type { JobStatus } from "./models/JobStatus"; -export type { Session } from "./models/Session"; export type { Sessions_ContextOverflowType } from "./models/Sessions_ContextOverflowType"; export type { Sessions_CreateOrUpdateSessionRequest } from "./models/Sessions_CreateOrUpdateSessionRequest"; export type { Sessions_CreateSessionRequest } from "./models/Sessions_CreateSessionRequest"; @@ -83,7 +76,6 @@ export type { Sessions_SingleAgentMultiUserSession } from "./models/Sessions_Sin export type { Sessions_SingleAgentNoUserSession } from "./models/Sessions_SingleAgentNoUserSession"; export type { Sessions_SingleAgentSingleUserSession } from "./models/Sessions_SingleAgentSingleUserSession"; export type { Sessions_UpdateSessionRequest } from "./models/Sessions_UpdateSessionRequest"; -export type { Task } from "./models/Task"; export type { Tasks_CreateOrUpdateTaskRequest } from "./models/Tasks_CreateOrUpdateTaskRequest"; export type { Tasks_CreateTaskRequest } from "./models/Tasks_CreateTaskRequest"; export type { Tasks_ErrorWorkflowStep } from "./models/Tasks_ErrorWorkflowStep"; @@ -96,7 +88,6 @@ export type { Tasks_ToolCallStep } from "./models/Tasks_ToolCallStep"; export type { Tasks_UpdateTaskRequest } from "./models/Tasks_UpdateTaskRequest"; export type { Tasks_WorkflowStep } from "./models/Tasks_WorkflowStep"; export type { Tasks_YieldStep } from "./models/Tasks_YieldStep"; -export type { Tool } from "./models/Tool"; export type { Tools_ChosenFunctionCall } from "./models/Tools_ChosenFunctionCall"; export type { Tools_ChosenToolCall } from "./models/Tools_ChosenToolCall"; export type { Tools_CreateToolRequest } from "./models/Tools_CreateToolRequest"; @@ -109,15 +100,12 @@ export type { Tools_Tool } from "./models/Tools_Tool"; export type { Tools_ToolResponse } from "./models/Tools_ToolResponse"; export type { Tools_ToolType } from "./models/Tools_ToolType"; export type { Tools_UpdateToolRequest } from "./models/Tools_UpdateToolRequest"; -export type { Transition } from "./models/Transition"; -export type { User } from "./models/User"; export type { Users_CreateOrUpdateUserRequest } from "./models/Users_CreateOrUpdateUserRequest"; export type { Users_CreateUserRequest } from "./models/Users_CreateUserRequest"; export type { Users_PatchUserRequest } from "./models/Users_PatchUserRequest"; export type { Users_UpdateUserRequest } from "./models/Users_UpdateUserRequest"; export type { Users_User } from "./models/Users_User"; -export { $Agent } from "./schemas/$Agent"; export { $Agents_Agent } from "./schemas/$Agents_Agent"; export { $Agents_CreateAgentRequest } from "./schemas/$Agents_CreateAgentRequest"; export { $Agents_CreateOrUpdateAgentRequest } from "./schemas/$Agents_CreateOrUpdateAgentRequest"; @@ -144,7 +132,6 @@ export { $Common_ResourceUpdatedResponse } from "./schemas/$Common_ResourceUpdat export { $Common_toolRef } from "./schemas/$Common_toolRef"; export { $Common_uuid } from "./schemas/$Common_uuid"; export { $Common_validPythonIdentifier } from "./schemas/$Common_validPythonIdentifier"; -export { $Doc } from "./schemas/$Doc"; export { $Docs_Doc } from "./schemas/$Docs_Doc"; export { $Docs_DocOwner } from "./schemas/$Docs_DocOwner"; export { $Docs_DocReference } from "./schemas/$Docs_DocReference"; @@ -164,8 +151,6 @@ export { $Entries_ImageDetail } from "./schemas/$Entries_ImageDetail"; export { $Entries_ImageURL } from "./schemas/$Entries_ImageURL"; export { $Entries_InputChatMLMessage } from "./schemas/$Entries_InputChatMLMessage"; export { $Entries_Relation } from "./schemas/$Entries_Relation"; -export { $Entry } from "./schemas/$Entry"; -export { $Execution } from "./schemas/$Execution"; export { $Executions_CreateExecutionRequest } from "./schemas/$Executions_CreateExecutionRequest"; export { $Executions_Execution } from "./schemas/$Executions_Execution"; export { $Executions_ResumeExecutionRequest } from "./schemas/$Executions_ResumeExecutionRequest"; @@ -173,11 +158,8 @@ export { $Executions_StopExecutionRequest } from "./schemas/$Executions_StopExec export { $Executions_TaskTokenResumeExecutionRequest } from "./schemas/$Executions_TaskTokenResumeExecutionRequest"; export { $Executions_Transition } from "./schemas/$Executions_Transition"; export { $Executions_UpdateExecutionRequest } from "./schemas/$Executions_UpdateExecutionRequest"; -export { $History } from "./schemas/$History"; export { $Jobs_JobState } from "./schemas/$Jobs_JobState"; export { $Jobs_JobStatus } from "./schemas/$Jobs_JobStatus"; -export { $JobStatus } from "./schemas/$JobStatus"; -export { $Session } from "./schemas/$Session"; export { $Sessions_ContextOverflowType } from "./schemas/$Sessions_ContextOverflowType"; export { $Sessions_CreateOrUpdateSessionRequest } from "./schemas/$Sessions_CreateOrUpdateSessionRequest"; export { $Sessions_CreateSessionRequest } from "./schemas/$Sessions_CreateSessionRequest"; @@ -190,7 +172,6 @@ export { $Sessions_SingleAgentMultiUserSession } from "./schemas/$Sessions_Singl export { $Sessions_SingleAgentNoUserSession } from "./schemas/$Sessions_SingleAgentNoUserSession"; export { $Sessions_SingleAgentSingleUserSession } from "./schemas/$Sessions_SingleAgentSingleUserSession"; export { $Sessions_UpdateSessionRequest } from "./schemas/$Sessions_UpdateSessionRequest"; -export { $Task } from "./schemas/$Task"; export { $Tasks_CreateOrUpdateTaskRequest } from "./schemas/$Tasks_CreateOrUpdateTaskRequest"; export { $Tasks_CreateTaskRequest } from "./schemas/$Tasks_CreateTaskRequest"; export { $Tasks_ErrorWorkflowStep } from "./schemas/$Tasks_ErrorWorkflowStep"; @@ -203,7 +184,6 @@ export { $Tasks_ToolCallStep } from "./schemas/$Tasks_ToolCallStep"; export { $Tasks_UpdateTaskRequest } from "./schemas/$Tasks_UpdateTaskRequest"; export { $Tasks_WorkflowStep } from "./schemas/$Tasks_WorkflowStep"; export { $Tasks_YieldStep } from "./schemas/$Tasks_YieldStep"; -export { $Tool } from "./schemas/$Tool"; export { $Tools_ChosenFunctionCall } from "./schemas/$Tools_ChosenFunctionCall"; export { $Tools_ChosenToolCall } from "./schemas/$Tools_ChosenToolCall"; export { $Tools_CreateToolRequest } from "./schemas/$Tools_CreateToolRequest"; @@ -216,8 +196,6 @@ export { $Tools_Tool } from "./schemas/$Tools_Tool"; export { $Tools_ToolResponse } from "./schemas/$Tools_ToolResponse"; export { $Tools_ToolType } from "./schemas/$Tools_ToolType"; export { $Tools_UpdateToolRequest } from "./schemas/$Tools_UpdateToolRequest"; -export { $Transition } from "./schemas/$Transition"; -export { $User } from "./schemas/$User"; export { $Users_CreateOrUpdateUserRequest } from "./schemas/$Users_CreateOrUpdateUserRequest"; export { $Users_CreateUserRequest } from "./schemas/$Users_CreateUserRequest"; export { $Users_PatchUserRequest } from "./schemas/$Users_PatchUserRequest"; diff --git a/sdks/ts/src/api/models/Agent.ts b/sdks/ts/src/api/models/Agent.ts deleted file mode 100644 index c7a40c604..000000000 --- a/sdks/ts/src/api/models/Agent.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Chat_GenerationPresetSettings } from "./Chat_GenerationPresetSettings"; -import type { Chat_OpenAISettings } from "./Chat_OpenAISettings"; -import type { Chat_vLLMSettings } from "./Chat_vLLMSettings"; -import type { Common_identifierSafeUnicode } from "./Common_identifierSafeUnicode"; -import type { Common_uuid } from "./Common_uuid"; -export type Agent = { - readonly id: Common_uuid; - metadata?: Record; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; - /** - * Name of the agent - */ - name: Common_identifierSafeUnicode; - /** - * About the agent - */ - about: string; - /** - * Model name to use (gpt-4-turbo, gemini-nano etc) - */ - model: string; - /** - * Instructions for the agent - */ - instructions: string | Array; - /** - * Default settings for all sessions created by this agent - */ - default_settings?: - | Chat_GenerationPresetSettings - | Chat_OpenAISettings - | Chat_vLLMSettings; -}; diff --git a/sdks/ts/src/api/models/Doc.ts b/sdks/ts/src/api/models/Doc.ts deleted file mode 100644 index 24b808762..000000000 --- a/sdks/ts/src/api/models/Doc.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_identifierSafeUnicode } from "./Common_identifierSafeUnicode"; -import type { Common_uuid } from "./Common_uuid"; -export type Doc = { - readonly id: Common_uuid; - metadata?: Record; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * Title describing what this document contains - */ - title: Common_identifierSafeUnicode; - /** - * Contents of the document - */ - content: string | Array; -}; diff --git a/sdks/ts/src/api/models/Entry.ts b/sdks/ts/src/api/models/Entry.ts deleted file mode 100644 index 0ef8000dd..000000000 --- a/sdks/ts/src/api/models/Entry.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_uuid } from "./Common_uuid"; -import type { Entries_ChatMLRole } from "./Entries_ChatMLRole"; -import type { Tools_ChosenToolCall } from "./Tools_ChosenToolCall"; -import type { Tools_Tool } from "./Tools_Tool"; -import type { Tools_ToolResponse } from "./Tools_ToolResponse"; -export type Entry = { - role: Entries_ChatMLRole; - name: string | null; - content: Tools_Tool | Tools_ChosenToolCall | string | Tools_ToolResponse; - source: - | "api_request" - | "api_response" - | "tool_response" - | "internal" - | "summarizer" - | "meta"; - /** - * This is the time that this event refers to. - */ - timestamp: number; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - readonly id: Common_uuid; -}; diff --git a/sdks/ts/src/api/models/Execution.ts b/sdks/ts/src/api/models/Execution.ts deleted file mode 100644 index 574f1d792..000000000 --- a/sdks/ts/src/api/models/Execution.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_uuid } from "./Common_uuid"; -export type Execution = { - /** - * The ID of the task that the execution is running - */ - readonly task_id: Common_uuid; - /** - * The status of the execution - */ - readonly status: - | "queued" - | "starting" - | "running" - | "awaiting_input" - | "succeeded" - | "failed" - | "cancelled"; - /** - * The input to the execution - */ - input: Record; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; - metadata?: Record; - readonly id: Common_uuid; -}; diff --git a/sdks/ts/src/api/models/Executions_Transition.ts b/sdks/ts/src/api/models/Executions_Transition.ts index 68a47cf57..36a3d6dbe 100644 --- a/sdks/ts/src/api/models/Executions_Transition.ts +++ b/sdks/ts/src/api/models/Executions_Transition.ts @@ -6,7 +6,7 @@ import type { Common_uuid } from "./Common_uuid"; export type Executions_Transition = { readonly type: "finish" | "wait" | "error" | "step" | "cancelled"; readonly execution_id: Common_uuid; - readonly outputs: Record; + readonly output: Record; readonly current: Array; readonly next: Array | null; readonly id: Common_uuid; diff --git a/sdks/ts/src/api/models/History.ts b/sdks/ts/src/api/models/History.ts deleted file mode 100644 index 22b30c83f..000000000 --- a/sdks/ts/src/api/models/History.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_uuid } from "./Common_uuid"; -import type { Entries_Entry } from "./Entries_Entry"; -import type { Entries_Relation } from "./Entries_Relation"; -export type History = { - entries: Array; - relations: Array; - readonly session_id: Common_uuid; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; -}; diff --git a/sdks/ts/src/api/models/JobStatus.ts b/sdks/ts/src/api/models/JobStatus.ts deleted file mode 100644 index 1ee910dc3..000000000 --- a/sdks/ts/src/api/models/JobStatus.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_identifierSafeUnicode } from "./Common_identifierSafeUnicode"; -import type { Common_uuid } from "./Common_uuid"; -import type { Jobs_JobState } from "./Jobs_JobState"; -export type JobStatus = { - readonly id: Common_uuid; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; - /** - * Name of the job - */ - name: Common_identifierSafeUnicode; - /** - * Reason for the current state of the job - */ - reason: string; - /** - * Whether this Job supports progress updates - */ - has_progress: boolean; - /** - * Progress percentage - */ - progress: number; - /** - * Current state of the job - */ - state: Jobs_JobState; -}; diff --git a/sdks/ts/src/api/models/Session.ts b/sdks/ts/src/api/models/Session.ts deleted file mode 100644 index 296b931ca..000000000 --- a/sdks/ts/src/api/models/Session.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_uuid } from "./Common_uuid"; -import type { Sessions_ContextOverflowType } from "./Sessions_ContextOverflowType"; -export type Session = { - /** - * User ID of user associated with this session - */ - user?: Common_uuid; - users?: Array; - /** - * Agent ID of agent associated with this session - */ - agent?: Common_uuid; - agents?: Array; - /** - * A specific situation that sets the background for this session - */ - situation: string; - /** - * Summary (null at the beginning) - generated automatically after every interaction - */ - readonly summary: string | null; - /** - * Render system and assistant message content as jinja templates - */ - render_templates: boolean; - /** - * Threshold value for the adaptive context functionality - */ - token_budget: number | null; - /** - * Action to start on context window overflow - */ - context_overflow: Sessions_ContextOverflowType | null; - readonly id: Common_uuid; - metadata?: Record; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; - /** - * Discriminator property for Session. - */ - kind?: string; -}; diff --git a/sdks/ts/src/api/models/Task.ts b/sdks/ts/src/api/models/Task.ts deleted file mode 100644 index bbfd3b429..000000000 --- a/sdks/ts/src/api/models/Task.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Tasks_WorkflowStep } from "./Tasks_WorkflowStep"; -/** - * Object describing a Task - */ -export type Task = Record>; diff --git a/sdks/ts/src/api/models/Tool.ts b/sdks/ts/src/api/models/Tool.ts deleted file mode 100644 index 0994d643e..000000000 --- a/sdks/ts/src/api/models/Tool.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_uuid } from "./Common_uuid"; -import type { Tools_FunctionDef } from "./Tools_FunctionDef"; -import type { Tools_ToolType } from "./Tools_ToolType"; -export type Tool = { - /** - * Whether this tool is a `function`, `api_call`, `system` etc. (Only `function` tool supported right now) - */ - type: Tools_ToolType; - /** - * The tool should be run in the background (not supported at the moment) - */ - background: boolean; - function?: Tools_FunctionDef; - integration?: any; - system?: any; - api_call?: any; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; - readonly id: Common_uuid; -}; diff --git a/sdks/ts/src/api/models/Tools_CreateToolRequest.ts b/sdks/ts/src/api/models/Tools_CreateToolRequest.ts index 27cd8ff42..51024282c 100644 --- a/sdks/ts/src/api/models/Tools_CreateToolRequest.ts +++ b/sdks/ts/src/api/models/Tools_CreateToolRequest.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { Common_validPythonIdentifier } from "./Common_validPythonIdentifier"; import type { Tools_FunctionDef } from "./Tools_FunctionDef"; import type { Tools_ToolType } from "./Tools_ToolType"; /** @@ -13,9 +14,9 @@ export type Tools_CreateToolRequest = { */ type: Tools_ToolType; /** - * The tool should be run in the background (not supported at the moment) + * Name of the tool (must be unique for this agent and a valid python identifier string ) */ - background: boolean; + name: Common_validPythonIdentifier; function?: Tools_FunctionDef; integration?: any; system?: any; diff --git a/sdks/ts/src/api/models/Tools_FunctionDef.ts b/sdks/ts/src/api/models/Tools_FunctionDef.ts index 10d1bdef2..777aa3155 100644 --- a/sdks/ts/src/api/models/Tools_FunctionDef.ts +++ b/sdks/ts/src/api/models/Tools_FunctionDef.ts @@ -12,12 +12,12 @@ export type Tools_FunctionDef = { * DO NOT USE: This will be overriden by the tool name. Here only for compatibility reasons. */ name?: Common_validPythonIdentifier; - /** - * The parameters the function accepts - */ - parameters: Record; /** * Description of the function */ description?: Common_identifierSafeUnicode; + /** + * The parameters the function accepts + */ + parameters: Record; }; diff --git a/sdks/ts/src/api/models/Tools_FunctionDefUpdate.ts b/sdks/ts/src/api/models/Tools_FunctionDefUpdate.ts index 7a67121a0..7f4417abd 100644 --- a/sdks/ts/src/api/models/Tools_FunctionDefUpdate.ts +++ b/sdks/ts/src/api/models/Tools_FunctionDefUpdate.ts @@ -12,12 +12,12 @@ export type Tools_FunctionDefUpdate = { * DO NOT USE: This will be overriden by the tool name. Here only for compatibility reasons. */ name?: Common_validPythonIdentifier; - /** - * The parameters the function accepts - */ - parameters?: Record; /** * Description of the function */ description?: Common_identifierSafeUnicode; + /** + * The parameters the function accepts + */ + parameters?: Record; }; diff --git a/sdks/ts/src/api/models/Tools_PatchToolRequest.ts b/sdks/ts/src/api/models/Tools_PatchToolRequest.ts index f4a4d3ec0..0957c8db2 100644 --- a/sdks/ts/src/api/models/Tools_PatchToolRequest.ts +++ b/sdks/ts/src/api/models/Tools_PatchToolRequest.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { Common_validPythonIdentifier } from "./Common_validPythonIdentifier"; import type { Tools_FunctionDefUpdate } from "./Tools_FunctionDefUpdate"; import type { Tools_ToolType } from "./Tools_ToolType"; /** @@ -13,9 +14,9 @@ export type Tools_PatchToolRequest = { */ type?: Tools_ToolType; /** - * The tool should be run in the background (not supported at the moment) + * Name of the tool (must be unique for this agent and a valid python identifier string ) */ - background?: boolean; + name?: Common_validPythonIdentifier; function?: Tools_FunctionDefUpdate; integration?: any; system?: any; diff --git a/sdks/ts/src/api/models/Tools_Tool.ts b/sdks/ts/src/api/models/Tools_Tool.ts index 4c89afffa..d2b4e9dba 100644 --- a/sdks/ts/src/api/models/Tools_Tool.ts +++ b/sdks/ts/src/api/models/Tools_Tool.ts @@ -3,6 +3,7 @@ /* tslint:disable */ /* eslint-disable */ import type { Common_uuid } from "./Common_uuid"; +import type { Common_validPythonIdentifier } from "./Common_validPythonIdentifier"; import type { Tools_FunctionDef } from "./Tools_FunctionDef"; import type { Tools_ToolType } from "./Tools_ToolType"; export type Tools_Tool = { @@ -11,9 +12,9 @@ export type Tools_Tool = { */ type: Tools_ToolType; /** - * The tool should be run in the background (not supported at the moment) + * Name of the tool (must be unique for this agent and a valid python identifier string ) */ - background: boolean; + name: Common_validPythonIdentifier; function?: Tools_FunctionDef; integration?: any; system?: any; diff --git a/sdks/ts/src/api/models/Tools_UpdateToolRequest.ts b/sdks/ts/src/api/models/Tools_UpdateToolRequest.ts index 995f524b5..6a964fc8c 100644 --- a/sdks/ts/src/api/models/Tools_UpdateToolRequest.ts +++ b/sdks/ts/src/api/models/Tools_UpdateToolRequest.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { Common_validPythonIdentifier } from "./Common_validPythonIdentifier"; import type { Tools_FunctionDef } from "./Tools_FunctionDef"; import type { Tools_ToolType } from "./Tools_ToolType"; /** @@ -13,9 +14,9 @@ export type Tools_UpdateToolRequest = { */ type: Tools_ToolType; /** - * The tool should be run in the background (not supported at the moment) + * Name of the tool (must be unique for this agent and a valid python identifier string ) */ - background: boolean; + name: Common_validPythonIdentifier; function?: Tools_FunctionDef; integration?: any; system?: any; diff --git a/sdks/ts/src/api/models/Transition.ts b/sdks/ts/src/api/models/Transition.ts deleted file mode 100644 index be0e59662..000000000 --- a/sdks/ts/src/api/models/Transition.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_uuid } from "./Common_uuid"; -export type Transition = { - readonly type: "finish" | "wait" | "error" | "step" | "cancelled"; - readonly execution_id: Common_uuid; - readonly outputs: Record; - readonly current: Array; - readonly next: Array | null; - readonly id: Common_uuid; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; -}; diff --git a/sdks/ts/src/api/models/User.ts b/sdks/ts/src/api/models/User.ts deleted file mode 100644 index 63bfcfdcd..000000000 --- a/sdks/ts/src/api/models/User.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import type { Common_identifierSafeUnicode } from "./Common_identifierSafeUnicode"; -import type { Common_uuid } from "./Common_uuid"; -export type User = { - readonly id: Common_uuid; - metadata?: Record; - /** - * When this resource was created as UTC date-time - */ - readonly created_at: string; - /** - * When this resource was updated as UTC date-time - */ - readonly updated_at: string; - /** - * Name of the user - */ - name: Common_identifierSafeUnicode; - /** - * About the user - */ - about: string; -}; diff --git a/sdks/ts/src/api/schemas/$Agent.ts b/sdks/ts/src/api/schemas/$Agent.ts deleted file mode 100644 index fff31498b..000000000 --- a/sdks/ts/src/api/schemas/$Agent.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Agent = { - properties: { - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - metadata: { - type: "dictionary", - contains: { - properties: {}, - }, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - name: { - type: "all-of", - description: `Name of the agent`, - contains: [ - { - type: "Common_identifierSafeUnicode", - }, - ], - isRequired: true, - }, - about: { - type: "string", - description: `About the agent`, - isRequired: true, - }, - model: { - type: "string", - description: `Model name to use (gpt-4-turbo, gemini-nano etc)`, - isRequired: true, - }, - instructions: { - type: "any-of", - description: `Instructions for the agent`, - contains: [ - { - type: "string", - }, - { - type: "array", - contains: { - type: "string", - }, - }, - ], - isRequired: true, - }, - default_settings: { - type: "any-of", - description: `Default settings for all sessions created by this agent`, - contains: [ - { - type: "Chat_GenerationPresetSettings", - }, - { - type: "Chat_OpenAISettings", - }, - { - type: "Chat_vLLMSettings", - }, - ], - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Doc.ts b/sdks/ts/src/api/schemas/$Doc.ts deleted file mode 100644 index 5d581fc4c..000000000 --- a/sdks/ts/src/api/schemas/$Doc.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Doc = { - properties: { - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - metadata: { - type: "dictionary", - contains: { - properties: {}, - }, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - title: { - type: "all-of", - description: `Title describing what this document contains`, - contains: [ - { - type: "Common_identifierSafeUnicode", - }, - ], - isRequired: true, - }, - content: { - type: "any-of", - description: `Contents of the document`, - contains: [ - { - type: "string", - }, - { - type: "array", - contains: { - type: "string", - }, - }, - ], - isRequired: true, - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Entry.ts b/sdks/ts/src/api/schemas/$Entry.ts deleted file mode 100644 index fb77b0be2..000000000 --- a/sdks/ts/src/api/schemas/$Entry.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Entry = { - properties: { - role: { - type: "Entries_ChatMLRole", - isRequired: true, - }, - name: { - type: "string", - isRequired: true, - isNullable: true, - }, - content: { - type: "any-of", - contains: [ - { - type: "Tools_Tool", - }, - { - type: "Tools_ChosenToolCall", - }, - { - type: "string", - }, - { - type: "Tools_ToolResponse", - }, - ], - isRequired: true, - }, - source: { - type: "Enum", - isRequired: true, - }, - timestamp: { - type: "number", - description: `This is the time that this event refers to.`, - isRequired: true, - format: "int32", - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Execution.ts b/sdks/ts/src/api/schemas/$Execution.ts deleted file mode 100644 index 54c59821f..000000000 --- a/sdks/ts/src/api/schemas/$Execution.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Execution = { - properties: { - task_id: { - type: "all-of", - description: `The ID of the task that the execution is running`, - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - status: { - type: "Enum", - isReadOnly: true, - isRequired: true, - }, - input: { - type: "dictionary", - contains: { - properties: {}, - }, - isRequired: true, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - metadata: { - type: "dictionary", - contains: { - properties: {}, - }, - }, - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Executions_Transition.ts b/sdks/ts/src/api/schemas/$Executions_Transition.ts index 7d426c5f1..47c1bce66 100644 --- a/sdks/ts/src/api/schemas/$Executions_Transition.ts +++ b/sdks/ts/src/api/schemas/$Executions_Transition.ts @@ -19,7 +19,7 @@ export const $Executions_Transition = { isReadOnly: true, isRequired: true, }, - outputs: { + output: { type: "dictionary", contains: { properties: {}, diff --git a/sdks/ts/src/api/schemas/$History.ts b/sdks/ts/src/api/schemas/$History.ts deleted file mode 100644 index 0bcf1e13b..000000000 --- a/sdks/ts/src/api/schemas/$History.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $History = { - properties: { - entries: { - type: "array", - contains: { - type: "Entries_Entry", - }, - isRequired: true, - }, - relations: { - type: "array", - contains: { - type: "Entries_Relation", - }, - isRequired: true, - }, - session_id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$JobStatus.ts b/sdks/ts/src/api/schemas/$JobStatus.ts deleted file mode 100644 index e06a793a7..000000000 --- a/sdks/ts/src/api/schemas/$JobStatus.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $JobStatus = { - properties: { - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - name: { - type: "all-of", - description: `Name of the job`, - contains: [ - { - type: "Common_identifierSafeUnicode", - }, - ], - isRequired: true, - }, - reason: { - type: "string", - description: `Reason for the current state of the job`, - isRequired: true, - }, - has_progress: { - type: "boolean", - description: `Whether this Job supports progress updates`, - isRequired: true, - }, - progress: { - type: "number", - description: `Progress percentage`, - isRequired: true, - format: "float", - maximum: 100, - }, - state: { - type: "all-of", - description: `Current state of the job`, - contains: [ - { - type: "Jobs_JobState", - }, - ], - isRequired: true, - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Session.ts b/sdks/ts/src/api/schemas/$Session.ts deleted file mode 100644 index d4ff80a8b..000000000 --- a/sdks/ts/src/api/schemas/$Session.ts +++ /dev/null @@ -1,107 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Session = { - properties: { - user: { - type: "all-of", - description: `User ID of user associated with this session`, - contains: [ - { - type: "Common_uuid", - }, - ], - }, - users: { - type: "array", - contains: { - type: "Common_uuid", - }, - }, - agent: { - type: "all-of", - description: `Agent ID of agent associated with this session`, - contains: [ - { - type: "Common_uuid", - }, - ], - }, - agents: { - type: "array", - contains: { - type: "Common_uuid", - }, - }, - situation: { - type: "string", - description: `A specific situation that sets the background for this session`, - isRequired: true, - }, - summary: { - type: "string", - description: `Summary (null at the beginning) - generated automatically after every interaction`, - isReadOnly: true, - isRequired: true, - isNullable: true, - }, - render_templates: { - type: "boolean", - description: `Render system and assistant message content as jinja templates`, - isRequired: true, - }, - token_budget: { - type: "number", - description: `Threshold value for the adaptive context functionality`, - isRequired: true, - isNullable: true, - format: "uint16", - }, - context_overflow: { - type: "one-of", - description: `Action to start on context window overflow`, - contains: [ - { - type: "Sessions_ContextOverflowType", - }, - ], - isRequired: true, - isNullable: true, - }, - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - metadata: { - type: "dictionary", - contains: { - properties: {}, - }, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - kind: { - type: "string", - description: `Discriminator property for Session.`, - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Task.ts b/sdks/ts/src/api/schemas/$Task.ts deleted file mode 100644 index b8bbebc06..000000000 --- a/sdks/ts/src/api/schemas/$Task.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Task = { - type: "dictionary", - contains: { - type: "array", - contains: { - type: "Tasks_WorkflowStep", - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Tool.ts b/sdks/ts/src/api/schemas/$Tool.ts deleted file mode 100644 index 3c9c62e9a..000000000 --- a/sdks/ts/src/api/schemas/$Tool.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Tool = { - properties: { - type: { - type: "all-of", - description: `Whether this tool is a \`function\`, \`api_call\`, \`system\` etc. (Only \`function\` tool supported right now)`, - contains: [ - { - type: "Tools_ToolType", - }, - ], - isRequired: true, - }, - background: { - type: "boolean", - description: `The tool should be run in the background (not supported at the moment)`, - isRequired: true, - }, - function: { - type: "Tools_FunctionDef", - }, - integration: { - properties: {}, - }, - system: { - properties: {}, - }, - api_call: { - properties: {}, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$Tools_CreateToolRequest.ts b/sdks/ts/src/api/schemas/$Tools_CreateToolRequest.ts index a0bcf9ae5..bea3b4740 100644 --- a/sdks/ts/src/api/schemas/$Tools_CreateToolRequest.ts +++ b/sdks/ts/src/api/schemas/$Tools_CreateToolRequest.ts @@ -15,9 +15,14 @@ export const $Tools_CreateToolRequest = { ], isRequired: true, }, - background: { - type: "boolean", - description: `The tool should be run in the background (not supported at the moment)`, + name: { + type: "all-of", + description: `Name of the tool (must be unique for this agent and a valid python identifier string )`, + contains: [ + { + type: "Common_validPythonIdentifier", + }, + ], isRequired: true, }, function: { diff --git a/sdks/ts/src/api/schemas/$Tools_FunctionDef.ts b/sdks/ts/src/api/schemas/$Tools_FunctionDef.ts index 8646379bc..0d9e5f2b3 100644 --- a/sdks/ts/src/api/schemas/$Tools_FunctionDef.ts +++ b/sdks/ts/src/api/schemas/$Tools_FunctionDef.ts @@ -14,13 +14,6 @@ export const $Tools_FunctionDef = { }, ], }, - parameters: { - type: "dictionary", - contains: { - properties: {}, - }, - isRequired: true, - }, description: { type: "all-of", description: `Description of the function`, @@ -30,5 +23,12 @@ export const $Tools_FunctionDef = { }, ], }, + parameters: { + type: "dictionary", + contains: { + properties: {}, + }, + isRequired: true, + }, }, } as const; diff --git a/sdks/ts/src/api/schemas/$Tools_FunctionDefUpdate.ts b/sdks/ts/src/api/schemas/$Tools_FunctionDefUpdate.ts index 90605f5ee..c79a3478e 100644 --- a/sdks/ts/src/api/schemas/$Tools_FunctionDefUpdate.ts +++ b/sdks/ts/src/api/schemas/$Tools_FunctionDefUpdate.ts @@ -14,12 +14,6 @@ export const $Tools_FunctionDefUpdate = { }, ], }, - parameters: { - type: "dictionary", - contains: { - properties: {}, - }, - }, description: { type: "all-of", description: `Description of the function`, @@ -29,5 +23,11 @@ export const $Tools_FunctionDefUpdate = { }, ], }, + parameters: { + type: "dictionary", + contains: { + properties: {}, + }, + }, }, } as const; diff --git a/sdks/ts/src/api/schemas/$Tools_PatchToolRequest.ts b/sdks/ts/src/api/schemas/$Tools_PatchToolRequest.ts index de9d4b773..4170be793 100644 --- a/sdks/ts/src/api/schemas/$Tools_PatchToolRequest.ts +++ b/sdks/ts/src/api/schemas/$Tools_PatchToolRequest.ts @@ -14,9 +14,14 @@ export const $Tools_PatchToolRequest = { }, ], }, - background: { - type: "boolean", - description: `The tool should be run in the background (not supported at the moment)`, + name: { + type: "all-of", + description: `Name of the tool (must be unique for this agent and a valid python identifier string )`, + contains: [ + { + type: "Common_validPythonIdentifier", + }, + ], }, function: { type: "Tools_FunctionDefUpdate", diff --git a/sdks/ts/src/api/schemas/$Tools_Tool.ts b/sdks/ts/src/api/schemas/$Tools_Tool.ts index c008d4cbd..2785b6a28 100644 --- a/sdks/ts/src/api/schemas/$Tools_Tool.ts +++ b/sdks/ts/src/api/schemas/$Tools_Tool.ts @@ -14,9 +14,14 @@ export const $Tools_Tool = { ], isRequired: true, }, - background: { - type: "boolean", - description: `The tool should be run in the background (not supported at the moment)`, + name: { + type: "all-of", + description: `Name of the tool (must be unique for this agent and a valid python identifier string )`, + contains: [ + { + type: "Common_validPythonIdentifier", + }, + ], isRequired: true, }, function: { diff --git a/sdks/ts/src/api/schemas/$Tools_UpdateToolRequest.ts b/sdks/ts/src/api/schemas/$Tools_UpdateToolRequest.ts index 97fbb6ac3..4e8373fbf 100644 --- a/sdks/ts/src/api/schemas/$Tools_UpdateToolRequest.ts +++ b/sdks/ts/src/api/schemas/$Tools_UpdateToolRequest.ts @@ -15,9 +15,14 @@ export const $Tools_UpdateToolRequest = { ], isRequired: true, }, - background: { - type: "boolean", - description: `The tool should be run in the background (not supported at the moment)`, + name: { + type: "all-of", + description: `Name of the tool (must be unique for this agent and a valid python identifier string )`, + contains: [ + { + type: "Common_validPythonIdentifier", + }, + ], isRequired: true, }, function: { diff --git a/sdks/ts/src/api/schemas/$Transition.ts b/sdks/ts/src/api/schemas/$Transition.ts deleted file mode 100644 index 65949ff66..000000000 --- a/sdks/ts/src/api/schemas/$Transition.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $Transition = { - properties: { - type: { - type: "Enum", - isReadOnly: true, - isRequired: true, - }, - execution_id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - outputs: { - type: "dictionary", - contains: { - properties: {}, - }, - isReadOnly: true, - isRequired: true, - }, - current: { - type: "array", - contains: { - properties: {}, - }, - isReadOnly: true, - isRequired: true, - }, - next: { - type: "array", - contains: { - properties: {}, - }, - isReadOnly: true, - isRequired: true, - isNullable: true, - }, - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - }, -} as const; diff --git a/sdks/ts/src/api/schemas/$User.ts b/sdks/ts/src/api/schemas/$User.ts deleted file mode 100644 index df3838203..000000000 --- a/sdks/ts/src/api/schemas/$User.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* generated using openapi-typescript-codegen -- do no edit */ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export const $User = { - properties: { - id: { - type: "all-of", - contains: [ - { - type: "Common_uuid", - }, - ], - isReadOnly: true, - isRequired: true, - }, - metadata: { - type: "dictionary", - contains: { - properties: {}, - }, - }, - created_at: { - type: "string", - description: `When this resource was created as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - updated_at: { - type: "string", - description: `When this resource was updated as UTC date-time`, - isReadOnly: true, - isRequired: true, - format: "date-time", - }, - name: { - type: "all-of", - description: `Name of the user`, - contains: [ - { - type: "Common_identifierSafeUnicode", - }, - ], - isRequired: true, - }, - about: { - type: "string", - description: `About the user`, - isRequired: true, - }, - }, -} as const;