## Python SDK Changes:

* `open_router.beta.responses.send()`: 
  *  `request` **Changed** **Breaking** ⚠️
  *  `response` **Changed** **Breaking** ⚠️
* `open_router.presets.create_presets_responses()`:  `request` **Changed** **Breaking** ⚠️
* `open_router.presets.create_presets_chat_completions()`:  `request` **Changed** **Breaking** ⚠️
* `open_router.chat.send()`:  `request` **Changed** **Breaking** ⚠️
* `open_router.workspaces.set_budget()`: **Added**
* `open_router.o_auth.create_auth_code()`: 
  *  `request.workspace_id` **Added**
  *  `error.status[403]` **Added**
* `open_router.files.download()`: **Added**
* `open_router.models.get()`: **Added**
* `open_router.workspaces.list_budgets()`: **Added**
* `open_router.workspaces.delete_budget()`: **Added**
* `open_router.datasets.get_benchmarks_artificial_analysis()`: **Added**
* `open_router.beta.analytics.query_analytics()`:  `response.data.warnings` **Added**
* `open_router.files.delete()`: **Added**
* `open_router.files.retrieve()`: **Added**
* `open_router.files.upload()`: **Added**
* `open_router.embeddings.list_models()`:  `response.data.[].benchmarks` **Added**
* `open_router.models.list()`: 
  *  `request` **Changed**
  *  `response.data.[].benchmarks` **Added**
* `open_router.models.list_for_user()`:  `response.data.[].benchmarks` **Added**
* `open_router.files.list()`: **Added**
* `open_router.presets.create_presets_messages()`:  `request` **Changed**
* `open_router.datasets.get_benchmarks_design_arena()`: **Added**
This commit is contained in:
speakeasybot
2026-06-17 01:01:09 +00:00
parent cdd4dc7302
commit 4e789208b4
97 changed files with 9804 additions and 391 deletions
+44 -32
View File
@@ -84,6 +84,10 @@ from .outputfunctioncallitem import (
OutputFunctionCallItem,
OutputFunctionCallItemTypedDict,
)
from .outputfusionservertoolitem import (
OutputFusionServerToolItem,
OutputFusionServerToolItemTypedDict,
)
from .outputimagegenerationcallitem import (
OutputImageGenerationCallItem,
OutputImageGenerationCallItemTypedDict,
@@ -104,6 +108,10 @@ from .outputsearchmodelsservertoolitem import (
OutputSearchModelsServerToolItem,
OutputSearchModelsServerToolItemTypedDict,
)
from .outputsubagentservertoolitem import (
OutputSubagentServerToolItem,
OutputSubagentServerToolItemTypedDict,
)
from .outputtexteditorservertoolitem import (
OutputTextEditorServerToolItem,
OutputTextEditorServerToolItemTypedDict,
@@ -388,44 +396,46 @@ InputsUnion1TypedDict = TypeAliasType(
OutputFileSearchCallItemTypedDict,
EasyInputMessageTypedDict,
InputMessageItemTypedDict,
CustomToolCallOutputItemTypedDict,
LocalShellCallOutputItemTypedDict,
OutputToolSearchServerToolItemTypedDict,
OutputFileSearchServerToolItemTypedDict,
OutputWebSearchServerToolItemTypedDict,
CustomToolCallOutputItemTypedDict,
OutputImageGenerationCallItemTypedDict,
OutputWebSearchCallItemTypedDict,
OutputDatetimeItemTypedDict,
OutputMcpServerToolItemTypedDict,
FunctionCallOutputItemTypedDict,
LocalShellCallItemTypedDict,
OutputSearchModelsServerToolItemTypedDict,
FunctionCallOutputItemTypedDict,
ApplyPatchCallItemTypedDict,
OutputDatetimeItemTypedDict,
McpApprovalResponseItemTypedDict,
McpApprovalRequestItemTypedDict,
McpListToolsItemTypedDict,
ApplyPatchCallOutputItemTypedDict,
McpApprovalResponseItemTypedDict,
OutputBrowserUseServerToolItemTypedDict,
McpApprovalRequestItemTypedDict,
OutputMcpServerToolItemTypedDict,
OutputTextEditorServerToolItemTypedDict,
OutputApplyPatchServerToolItemTypedDict,
CustomToolCallItemTypedDict,
ShellCallItemTypedDict,
InputsMessageTypedDict,
OutputMemoryServerToolItemTypedDict,
OutputCustomToolCallItemTypedDict,
ShellCallItemTypedDict,
ShellCallOutputItemTypedDict,
OutputComputerCallItemTypedDict,
OutputCodeInterpreterCallItemTypedDict,
OutputImageGenerationServerToolItemTypedDict,
OutputBashServerToolItemTypedDict,
OutputCustomToolCallItemTypedDict,
OutputComputerCallItemTypedDict,
CustomToolCallItemTypedDict,
ShellCallOutputItemTypedDict,
McpCallItemTypedDict,
OutputImageGenerationServerToolItemTypedDict,
OutputFunctionCallItemTypedDict,
OutputBashServerToolItemTypedDict,
FunctionCallItemTypedDict,
OutputAdvisorServerToolItemTypedDict,
OutputWebFetchServerToolItemTypedDict,
ReasoningItemTypedDict,
OutputCodeInterpreterServerToolItemTypedDict,
OutputSubagentServerToolItemTypedDict,
InputsReasoningTypedDict,
OutputCodeInterpreterServerToolItemTypedDict,
OutputWebFetchServerToolItemTypedDict,
OutputAdvisorServerToolItemTypedDict,
OutputFusionServerToolItemTypedDict,
],
)
@@ -438,44 +448,46 @@ InputsUnion1 = TypeAliasType(
OutputFileSearchCallItem,
EasyInputMessage,
InputMessageItem,
CustomToolCallOutputItem,
LocalShellCallOutputItem,
OutputToolSearchServerToolItem,
OutputFileSearchServerToolItem,
OutputWebSearchServerToolItem,
CustomToolCallOutputItem,
OutputImageGenerationCallItem,
OutputWebSearchCallItem,
OutputDatetimeItem,
OutputMcpServerToolItem,
FunctionCallOutputItem,
LocalShellCallItem,
OutputSearchModelsServerToolItem,
FunctionCallOutputItem,
ApplyPatchCallItem,
OutputDatetimeItem,
McpApprovalResponseItem,
McpApprovalRequestItem,
McpListToolsItem,
ApplyPatchCallOutputItem,
McpApprovalResponseItem,
OutputBrowserUseServerToolItem,
McpApprovalRequestItem,
OutputMcpServerToolItem,
OutputTextEditorServerToolItem,
OutputApplyPatchServerToolItem,
CustomToolCallItem,
ShellCallItem,
InputsMessage,
OutputMemoryServerToolItem,
OutputCustomToolCallItem,
ShellCallItem,
ShellCallOutputItem,
OutputComputerCallItem,
OutputCodeInterpreterCallItem,
OutputImageGenerationServerToolItem,
OutputBashServerToolItem,
OutputCustomToolCallItem,
OutputComputerCallItem,
CustomToolCallItem,
ShellCallOutputItem,
McpCallItem,
OutputImageGenerationServerToolItem,
OutputFunctionCallItem,
OutputBashServerToolItem,
FunctionCallItem,
OutputAdvisorServerToolItem,
OutputWebFetchServerToolItem,
ReasoningItem,
OutputCodeInterpreterServerToolItem,
OutputSubagentServerToolItem,
InputsReasoning,
OutputCodeInterpreterServerToolItem,
OutputWebFetchServerToolItem,
OutputAdvisorServerToolItem,
OutputFusionServerToolItem,
],
)