Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .roe-main-release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1-0-94
1-0-95
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A Python SDK for the [Roe](https://www.roe-ai.com/) API.

<!-- ROE-SDK:RELEASE-BANNER:START -->
> **v1.1.10** - SDK operation coverage is synchronized across Python,
> **v1.1.11** - SDK operation coverage is synchronized across Python,
> TypeScript, and Go. See `SDK_EXAMPLES.md` for copy-ready examples and
> use cases.
<!-- ROE-SDK:RELEASE-BANNER:END -->
Expand Down
20 changes: 18 additions & 2 deletions openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,9 @@ paths:
description: Agent version not found.
delete:
operationId: agents_versions_destroy
description: Delete a specific agent version.
description: Delete a specific agent version. Deleting the agent's current version
promotes the next-newest remaining version to current. Deleting an agent's
only version is refused — delete the agent instead.
summary: Delete an agent version.
parameters:
- in: path
Expand Down Expand Up @@ -1075,6 +1077,12 @@ paths:
responses:
'204':
description: Agent version deleted successfully.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorDetailResponse'
description: This is the agent's only version; delete the agent instead.
'403':
content:
application/json:
Expand Down Expand Up @@ -4207,7 +4215,10 @@ components:
description: The unique identifier for this input definition
data_type:
type: string
description: The data type of the input (e.g., text, file, etc.)
description: MIME type of the input, from the closed DataType set. Use 'text/plain'
for ordinary strings such as URLs, names and free text; other values include
'application/pdf', 'application/json', 'image/png', 'audio/mpeg', 'video/mp4'
and the wildcards 'text/*', 'image/*', 'audio/*', 'video/*', '*/*'.
description:
type: string
description: Description of what this input is for
Expand Down Expand Up @@ -5063,6 +5074,7 @@ components:
- google_sheets
- salesforce
- web_application
- shield
- custom_api
- lexis_nexis
- sardine
Expand All @@ -5083,6 +5095,7 @@ components:
* `google_sheets` - GOOGLE_SHEETS
* `salesforce` - SALESFORCE
* `web_application` - WEB_APPLICATION
* `shield` - SHIELD
* `custom_api` - CUSTOM_API
* `lexis_nexis` - LEXIS_NEXIS
* `sardine` - SARDINE
Expand Down Expand Up @@ -6108,6 +6121,8 @@ components:
type: boolean
supports_reasoning_effort:
type: boolean
supports_thinking:
type: boolean
supports_json_output:
type: boolean
supports_json_schema:
Expand All @@ -6123,6 +6138,7 @@ components:
- supports_reasoning_effort
- supports_system_message
- supports_temperature
- supports_thinking
SupportedLLMModelList:
type: object
description: Serializer for non-deprecated LLM discovery.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "roe-ai"
version = "1.1.10"
version = "1.1.11"
authors = [
{ name = "Roe", email = "founders@roe-ai.com" },
]
Expand Down
23 changes: 19 additions & 4 deletions src/roe/_generated/api/agents/agents_versions_destroy.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
response_204 = cast(Any, None)
return response_204

if response.status_code == 400:
response_400 = ErrorDetailResponse.from_dict(response.json())



return response_400

if response.status_code == 403:
response_403 = ErrorDetailResponse.from_dict(response.json())

Expand Down Expand Up @@ -100,7 +107,9 @@ def sync_detailed(
) -> Response[Any | ErrorDetailResponse | QdrantCleanupErrorResponse]:
""" Delete an agent version.

Delete a specific agent version.
Delete a specific agent version. Deleting the agent's current version promotes the next-newest
remaining version to current. Deleting an agent's only version is refused — delete the agent
instead.

Args:
agent_id (UUID):
Expand Down Expand Up @@ -139,7 +148,9 @@ def sync(
) -> Any | ErrorDetailResponse | QdrantCleanupErrorResponse | None:
""" Delete an agent version.

Delete a specific agent version.
Delete a specific agent version. Deleting the agent's current version promotes the next-newest
remaining version to current. Deleting an agent's only version is refused — delete the agent
instead.

Args:
agent_id (UUID):
Expand Down Expand Up @@ -173,7 +184,9 @@ async def asyncio_detailed(
) -> Response[Any | ErrorDetailResponse | QdrantCleanupErrorResponse]:
""" Delete an agent version.

Delete a specific agent version.
Delete a specific agent version. Deleting the agent's current version promotes the next-newest
remaining version to current. Deleting an agent's only version is refused — delete the agent
instead.

Args:
agent_id (UUID):
Expand Down Expand Up @@ -212,7 +225,9 @@ async def asyncio(
) -> Any | ErrorDetailResponse | QdrantCleanupErrorResponse | None:
""" Delete an agent version.

Delete a specific agent version.
Delete a specific agent version. Deleting the agent's current version promotes the next-newest
remaining version to current. Deleting an agent's only version is refused — delete the agent
instead.

Args:
agent_id (UUID):
Expand Down
4 changes: 3 additions & 1 deletion src/roe/_generated/models/agent_input_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class AgentInputDefinition:
"""
Attributes:
key (str): The unique identifier for this input definition
data_type (str): The data type of the input (e.g., text, file, etc.)
data_type (str): MIME type of the input, from the closed DataType set. Use 'text/plain' for ordinary strings
such as URLs, names and free text; other values include 'application/pdf', 'application/json', 'image/png',
'audio/mpeg', 'video/mp4' and the wildcards 'text/*', 'image/*', 'audio/*', 'video/*', '*/*'.
description (str): Description of what this input is for
example (str | Unset): An example value for this input
accepts_multiple_files (bool | Unset): Whether this input accepts multiple files
Expand Down
1 change: 1 addition & 0 deletions src/roe/_generated/models/connector_type_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class ConnectorTypeEnum(str, Enum):
SALESFORCE = "salesforce"
SARDINE = "sardine"
SHAREPOINT = "sharepoint"
SHIELD = "shield"
SNOWFLAKE = "snowflake"
SOCURE = "socure"
STRIPE = "stripe"
Expand Down
1 change: 1 addition & 0 deletions src/roe/_generated/models/create_connection_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class CreateConnectionRequest:
* `google_sheets` - GOOGLE_SHEETS
* `salesforce` - SALESFORCE
* `web_application` - WEB_APPLICATION
* `shield` - SHIELD
* `custom_api` - CUSTOM_API
* `lexis_nexis` - LEXIS_NEXIS
* `sardine` - SARDINE
Expand Down
8 changes: 8 additions & 0 deletions src/roe/_generated/models/supported_llm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class SupportedLLMModel:
supports_system_message (bool):
supports_temperature (bool):
supports_reasoning_effort (bool):
supports_thinking (bool):
supports_json_output (bool):
supports_json_schema (bool):
"""
Expand All @@ -44,6 +45,7 @@ class SupportedLLMModel:
supports_system_message: bool
supports_temperature: bool
supports_reasoning_effort: bool
supports_thinking: bool
supports_json_output: bool
supports_json_schema: bool
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
Expand Down Expand Up @@ -73,6 +75,8 @@ def to_dict(self) -> dict[str, Any]:

supports_reasoning_effort = self.supports_reasoning_effort

supports_thinking = self.supports_thinking

supports_json_output = self.supports_json_output

supports_json_schema = self.supports_json_schema
Expand All @@ -89,6 +93,7 @@ def to_dict(self) -> dict[str, Any]:
"supports_system_message": supports_system_message,
"supports_temperature": supports_temperature,
"supports_reasoning_effort": supports_reasoning_effort,
"supports_thinking": supports_thinking,
"supports_json_output": supports_json_output,
"supports_json_schema": supports_json_schema,
})
Expand Down Expand Up @@ -118,6 +123,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:

supports_reasoning_effort = d.pop("supports_reasoning_effort")

supports_thinking = d.pop("supports_thinking")

supports_json_output = d.pop("supports_json_output")

supports_json_schema = d.pop("supports_json_schema")
Expand All @@ -131,6 +138,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
supports_system_message=supports_system_message,
supports_temperature=supports_temperature,
supports_reasoning_effort=supports_reasoning_effort,
supports_thinking=supports_thinking,
supports_json_output=supports_json_output,
supports_json_schema=supports_json_schema,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class TestConnectionCredentialsRequest:
* `google_sheets` - GOOGLE_SHEETS
* `salesforce` - SALESFORCE
* `web_application` - WEB_APPLICATION
* `shield` - SHIELD
* `custom_api` - CUSTOM_API
* `lexis_nexis` - LEXIS_NEXIS
* `sardine` - SARDINE
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def test_supported_llm_model_list_deserializes_public_model_payload():
"supports_system_message": True,
"supports_temperature": True,
"supports_reasoning_effort": False,
"supports_thinking": False,
"supports_json_output": True,
"supports_json_schema": True,
}
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading