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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 23 additions & 1 deletion src/otari/_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -117,8 +117,19 @@
"AudioSpeechRequest",
"AuthenticatePasskeyRequest",
"AuthorizeResponse",
"BATCHBatchError",
"BATCHBatchRequestCounts",
"BATCHBatchUsage",
"BATCHErrors",
"BATCHInputTokensDetails",
"BATCHOutputTokensDetails",
"BackendType",
"BatchListResponse",
"BatchRequestItem",
"BatchResponse",
"BatchResultItem",
"BatchResultItemError",
"BatchResultsResponse",
"BillingMeters",
"BlobResourceContents",
"BudgetResetLogResponse",
Expand Down Expand Up @@ -766,8 +777,19 @@
from otari._client.models.audio_speech_request import AudioSpeechRequest as AudioSpeechRequest
from otari._client.models.authenticate_passkey_request import AuthenticatePasskeyRequest as AuthenticatePasskeyRequest
from otari._client.models.authorize_response import AuthorizeResponse as AuthorizeResponse
from otari._client.models.batch_batch_error import BATCHBatchError as BATCHBatchError
from otari._client.models.batch_batch_request_counts import BATCHBatchRequestCounts as BATCHBatchRequestCounts
from otari._client.models.batch_batch_usage import BATCHBatchUsage as BATCHBatchUsage
from otari._client.models.batch_errors import BATCHErrors as BATCHErrors
from otari._client.models.batch_input_tokens_details import BATCHInputTokensDetails as BATCHInputTokensDetails
from otari._client.models.batch_output_tokens_details import BATCHOutputTokensDetails as BATCHOutputTokensDetails
from otari._client.models.backend_type import BackendType as BackendType
from otari._client.models.batch_list_response import BatchListResponse as BatchListResponse
from otari._client.models.batch_request_item import BatchRequestItem as BatchRequestItem
from otari._client.models.batch_response import BatchResponse as BatchResponse
from otari._client.models.batch_result_item import BatchResultItem as BatchResultItem
from otari._client.models.batch_result_item_error import BatchResultItemError as BatchResultItemError
from otari._client.models.batch_results_response import BatchResultsResponse as BatchResultsResponse
from otari._client.models.billing_meters import BillingMeters as BillingMeters
from otari._client.models.blob_resource_contents import BlobResourceContents as BlobResourceContents
from otari._client.models.budget_reset_log_response import BudgetResetLogResponse as BudgetResetLogResponse
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/_spec_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__spec_version__ = "0.14.1"
__spec_version__ = "0.0.0-dev"
2 changes: 1 addition & 1 deletion src/otari/_client/api/admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/agent_telemetry_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/aliases_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/audio_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/auth_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
57 changes: 30 additions & 27 deletions src/otari/_client/api/batches_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -16,7 +16,10 @@
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr
from typing import Any, Optional
from typing import Optional
from otari._client.models.batch_list_response import BatchListResponse
from otari._client.models.batch_response import BatchResponse
from otari._client.models.batch_results_response import BatchResultsResponse
from otari._client.models.create_batch_request import CreateBatchRequest

from otari._client.api_client import ApiClient, RequestSerialized
Expand Down Expand Up @@ -54,7 +57,7 @@ def batches_cancel_batch(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
) -> BatchResponse:
"""Cancel Batch

Cancel a batch.
Expand Down Expand Up @@ -95,7 +98,7 @@ def batches_cancel_batch(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -126,7 +129,7 @@ def batches_cancel_batch_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
) -> ApiResponse[BatchResponse]:
"""Cancel Batch

Cancel a batch.
Expand Down Expand Up @@ -167,7 +170,7 @@ def batches_cancel_batch_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -239,7 +242,7 @@ def batches_cancel_batch_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -335,7 +338,7 @@ def batches_create_batch(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
) -> BatchResponse:
"""Create Batch

Create a batch of LLM requests for asynchronous processing. Authentication modes: - Master key + user field: Use specified user (must exist) - API key + user field: Use specified user (must exist) - API key without user field: Use the shared \"default\" user
Expand Down Expand Up @@ -373,7 +376,7 @@ def batches_create_batch(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -403,7 +406,7 @@ def batches_create_batch_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
) -> ApiResponse[BatchResponse]:
"""Create Batch

Create a batch of LLM requests for asynchronous processing. Authentication modes: - Master key + user field: Use specified user (must exist) - API key + user field: Use specified user (must exist) - API key without user field: Use the shared \"default\" user
Expand Down Expand Up @@ -441,7 +444,7 @@ def batches_create_batch_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -509,7 +512,7 @@ def batches_create_batch_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -615,7 +618,7 @@ def batches_list_batches(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
) -> BatchListResponse:
"""List Batches

List batches for a provider. Non-master keys only see batches they own in their own workspace (plus legacy batches without an ownership marker, or without a recorded workspace); the page is filtered after the provider call, so a page may contain fewer than ``limit`` items.
Expand Down Expand Up @@ -659,7 +662,7 @@ def batches_list_batches(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchListResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -691,7 +694,7 @@ def batches_list_batches_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
) -> ApiResponse[BatchListResponse]:
"""List Batches

List batches for a provider. Non-master keys only see batches they own in their own workspace (plus legacy batches without an ownership marker, or without a recorded workspace); the page is filtered after the provider call, so a page may contain fewer than ``limit`` items.
Expand Down Expand Up @@ -735,7 +738,7 @@ def batches_list_batches_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchListResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -811,7 +814,7 @@ def batches_list_batches_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchListResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -915,7 +918,7 @@ def batches_retrieve_batch(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
) -> BatchResponse:
"""Retrieve Batch

Retrieve the status of a batch.
Expand Down Expand Up @@ -956,7 +959,7 @@ def batches_retrieve_batch(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -987,7 +990,7 @@ def batches_retrieve_batch_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
) -> ApiResponse[BatchResponse]:
"""Retrieve Batch

Retrieve the status of a batch.
Expand Down Expand Up @@ -1028,7 +1031,7 @@ def batches_retrieve_batch_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -1100,7 +1103,7 @@ def batches_retrieve_batch_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResponse",
'422': "HTTPValidationError",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -1197,7 +1200,7 @@ def batches_retrieve_batch_results(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
) -> BatchResultsResponse:
"""Retrieve Batch Results

Retrieve the results of a completed batch.
Expand Down Expand Up @@ -1238,7 +1241,7 @@ def batches_retrieve_batch_results(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResultsResponse",
'409': None,
'422': "HTTPValidationError",
'502': None,
Expand Down Expand Up @@ -1271,7 +1274,7 @@ def batches_retrieve_batch_results_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
) -> ApiResponse[BatchResultsResponse]:
"""Retrieve Batch Results

Retrieve the results of a completed batch.
Expand Down Expand Up @@ -1312,7 +1315,7 @@ def batches_retrieve_batch_results_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResultsResponse",
'409': None,
'422': "HTTPValidationError",
'502': None,
Expand Down Expand Up @@ -1386,7 +1389,7 @@ def batches_retrieve_batch_results_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "BatchResultsResponse",
'409': None,
'422': "HTTPValidationError",
'502': None,
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/bootstrap_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/budgets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/catalog_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/chat_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/embeddings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/otari/_client/api/feedback_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Otari, an OpenAI-compatible LLM gateway with API key management

The version of the OpenAPI document: 0.14.1
The version of the OpenAPI document: 0.0.0-dev
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading