From 5addbe7e8ba2719e54c21b791c5450ee4bac7cc2 Mon Sep 17 00:00:00 2001 From: njbrake <33383515+njbrake@users.noreply.github.com> Date: Fri, 12 Jun 2026 18:21:23 +0000 Subject: [PATCH] chore: regenerate SDK client core from Otari OpenAPI spec --- src/otari/_client/__init__.py | 6 +- src/otari/_client/api/__init__.py | 1 + src/otari/_client/api/audio_api.py | 4 +- src/otari/_client/api/batches_api.py | 4 +- src/otari/_client/api/budgets_api.py | 4 +- src/otari/_client/api/chat_api.py | 4 +- src/otari/_client/api/embeddings_api.py | 4 +- src/otari/_client/api/files_api.py | 1464 +++++++++++++++++ src/otari/_client/api/health_api.py | 4 +- src/otari/_client/api/images_api.py | 4 +- src/otari/_client/api/keys_api.py | 4 +- src/otari/_client/api/messages_api.py | 4 +- src/otari/_client/api/models_api.py | 4 +- src/otari/_client/api/moderations_api.py | 4 +- src/otari/_client/api/pricing_api.py | 4 +- src/otari/_client/api/rerank_api.py | 4 +- src/otari/_client/api/responses_api.py | 4 +- src/otari/_client/api/usage_api.py | 4 +- src/otari/_client/api/users_api.py | 4 +- src/otari/_client/api_client.py | 4 +- src/otari/_client/configuration.py | 4 +- src/otari/_client/exceptions.py | 4 +- src/otari/_client/models/__init__.py | 4 +- .../_client/models/audio_speech_request.py | 4 +- .../_client/models/batch_request_item.py | 4 +- src/otari/_client/models/budget_response.py | 4 +- src/otari/_client/models/caller.py | 4 +- .../models/cc_chat_completion_audio.py | 4 +- .../models/cc_chat_completion_message.py | 4 +- ...hat_completion_message_custom_tool_call.py | 4 +- ...t_completion_message_function_tool_call.py | 4 +- ...hat_completion_message_tool_calls_inner.py | 4 +- .../cc_chat_completion_token_logprob.py | 4 +- src/otari/_client/models/cc_choice.py | 4 +- .../_client/models/cc_choice_logprobs.py | 4 +- .../models/cc_completion_tokens_details.py | 4 +- .../_client/models/cc_completion_usage.py | 4 +- src/otari/_client/models/cc_custom.py | 4 +- src/otari/_client/models/cc_function.py | 4 +- src/otari/_client/models/cc_function_call.py | 4 +- .../models/cc_prompt_tokens_details.py | 4 +- src/otari/_client/models/cc_top_logprob.py | 4 +- .../cck_chat_completion_token_logprob.py | 4 +- src/otari/_client/models/cck_choice_delta.py | 4 +- .../models/cck_choice_delta_function_call.py | 4 +- .../models/cck_choice_delta_tool_call.py | 4 +- .../cck_choice_delta_tool_call_function.py | 4 +- .../_client/models/cck_choice_logprobs.py | 4 +- src/otari/_client/models/cck_chunk_choice.py | 4 +- .../models/cck_completion_tokens_details.py | 4 +- .../_client/models/cck_completion_usage.py | 4 +- .../models/cck_prompt_tokens_details.py | 4 +- src/otari/_client/models/cck_top_logprob.py | 4 +- src/otari/_client/models/chat_completion.py | 4 +- .../_client/models/chat_completion_chunk.py | 4 +- .../_client/models/chat_completion_request.py | 6 +- .../_client/models/chat_message_input.py | 4 +- src/otari/_client/models/content.py | 4 +- src/otari/_client/models/content1.py | 4 +- src/otari/_client/models/content2.py | 4 +- .../_client/models/content2_any_of_inner.py | 4 +- src/otari/_client/models/content3.py | 4 +- src/otari/_client/models/content4.py | 4 +- src/otari/_client/models/content5.py | 4 +- src/otari/_client/models/content6.py | 4 +- src/otari/_client/models/content7.py | 4 +- src/otari/_client/models/content8.py | 4 +- src/otari/_client/models/content9_inner.py | 4 +- .../_client/models/content_any_of_inner.py | 4 +- .../_client/models/count_tokens_request.py | 4 +- .../_client/models/count_tokens_response.py | 4 +- .../_client/models/create_batch_request.py | 4 +- .../_client/models/create_budget_request.py | 4 +- .../models/create_embedding_response.py | 4 +- .../_client/models/create_key_request.py | 4 +- .../_client/models/create_key_response.py | 4 +- .../_client/models/create_user_request.py | 4 +- src/otari/_client/models/emb_embedding.py | 4 +- src/otari/_client/models/emb_usage.py | 4 +- src/otari/_client/models/embedding_request.py | 4 +- src/otari/_client/models/guardrail_config.py | 6 +- .../_client/models/http_validation_error.py | 4 +- .../models/image_generation_request.py | 4 +- src/otari/_client/models/input.py | 4 +- src/otari/_client/models/input1.py | 4 +- src/otari/_client/models/key_info.py | 4 +- src/otari/_client/models/location_inner.py | 4 +- src/otari/_client/models/mcp_server_config.py | 6 +- src/otari/_client/models/message_response.py | 4 +- src/otari/_client/models/messages_request.py | 4 +- src/otari/_client/models/model.py | 4 +- .../_client/models/model_list_response.py | 4 +- src/otari/_client/models/model_object.py | 4 +- .../_client/models/model_pricing_info.py | 4 +- .../_client/models/moderation_request.py | 4 +- .../_client/models/moderation_response.py | 4 +- src/otari/_client/models/moderation_result.py | 4 +- .../_client/models/mr_base64_pdf_source.py | 4 +- .../mr_bash_code_execution_output_block.py | 4 +- .../mr_bash_code_execution_result_block.py | 4 +- ...r_bash_code_execution_tool_result_block.py | 4 +- ...r_bash_code_execution_tool_result_error.py | 4 +- src/otari/_client/models/mr_cache_creation.py | 4 +- .../models/mr_citation_char_location.py | 4 +- .../mr_citation_content_block_location.py | 4 +- .../models/mr_citation_page_location.py | 4 +- .../_client/models/mr_citations_config.py | 4 +- .../mr_citations_search_result_location.py | 4 +- ...mr_citations_web_search_result_location.py | 4 +- .../models/mr_code_execution_output_block.py | 4 +- .../models/mr_code_execution_result_block.py | 4 +- .../mr_code_execution_tool_result_block.py | 4 +- .../mr_code_execution_tool_result_error.py | 4 +- src/otari/_client/models/mr_container.py | 4 +- .../models/mr_container_upload_block.py | 4 +- src/otari/_client/models/mr_direct_caller.py | 4 +- src/otari/_client/models/mr_document_block.py | 4 +- ...r_encrypted_code_execution_result_block.py | 4 +- .../_client/models/mr_plain_text_source.py | 4 +- .../models/mr_redacted_thinking_block.py | 4 +- .../_client/models/mr_refusal_stop_details.py | 4 +- .../_client/models/mr_server_tool_caller.py | 4 +- .../models/mr_server_tool_caller20260120.py | 4 +- .../_client/models/mr_server_tool_usage.py | 4 +- .../models/mr_server_tool_use_block.py | 4 +- src/otari/_client/models/mr_text_block.py | 4 +- .../models/mr_text_block_citations_inner.py | 4 +- ...itor_code_execution_create_result_block.py | 4 +- ...code_execution_str_replace_result_block.py | 4 +- ...editor_code_execution_tool_result_block.py | 4 +- ...editor_code_execution_tool_result_error.py | 4 +- ...editor_code_execution_view_result_block.py | 4 +- src/otari/_client/models/mr_thinking_block.py | 4 +- .../_client/models/mr_tool_reference_block.py | 4 +- .../mr_tool_search_tool_result_block.py | 4 +- .../mr_tool_search_tool_result_error.py | 4 +- ...mr_tool_search_tool_search_result_block.py | 4 +- src/otari/_client/models/mr_tool_use_block.py | 4 +- src/otari/_client/models/mr_usage.py | 4 +- .../_client/models/mr_web_fetch_block.py | 4 +- .../models/mr_web_fetch_tool_result_block.py | 4 +- .../mr_web_fetch_tool_result_error_block.py | 4 +- .../models/mr_web_search_result_block.py | 4 +- .../models/mr_web_search_tool_result_block.py | 4 +- .../models/mr_web_search_tool_result_error.py | 4 +- src/otari/_client/models/msg_audio.py | 4 +- ...chat_completion_assistant_message_param.py | 4 +- ...hat_completion_content_part_image_param.py | 4 +- ...mpletion_content_part_input_audio_param.py | 4 +- ...t_completion_content_part_refusal_param.py | 4 +- ...chat_completion_content_part_text_param.py | 4 +- ...chat_completion_developer_message_param.py | 4 +- ..._chat_completion_function_message_param.py | 4 +- ...mpletion_message_custom_tool_call_param.py | 4 +- ...letion_message_function_tool_call_param.py | 4 +- ...sg_chat_completion_system_message_param.py | 4 +- .../msg_chat_completion_tool_message_param.py | 4 +- .../msg_chat_completion_user_message_param.py | 4 +- src/otari/_client/models/msg_custom.py | 4 +- src/otari/_client/models/msg_file.py | 4 +- src/otari/_client/models/msg_file_file.py | 4 +- src/otari/_client/models/msg_function.py | 4 +- src/otari/_client/models/msg_function_call.py | 4 +- src/otari/_client/models/msg_image_url.py | 4 +- src/otari/_client/models/msg_input_audio.py | 4 +- src/otari/_client/models/pricing_response.py | 4 +- src/otari/_client/models/rerank_request.py | 4 +- src/otari/_client/models/rerank_response.py | 4 +- src/otari/_client/models/responses_request.py | 4 +- src/otari/_client/models/rr_rerank_meta.py | 4 +- src/otari/_client/models/rr_rerank_result.py | 4 +- src/otari/_client/models/rr_rerank_usage.py | 4 +- .../_client/models/set_pricing_request.py | 4 +- src/otari/_client/models/source.py | 4 +- src/otari/_client/models/system.py | 4 +- src/otari/_client/models/system1.py | 4 +- src/otari/_client/models/tool_calls_inner.py | 4 +- src/otari/_client/models/tool_choice.py | 4 +- .../_client/models/update_budget_request.py | 4 +- .../_client/models/update_key_request.py | 4 +- .../_client/models/update_user_request.py | 4 +- src/otari/_client/models/usage_entry.py | 4 +- .../_client/models/usage_log_response.py | 4 +- src/otari/_client/models/user_response.py | 4 +- src/otari/_client/models/validation_error.py | 4 +- src/otari/_client/rest.py | 4 +- 186 files changed, 1838 insertions(+), 371 deletions(-) create mode 100644 src/otari/_client/api/files_api.py diff --git a/src/otari/_client/__init__.py b/src/otari/_client/__init__.py index c5f9792..d4826b9 100644 --- a/src/otari/_client/__init__.py +++ b/src/otari/_client/__init__.py @@ -3,9 +3,9 @@ # flake8: noqa """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -23,6 +23,7 @@ "BudgetsApi", "ChatApi", "EmbeddingsApi", + "FilesApi", "HealthApi", "ImagesApi", "KeysApi", @@ -213,6 +214,7 @@ from otari._client.api.budgets_api import BudgetsApi as BudgetsApi from otari._client.api.chat_api import ChatApi as ChatApi from otari._client.api.embeddings_api import EmbeddingsApi as EmbeddingsApi +from otari._client.api.files_api import FilesApi as FilesApi from otari._client.api.health_api import HealthApi as HealthApi from otari._client.api.images_api import ImagesApi as ImagesApi from otari._client.api.keys_api import KeysApi as KeysApi diff --git a/src/otari/_client/api/__init__.py b/src/otari/_client/api/__init__.py index 460b2a7..ae486dd 100644 --- a/src/otari/_client/api/__init__.py +++ b/src/otari/_client/api/__init__.py @@ -6,6 +6,7 @@ from otari._client.api.budgets_api import BudgetsApi from otari._client.api.chat_api import ChatApi from otari._client.api.embeddings_api import EmbeddingsApi +from otari._client.api.files_api import FilesApi from otari._client.api.health_api import HealthApi from otari._client.api.images_api import ImagesApi from otari._client.api.keys_api import KeysApi diff --git a/src/otari/_client/api/audio_api.py b/src/otari/_client/api/audio_api.py index 2418145..6f3d93e 100644 --- a/src/otari/_client/api/audio_api.py +++ b/src/otari/_client/api/audio_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/batches_api.py b/src/otari/_client/api/batches_api.py index 64614c8..7de0059 100644 --- a/src/otari/_client/api/batches_api.py +++ b/src/otari/_client/api/batches_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/budgets_api.py b/src/otari/_client/api/budgets_api.py index a78e6b0..a84ade2 100644 --- a/src/otari/_client/api/budgets_api.py +++ b/src/otari/_client/api/budgets_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/chat_api.py b/src/otari/_client/api/chat_api.py index 8e4b9aa..f628a2e 100644 --- a/src/otari/_client/api/chat_api.py +++ b/src/otari/_client/api/chat_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/embeddings_api.py b/src/otari/_client/api/embeddings_api.py index dc1879a..cae5575 100644 --- a/src/otari/_client/api/embeddings_api.py +++ b/src/otari/_client/api/embeddings_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/files_api.py b/src/otari/_client/api/files_api.py new file mode 100644 index 0000000..436f36f --- /dev/null +++ b/src/otari/_client/api/files_api.py @@ -0,0 +1,1464 @@ +""" + otari + + Otari, an OpenAI-compatible LLM gateway with API key management + + The version of the OpenAPI document: 0.0.0-dev + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import StrictStr +from typing import Any, Dict, Optional + +from otari._client.api_client import ApiClient, RequestSerialized +from otari._client.api_response import ApiResponse +from otari._client.rest import RESTResponseType + + +class FilesApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def create_file_v1_files_post( + self, + file: StrictStr, + purpose: Optional[StrictStr] = None, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Dict[str, object]: + """Create File + + OpenAI-compatible file upload endpoint. + + :param file: (required) + :type file: str + :param purpose: + :type purpose: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_file_v1_files_post_serialize( + file=file, + purpose=purpose, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_file_v1_files_post_with_http_info( + self, + file: StrictStr, + purpose: Optional[StrictStr] = None, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Dict[str, object]]: + """Create File + + OpenAI-compatible file upload endpoint. + + :param file: (required) + :type file: str + :param purpose: + :type purpose: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_file_v1_files_post_serialize( + file=file, + purpose=purpose, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_file_v1_files_post_without_preload_content( + self, + file: StrictStr, + purpose: Optional[StrictStr] = None, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create File + + OpenAI-compatible file upload endpoint. + + :param file: (required) + :type file: str + :param purpose: + :type purpose: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_file_v1_files_post_serialize( + file=file, + purpose=purpose, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_file_v1_files_post_serialize( + self, + file, + purpose, + user, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + if file is not None: + _form_params.append(('file', file)) + if purpose is not None: + _form_params.append(('purpose', purpose)) + if user is not None: + _form_params.append(('user', user)) + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'multipart/form-data' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/files', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_file_v1_files_file_id_delete( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Dict[str, object]: + """Delete File + + Soft-delete a file's metadata and remove its bytes from the backend. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_file_v1_files_file_id_delete_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_file_v1_files_file_id_delete_with_http_info( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Dict[str, object]]: + """Delete File + + Soft-delete a file's metadata and remove its bytes from the backend. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_file_v1_files_file_id_delete_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_file_v1_files_file_id_delete_without_preload_content( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete File + + Soft-delete a file's metadata and remove its bytes from the backend. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_file_v1_files_file_id_delete_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_file_v1_files_file_id_delete_serialize( + self, + file_id, + user, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if file_id is not None: + _path_params['file_id'] = file_id + # process the query parameters + if user is not None: + + _query_params.append(('user', user)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v1/files/{file_id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_file_content_v1_files_file_id_content_get( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Get File Content + + Download the raw bytes of a file. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_file_content_v1_files_file_id_content_get_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_file_content_v1_files_file_id_content_get_with_http_info( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Get File Content + + Download the raw bytes of a file. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_file_content_v1_files_file_id_content_get_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_file_content_v1_files_file_id_content_get_without_preload_content( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get File Content + + Download the raw bytes of a file. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_file_content_v1_files_file_id_content_get_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_file_content_v1_files_file_id_content_get_serialize( + self, + file_id, + user, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if file_id is not None: + _path_params['file_id'] = file_id + # process the query parameters + if user is not None: + + _query_params.append(('user', user)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/files/{file_id}/content', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_file_v1_files_file_id_get( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Dict[str, object]: + """Get File + + Retrieve metadata for a single file. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_file_v1_files_file_id_get_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_file_v1_files_file_id_get_with_http_info( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Dict[str, object]]: + """Get File + + Retrieve metadata for a single file. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_file_v1_files_file_id_get_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_file_v1_files_file_id_get_without_preload_content( + self, + file_id: StrictStr, + user: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get File + + Retrieve metadata for a single file. + + :param file_id: (required) + :type file_id: str + :param user: + :type user: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_file_v1_files_file_id_get_serialize( + file_id=file_id, + user=user, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_file_v1_files_file_id_get_serialize( + self, + file_id, + user, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if file_id is not None: + _path_params['file_id'] = file_id + # process the query parameters + if user is not None: + + _query_params.append(('user', user)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/files/{file_id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def list_files_v1_files_get( + self, + user: Optional[StrictStr] = None, + purpose: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Dict[str, object]: + """List Files + + List the authenticated user's uploaded files. + + :param user: + :type user: str + :param purpose: + :type purpose: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_files_v1_files_get_serialize( + user=user, + purpose=purpose, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def list_files_v1_files_get_with_http_info( + self, + user: Optional[StrictStr] = None, + purpose: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[Dict[str, object]]: + """List Files + + List the authenticated user's uploaded files. + + :param user: + :type user: str + :param purpose: + :type purpose: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_files_v1_files_get_serialize( + user=user, + purpose=purpose, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def list_files_v1_files_get_without_preload_content( + self, + user: Optional[StrictStr] = None, + purpose: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """List Files + + List the authenticated user's uploaded files. + + :param user: + :type user: str + :param purpose: + :type purpose: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_files_v1_files_get_serialize( + user=user, + purpose=purpose, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, object]", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _list_files_v1_files_get_serialize( + self, + user, + purpose, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if user is not None: + + _query_params.append(('user', user)) + + if purpose is not None: + + _query_params.append(('purpose', purpose)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/files', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/src/otari/_client/api/health_api.py b/src/otari/_client/api/health_api.py index 4248817..669c1ca 100644 --- a/src/otari/_client/api/health_api.py +++ b/src/otari/_client/api/health_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/images_api.py b/src/otari/_client/api/images_api.py index f5b26ab..7dec364 100644 --- a/src/otari/_client/api/images_api.py +++ b/src/otari/_client/api/images_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/keys_api.py b/src/otari/_client/api/keys_api.py index 1a9432b..f56483f 100644 --- a/src/otari/_client/api/keys_api.py +++ b/src/otari/_client/api/keys_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/messages_api.py b/src/otari/_client/api/messages_api.py index 0d7dd03..5044b01 100644 --- a/src/otari/_client/api/messages_api.py +++ b/src/otari/_client/api/messages_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/models_api.py b/src/otari/_client/api/models_api.py index 6b43e30..9dada8b 100644 --- a/src/otari/_client/api/models_api.py +++ b/src/otari/_client/api/models_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/moderations_api.py b/src/otari/_client/api/moderations_api.py index e8e0cee..b5359c7 100644 --- a/src/otari/_client/api/moderations_api.py +++ b/src/otari/_client/api/moderations_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/pricing_api.py b/src/otari/_client/api/pricing_api.py index a735ba8..89935f2 100644 --- a/src/otari/_client/api/pricing_api.py +++ b/src/otari/_client/api/pricing_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/rerank_api.py b/src/otari/_client/api/rerank_api.py index 78cf4df..13e2d00 100644 --- a/src/otari/_client/api/rerank_api.py +++ b/src/otari/_client/api/rerank_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/responses_api.py b/src/otari/_client/api/responses_api.py index 36f6a1c..330d110 100644 --- a/src/otari/_client/api/responses_api.py +++ b/src/otari/_client/api/responses_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/usage_api.py b/src/otari/_client/api/usage_api.py index 7782989..ae174f6 100644 --- a/src/otari/_client/api/usage_api.py +++ b/src/otari/_client/api/usage_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api/users_api.py b/src/otari/_client/api/users_api.py index b105597..dff3cde 100644 --- a/src/otari/_client/api/users_api.py +++ b/src/otari/_client/api/users_api.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/api_client.py b/src/otari/_client/api_client.py index d8d0b13..1906753 100644 --- a/src/otari/_client/api_client.py +++ b/src/otari/_client/api_client.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/configuration.py b/src/otari/_client/configuration.py index 5cd7bc4..dac0797 100644 --- a/src/otari/_client/configuration.py +++ b/src/otari/_client/configuration.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/exceptions.py b/src/otari/_client/exceptions.py index 2a606c6..60f1842 100644 --- a/src/otari/_client/exceptions.py +++ b/src/otari/_client/exceptions.py @@ -1,7 +1,7 @@ """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/__init__.py b/src/otari/_client/models/__init__.py index a180f04..b463cd9 100644 --- a/src/otari/_client/models/__init__.py +++ b/src/otari/_client/models/__init__.py @@ -2,9 +2,9 @@ # flake8: noqa """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/audio_speech_request.py b/src/otari/_client/models/audio_speech_request.py index 0cc33ee..a7746b8 100644 --- a/src/otari/_client/models/audio_speech_request.py +++ b/src/otari/_client/models/audio_speech_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/batch_request_item.py b/src/otari/_client/models/batch_request_item.py index 149a48d..1bfd5a9 100644 --- a/src/otari/_client/models/batch_request_item.py +++ b/src/otari/_client/models/batch_request_item.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/budget_response.py b/src/otari/_client/models/budget_response.py index 2b4d473..d96a9cf 100644 --- a/src/otari/_client/models/budget_response.py +++ b/src/otari/_client/models/budget_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/caller.py b/src/otari/_client/models/caller.py index a3a2d72..5e2cd83 100644 --- a/src/otari/_client/models/caller.py +++ b/src/otari/_client/models/caller.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_chat_completion_audio.py b/src/otari/_client/models/cc_chat_completion_audio.py index 88acc49..05b0623 100644 --- a/src/otari/_client/models/cc_chat_completion_audio.py +++ b/src/otari/_client/models/cc_chat_completion_audio.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_chat_completion_message.py b/src/otari/_client/models/cc_chat_completion_message.py index 4d78a63..1590978 100644 --- a/src/otari/_client/models/cc_chat_completion_message.py +++ b/src/otari/_client/models/cc_chat_completion_message.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_chat_completion_message_custom_tool_call.py b/src/otari/_client/models/cc_chat_completion_message_custom_tool_call.py index cab3b5b..170020d 100644 --- a/src/otari/_client/models/cc_chat_completion_message_custom_tool_call.py +++ b/src/otari/_client/models/cc_chat_completion_message_custom_tool_call.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_chat_completion_message_function_tool_call.py b/src/otari/_client/models/cc_chat_completion_message_function_tool_call.py index fd1c101..89b94a4 100644 --- a/src/otari/_client/models/cc_chat_completion_message_function_tool_call.py +++ b/src/otari/_client/models/cc_chat_completion_message_function_tool_call.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_chat_completion_message_tool_calls_inner.py b/src/otari/_client/models/cc_chat_completion_message_tool_calls_inner.py index 2fd774f..5409aa0 100644 --- a/src/otari/_client/models/cc_chat_completion_message_tool_calls_inner.py +++ b/src/otari/_client/models/cc_chat_completion_message_tool_calls_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_chat_completion_token_logprob.py b/src/otari/_client/models/cc_chat_completion_token_logprob.py index 5443004..1608033 100644 --- a/src/otari/_client/models/cc_chat_completion_token_logprob.py +++ b/src/otari/_client/models/cc_chat_completion_token_logprob.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_choice.py b/src/otari/_client/models/cc_choice.py index 2a23c8c..9c97311 100644 --- a/src/otari/_client/models/cc_choice.py +++ b/src/otari/_client/models/cc_choice.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_choice_logprobs.py b/src/otari/_client/models/cc_choice_logprobs.py index 7bb4175..48ec8d8 100644 --- a/src/otari/_client/models/cc_choice_logprobs.py +++ b/src/otari/_client/models/cc_choice_logprobs.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_completion_tokens_details.py b/src/otari/_client/models/cc_completion_tokens_details.py index 47caf33..3835562 100644 --- a/src/otari/_client/models/cc_completion_tokens_details.py +++ b/src/otari/_client/models/cc_completion_tokens_details.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_completion_usage.py b/src/otari/_client/models/cc_completion_usage.py index 105ca2f..fa7f7eb 100644 --- a/src/otari/_client/models/cc_completion_usage.py +++ b/src/otari/_client/models/cc_completion_usage.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_custom.py b/src/otari/_client/models/cc_custom.py index 54686ac..952bfce 100644 --- a/src/otari/_client/models/cc_custom.py +++ b/src/otari/_client/models/cc_custom.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_function.py b/src/otari/_client/models/cc_function.py index af06013..28f4e3b 100644 --- a/src/otari/_client/models/cc_function.py +++ b/src/otari/_client/models/cc_function.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_function_call.py b/src/otari/_client/models/cc_function_call.py index 25bb26f..7e6621a 100644 --- a/src/otari/_client/models/cc_function_call.py +++ b/src/otari/_client/models/cc_function_call.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_prompt_tokens_details.py b/src/otari/_client/models/cc_prompt_tokens_details.py index dc36bbb..77fbd52 100644 --- a/src/otari/_client/models/cc_prompt_tokens_details.py +++ b/src/otari/_client/models/cc_prompt_tokens_details.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cc_top_logprob.py b/src/otari/_client/models/cc_top_logprob.py index f078648..07b46ae 100644 --- a/src/otari/_client/models/cc_top_logprob.py +++ b/src/otari/_client/models/cc_top_logprob.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_chat_completion_token_logprob.py b/src/otari/_client/models/cck_chat_completion_token_logprob.py index cede850..d745840 100644 --- a/src/otari/_client/models/cck_chat_completion_token_logprob.py +++ b/src/otari/_client/models/cck_chat_completion_token_logprob.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_choice_delta.py b/src/otari/_client/models/cck_choice_delta.py index ed4045b..ebdb11d 100644 --- a/src/otari/_client/models/cck_choice_delta.py +++ b/src/otari/_client/models/cck_choice_delta.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_choice_delta_function_call.py b/src/otari/_client/models/cck_choice_delta_function_call.py index b2e0862..c9d4b0f 100644 --- a/src/otari/_client/models/cck_choice_delta_function_call.py +++ b/src/otari/_client/models/cck_choice_delta_function_call.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_choice_delta_tool_call.py b/src/otari/_client/models/cck_choice_delta_tool_call.py index cf7e4e9..424165a 100644 --- a/src/otari/_client/models/cck_choice_delta_tool_call.py +++ b/src/otari/_client/models/cck_choice_delta_tool_call.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_choice_delta_tool_call_function.py b/src/otari/_client/models/cck_choice_delta_tool_call_function.py index 6af39e7..322e1db 100644 --- a/src/otari/_client/models/cck_choice_delta_tool_call_function.py +++ b/src/otari/_client/models/cck_choice_delta_tool_call_function.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_choice_logprobs.py b/src/otari/_client/models/cck_choice_logprobs.py index 14832de..f29fd85 100644 --- a/src/otari/_client/models/cck_choice_logprobs.py +++ b/src/otari/_client/models/cck_choice_logprobs.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_chunk_choice.py b/src/otari/_client/models/cck_chunk_choice.py index 167c5ca..ce33628 100644 --- a/src/otari/_client/models/cck_chunk_choice.py +++ b/src/otari/_client/models/cck_chunk_choice.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_completion_tokens_details.py b/src/otari/_client/models/cck_completion_tokens_details.py index 32073f9..1650fae 100644 --- a/src/otari/_client/models/cck_completion_tokens_details.py +++ b/src/otari/_client/models/cck_completion_tokens_details.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_completion_usage.py b/src/otari/_client/models/cck_completion_usage.py index a04ee69..be68c7e 100644 --- a/src/otari/_client/models/cck_completion_usage.py +++ b/src/otari/_client/models/cck_completion_usage.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_prompt_tokens_details.py b/src/otari/_client/models/cck_prompt_tokens_details.py index 9630316..4918365 100644 --- a/src/otari/_client/models/cck_prompt_tokens_details.py +++ b/src/otari/_client/models/cck_prompt_tokens_details.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/cck_top_logprob.py b/src/otari/_client/models/cck_top_logprob.py index b8173e6..cd28e2f 100644 --- a/src/otari/_client/models/cck_top_logprob.py +++ b/src/otari/_client/models/cck_top_logprob.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/chat_completion.py b/src/otari/_client/models/chat_completion.py index 5e33613..a984e66 100644 --- a/src/otari/_client/models/chat_completion.py +++ b/src/otari/_client/models/chat_completion.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/chat_completion_chunk.py b/src/otari/_client/models/chat_completion_chunk.py index 3b6e819..1650b2d 100644 --- a/src/otari/_client/models/chat_completion_chunk.py +++ b/src/otari/_client/models/chat_completion_chunk.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/chat_completion_request.py b/src/otari/_client/models/chat_completion_request.py index 80c0bdf..861d41c 100644 --- a/src/otari/_client/models/chat_completion_request.py +++ b/src/otari/_client/models/chat_completion_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,7 +47,7 @@ class ChatCompletionRequest(BaseModel): temperature: Optional[Union[StrictFloat, StrictInt]] = None tool_choice: Optional[ToolChoice] = None tools: Optional[List[Optional[Dict[str, Any]]]] = None - tools_header: Optional[Annotated[str, Field(strict=True, max_length=4000)]] = Field(default=None, description="Optional override for the lead-in that the gateway prepends before the per-tool hint block in the system message. Useful for expressing global tool-selection policy (e.g. 'prefer MCP tools over code_execution'). Falls back to GATEWAY_TOOLS_HEADER env, then to the built-in default.") + tools_header: Optional[Annotated[str, Field(strict=True, max_length=4000)]] = Field(default=None, description="Optional override for the lead-in that the gateway prepends before the per-tool hint block in the system message. Useful for expressing global tool-selection policy (e.g. 'prefer MCP tools over code_execution'). Falls back to OTARI_TOOLS_HEADER env, then to the built-in default.") top_p: Optional[Union[StrictFloat, StrictInt]] = None user: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["guardrails", "max_completion_tokens", "max_tokens", "max_tool_iterations", "mcp_server_ids", "mcp_servers", "messages", "model", "response_format", "stream", "stream_options", "temperature", "tool_choice", "tools", "tools_header", "top_p", "user"] diff --git a/src/otari/_client/models/chat_message_input.py b/src/otari/_client/models/chat_message_input.py index 0c59fce..293271c 100644 --- a/src/otari/_client/models/chat_message_input.py +++ b/src/otari/_client/models/chat_message_input.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content.py b/src/otari/_client/models/content.py index b03a3aa..e82740d 100644 --- a/src/otari/_client/models/content.py +++ b/src/otari/_client/models/content.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content1.py b/src/otari/_client/models/content1.py index 2bd24ef..621772b 100644 --- a/src/otari/_client/models/content1.py +++ b/src/otari/_client/models/content1.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content2.py b/src/otari/_client/models/content2.py index b56eebf..bcfe5c0 100644 --- a/src/otari/_client/models/content2.py +++ b/src/otari/_client/models/content2.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content2_any_of_inner.py b/src/otari/_client/models/content2_any_of_inner.py index 40320a0..ac41fe0 100644 --- a/src/otari/_client/models/content2_any_of_inner.py +++ b/src/otari/_client/models/content2_any_of_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content3.py b/src/otari/_client/models/content3.py index c684bbe..ad18554 100644 --- a/src/otari/_client/models/content3.py +++ b/src/otari/_client/models/content3.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content4.py b/src/otari/_client/models/content4.py index e1b3b2f..141f1fa 100644 --- a/src/otari/_client/models/content4.py +++ b/src/otari/_client/models/content4.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content5.py b/src/otari/_client/models/content5.py index 7139a32..fca05cf 100644 --- a/src/otari/_client/models/content5.py +++ b/src/otari/_client/models/content5.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content6.py b/src/otari/_client/models/content6.py index 9d80fde..b070cb1 100644 --- a/src/otari/_client/models/content6.py +++ b/src/otari/_client/models/content6.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content7.py b/src/otari/_client/models/content7.py index 9d8702a..00dac32 100644 --- a/src/otari/_client/models/content7.py +++ b/src/otari/_client/models/content7.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content8.py b/src/otari/_client/models/content8.py index a745767..912ede7 100644 --- a/src/otari/_client/models/content8.py +++ b/src/otari/_client/models/content8.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content9_inner.py b/src/otari/_client/models/content9_inner.py index b4fc172..c3291fe 100644 --- a/src/otari/_client/models/content9_inner.py +++ b/src/otari/_client/models/content9_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/content_any_of_inner.py b/src/otari/_client/models/content_any_of_inner.py index d58b39f..190701b 100644 --- a/src/otari/_client/models/content_any_of_inner.py +++ b/src/otari/_client/models/content_any_of_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/count_tokens_request.py b/src/otari/_client/models/count_tokens_request.py index 74f9ac3..e331db5 100644 --- a/src/otari/_client/models/count_tokens_request.py +++ b/src/otari/_client/models/count_tokens_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/count_tokens_response.py b/src/otari/_client/models/count_tokens_response.py index 50f1347..744ad13 100644 --- a/src/otari/_client/models/count_tokens_response.py +++ b/src/otari/_client/models/count_tokens_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/create_batch_request.py b/src/otari/_client/models/create_batch_request.py index 0a6f3dc..63571ef 100644 --- a/src/otari/_client/models/create_batch_request.py +++ b/src/otari/_client/models/create_batch_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/create_budget_request.py b/src/otari/_client/models/create_budget_request.py index e9f8a41..25512a2 100644 --- a/src/otari/_client/models/create_budget_request.py +++ b/src/otari/_client/models/create_budget_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/create_embedding_response.py b/src/otari/_client/models/create_embedding_response.py index 4b1ef54..7af7334 100644 --- a/src/otari/_client/models/create_embedding_response.py +++ b/src/otari/_client/models/create_embedding_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/create_key_request.py b/src/otari/_client/models/create_key_request.py index 114145f..c43a498 100644 --- a/src/otari/_client/models/create_key_request.py +++ b/src/otari/_client/models/create_key_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/create_key_response.py b/src/otari/_client/models/create_key_response.py index d279801..f94f286 100644 --- a/src/otari/_client/models/create_key_response.py +++ b/src/otari/_client/models/create_key_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/create_user_request.py b/src/otari/_client/models/create_user_request.py index 1003904..168bd9a 100644 --- a/src/otari/_client/models/create_user_request.py +++ b/src/otari/_client/models/create_user_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/emb_embedding.py b/src/otari/_client/models/emb_embedding.py index 4cef120..e5af620 100644 --- a/src/otari/_client/models/emb_embedding.py +++ b/src/otari/_client/models/emb_embedding.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/emb_usage.py b/src/otari/_client/models/emb_usage.py index 4bbc5be..bbb1871 100644 --- a/src/otari/_client/models/emb_usage.py +++ b/src/otari/_client/models/emb_usage.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/embedding_request.py b/src/otari/_client/models/embedding_request.py index 4ab6215..1e8dc68 100644 --- a/src/otari/_client/models/embedding_request.py +++ b/src/otari/_client/models/embedding_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/guardrail_config.py b/src/otari/_client/models/guardrail_config.py index 89d663d..f6a9560 100644 --- a/src/otari/_client/models/guardrail_config.py +++ b/src/otari/_client/models/guardrail_config.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -26,7 +26,7 @@ class GuardrailConfig(BaseModel): """ - A single guardrail check the caller wants the gateway to enforce. URL safety: when ``url`` is supplied it is validated at parse time with the same SSRF guard used for MCP server URLs (loopback allowed by default for same-host sidecars; gated by ``GATEWAY_MCP_ALLOW_LOOPBACK`` / ``GATEWAY_MCP_ALLOW_PRIVATE_HOSTS``). Most deployments omit ``url`` and rely on the operator-set ``GATEWAY_GUARDRAILS_URL`` instead. + A single guardrail check the caller wants the gateway to enforce. URL safety: when ``url`` is supplied it is validated at parse time with the same SSRF guard used for MCP server URLs (loopback allowed by default for same-host sidecars; gated by ``OTARI_MCP_ALLOW_LOOPBACK`` / ``OTARI_MCP_ALLOW_PRIVATE_HOSTS``). Most deployments omit ``url`` and rely on the operator-set ``OTARI_GUARDRAILS_URL`` instead. """ # noqa: E501 mode: Optional[StrictStr] = 'monitor' on: Optional[List[StrictStr]] = None diff --git a/src/otari/_client/models/http_validation_error.py b/src/otari/_client/models/http_validation_error.py index 9adaa01..7316871 100644 --- a/src/otari/_client/models/http_validation_error.py +++ b/src/otari/_client/models/http_validation_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/image_generation_request.py b/src/otari/_client/models/image_generation_request.py index 7452d9f..4e01d2e 100644 --- a/src/otari/_client/models/image_generation_request.py +++ b/src/otari/_client/models/image_generation_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/input.py b/src/otari/_client/models/input.py index 90b6639..9ec3ecf 100644 --- a/src/otari/_client/models/input.py +++ b/src/otari/_client/models/input.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/input1.py b/src/otari/_client/models/input1.py index 47fa16d..0151f7f 100644 --- a/src/otari/_client/models/input1.py +++ b/src/otari/_client/models/input1.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/key_info.py b/src/otari/_client/models/key_info.py index e018dd0..b3f52f3 100644 --- a/src/otari/_client/models/key_info.py +++ b/src/otari/_client/models/key_info.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/location_inner.py b/src/otari/_client/models/location_inner.py index 502dd3d..da39cc0 100644 --- a/src/otari/_client/models/location_inner.py +++ b/src/otari/_client/models/location_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mcp_server_config.py b/src/otari/_client/models/mcp_server_config.py index f66ffa0..f1f286c 100644 --- a/src/otari/_client/models/mcp_server_config.py +++ b/src/otari/_client/models/mcp_server_config.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -26,7 +26,7 @@ class McpServerConfig(BaseModel): """ - Inline MCP server configuration accepted on the chat completions request. Streamable HTTP transport. The `url` must be reachable from the gateway process. URL safety is enforced at parse time: * SSRF guard rejects private, link-local, and reserved IP ranges. Loopback is allowed by default (sidecars, dev) — set ``GATEWAY_MCP_ALLOW_LOOPBACK=false`` to disable. * Plain ``http://`` is rejected when ``authorization_token`` is set, to keep bearer tokens off the wire in cleartext. + Inline MCP server configuration accepted on the chat completions request. Streamable HTTP transport. The `url` must be reachable from the gateway process. URL safety is enforced at parse time: * SSRF guard rejects private, link-local, and reserved IP ranges. Loopback is allowed by default (sidecars, dev) — set ``OTARI_MCP_ALLOW_LOOPBACK=false`` to disable. * Plain ``http://`` is rejected when ``authorization_token`` is set, to keep bearer tokens off the wire in cleartext. """ # noqa: E501 allowed_tools: Optional[List[StrictStr]] = None authorization_token: Optional[StrictStr] = None diff --git a/src/otari/_client/models/message_response.py b/src/otari/_client/models/message_response.py index b8f2149..601cc00 100644 --- a/src/otari/_client/models/message_response.py +++ b/src/otari/_client/models/message_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/messages_request.py b/src/otari/_client/models/messages_request.py index 1d9e9d7..18c3da3 100644 --- a/src/otari/_client/models/messages_request.py +++ b/src/otari/_client/models/messages_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/model.py b/src/otari/_client/models/model.py index 86ca45a..b4ccbbb 100644 --- a/src/otari/_client/models/model.py +++ b/src/otari/_client/models/model.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/model_list_response.py b/src/otari/_client/models/model_list_response.py index 8c8dedb..3dfaaf5 100644 --- a/src/otari/_client/models/model_list_response.py +++ b/src/otari/_client/models/model_list_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/model_object.py b/src/otari/_client/models/model_object.py index 6c58a63..c96fa7f 100644 --- a/src/otari/_client/models/model_object.py +++ b/src/otari/_client/models/model_object.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/model_pricing_info.py b/src/otari/_client/models/model_pricing_info.py index 53b91c6..12f67e1 100644 --- a/src/otari/_client/models/model_pricing_info.py +++ b/src/otari/_client/models/model_pricing_info.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/moderation_request.py b/src/otari/_client/models/moderation_request.py index f88e3e0..aded4b3 100644 --- a/src/otari/_client/models/moderation_request.py +++ b/src/otari/_client/models/moderation_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/moderation_response.py b/src/otari/_client/models/moderation_response.py index 1e1e198..b1afb7b 100644 --- a/src/otari/_client/models/moderation_response.py +++ b/src/otari/_client/models/moderation_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/moderation_result.py b/src/otari/_client/models/moderation_result.py index 228785d..aeeaaaf 100644 --- a/src/otari/_client/models/moderation_result.py +++ b/src/otari/_client/models/moderation_result.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_base64_pdf_source.py b/src/otari/_client/models/mr_base64_pdf_source.py index 1a75703..4ca361b 100644 --- a/src/otari/_client/models/mr_base64_pdf_source.py +++ b/src/otari/_client/models/mr_base64_pdf_source.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_bash_code_execution_output_block.py b/src/otari/_client/models/mr_bash_code_execution_output_block.py index de705c2..af44d3f 100644 --- a/src/otari/_client/models/mr_bash_code_execution_output_block.py +++ b/src/otari/_client/models/mr_bash_code_execution_output_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_bash_code_execution_result_block.py b/src/otari/_client/models/mr_bash_code_execution_result_block.py index 6f0284e..aab683a 100644 --- a/src/otari/_client/models/mr_bash_code_execution_result_block.py +++ b/src/otari/_client/models/mr_bash_code_execution_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_bash_code_execution_tool_result_block.py b/src/otari/_client/models/mr_bash_code_execution_tool_result_block.py index 2c81ae0..d4503ca 100644 --- a/src/otari/_client/models/mr_bash_code_execution_tool_result_block.py +++ b/src/otari/_client/models/mr_bash_code_execution_tool_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_bash_code_execution_tool_result_error.py b/src/otari/_client/models/mr_bash_code_execution_tool_result_error.py index 1e778a3..65ce09a 100644 --- a/src/otari/_client/models/mr_bash_code_execution_tool_result_error.py +++ b/src/otari/_client/models/mr_bash_code_execution_tool_result_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_cache_creation.py b/src/otari/_client/models/mr_cache_creation.py index 72cf31a..c8702a3 100644 --- a/src/otari/_client/models/mr_cache_creation.py +++ b/src/otari/_client/models/mr_cache_creation.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_citation_char_location.py b/src/otari/_client/models/mr_citation_char_location.py index e89c000..77ee819 100644 --- a/src/otari/_client/models/mr_citation_char_location.py +++ b/src/otari/_client/models/mr_citation_char_location.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_citation_content_block_location.py b/src/otari/_client/models/mr_citation_content_block_location.py index 44eb0ef..82a4130 100644 --- a/src/otari/_client/models/mr_citation_content_block_location.py +++ b/src/otari/_client/models/mr_citation_content_block_location.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_citation_page_location.py b/src/otari/_client/models/mr_citation_page_location.py index f25af13..a439b4d 100644 --- a/src/otari/_client/models/mr_citation_page_location.py +++ b/src/otari/_client/models/mr_citation_page_location.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_citations_config.py b/src/otari/_client/models/mr_citations_config.py index d28a098..a8b0abc 100644 --- a/src/otari/_client/models/mr_citations_config.py +++ b/src/otari/_client/models/mr_citations_config.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_citations_search_result_location.py b/src/otari/_client/models/mr_citations_search_result_location.py index d4c7b24..c4000c5 100644 --- a/src/otari/_client/models/mr_citations_search_result_location.py +++ b/src/otari/_client/models/mr_citations_search_result_location.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_citations_web_search_result_location.py b/src/otari/_client/models/mr_citations_web_search_result_location.py index 0cac01d..ccc3528 100644 --- a/src/otari/_client/models/mr_citations_web_search_result_location.py +++ b/src/otari/_client/models/mr_citations_web_search_result_location.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_code_execution_output_block.py b/src/otari/_client/models/mr_code_execution_output_block.py index f7ec443..f1c4aac 100644 --- a/src/otari/_client/models/mr_code_execution_output_block.py +++ b/src/otari/_client/models/mr_code_execution_output_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_code_execution_result_block.py b/src/otari/_client/models/mr_code_execution_result_block.py index d806e2a..2844b19 100644 --- a/src/otari/_client/models/mr_code_execution_result_block.py +++ b/src/otari/_client/models/mr_code_execution_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_code_execution_tool_result_block.py b/src/otari/_client/models/mr_code_execution_tool_result_block.py index 4425e2c..290943f 100644 --- a/src/otari/_client/models/mr_code_execution_tool_result_block.py +++ b/src/otari/_client/models/mr_code_execution_tool_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_code_execution_tool_result_error.py b/src/otari/_client/models/mr_code_execution_tool_result_error.py index 9607d88..c248d25 100644 --- a/src/otari/_client/models/mr_code_execution_tool_result_error.py +++ b/src/otari/_client/models/mr_code_execution_tool_result_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_container.py b/src/otari/_client/models/mr_container.py index f6138a1..0f21e15 100644 --- a/src/otari/_client/models/mr_container.py +++ b/src/otari/_client/models/mr_container.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_container_upload_block.py b/src/otari/_client/models/mr_container_upload_block.py index 71c88b7..8d4af0e 100644 --- a/src/otari/_client/models/mr_container_upload_block.py +++ b/src/otari/_client/models/mr_container_upload_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_direct_caller.py b/src/otari/_client/models/mr_direct_caller.py index 89402a7..82a65f8 100644 --- a/src/otari/_client/models/mr_direct_caller.py +++ b/src/otari/_client/models/mr_direct_caller.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_document_block.py b/src/otari/_client/models/mr_document_block.py index 659ffe3..a71948d 100644 --- a/src/otari/_client/models/mr_document_block.py +++ b/src/otari/_client/models/mr_document_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_encrypted_code_execution_result_block.py b/src/otari/_client/models/mr_encrypted_code_execution_result_block.py index 3b19632..0cd2288 100644 --- a/src/otari/_client/models/mr_encrypted_code_execution_result_block.py +++ b/src/otari/_client/models/mr_encrypted_code_execution_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_plain_text_source.py b/src/otari/_client/models/mr_plain_text_source.py index 0f8c0cf..396af6d 100644 --- a/src/otari/_client/models/mr_plain_text_source.py +++ b/src/otari/_client/models/mr_plain_text_source.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_redacted_thinking_block.py b/src/otari/_client/models/mr_redacted_thinking_block.py index d7f9321..542c1fc 100644 --- a/src/otari/_client/models/mr_redacted_thinking_block.py +++ b/src/otari/_client/models/mr_redacted_thinking_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_refusal_stop_details.py b/src/otari/_client/models/mr_refusal_stop_details.py index aa50caf..972ef18 100644 --- a/src/otari/_client/models/mr_refusal_stop_details.py +++ b/src/otari/_client/models/mr_refusal_stop_details.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_server_tool_caller.py b/src/otari/_client/models/mr_server_tool_caller.py index 7d7c1c2..335a283 100644 --- a/src/otari/_client/models/mr_server_tool_caller.py +++ b/src/otari/_client/models/mr_server_tool_caller.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_server_tool_caller20260120.py b/src/otari/_client/models/mr_server_tool_caller20260120.py index 32cefc1..7b52504 100644 --- a/src/otari/_client/models/mr_server_tool_caller20260120.py +++ b/src/otari/_client/models/mr_server_tool_caller20260120.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_server_tool_usage.py b/src/otari/_client/models/mr_server_tool_usage.py index 33e9b68..bfe86f6 100644 --- a/src/otari/_client/models/mr_server_tool_usage.py +++ b/src/otari/_client/models/mr_server_tool_usage.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_server_tool_use_block.py b/src/otari/_client/models/mr_server_tool_use_block.py index 85e3bb8..ffa270f 100644 --- a/src/otari/_client/models/mr_server_tool_use_block.py +++ b/src/otari/_client/models/mr_server_tool_use_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_block.py b/src/otari/_client/models/mr_text_block.py index 68f23d3..3f045bf 100644 --- a/src/otari/_client/models/mr_text_block.py +++ b/src/otari/_client/models/mr_text_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_block_citations_inner.py b/src/otari/_client/models/mr_text_block_citations_inner.py index 0f9c048..344c631 100644 --- a/src/otari/_client/models/mr_text_block_citations_inner.py +++ b/src/otari/_client/models/mr_text_block_citations_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_editor_code_execution_create_result_block.py b/src/otari/_client/models/mr_text_editor_code_execution_create_result_block.py index aff6721..1c879c0 100644 --- a/src/otari/_client/models/mr_text_editor_code_execution_create_result_block.py +++ b/src/otari/_client/models/mr_text_editor_code_execution_create_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_editor_code_execution_str_replace_result_block.py b/src/otari/_client/models/mr_text_editor_code_execution_str_replace_result_block.py index c87747a..255c474 100644 --- a/src/otari/_client/models/mr_text_editor_code_execution_str_replace_result_block.py +++ b/src/otari/_client/models/mr_text_editor_code_execution_str_replace_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_editor_code_execution_tool_result_block.py b/src/otari/_client/models/mr_text_editor_code_execution_tool_result_block.py index df4a3b9..feba4d0 100644 --- a/src/otari/_client/models/mr_text_editor_code_execution_tool_result_block.py +++ b/src/otari/_client/models/mr_text_editor_code_execution_tool_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_editor_code_execution_tool_result_error.py b/src/otari/_client/models/mr_text_editor_code_execution_tool_result_error.py index 835e761..b8630ed 100644 --- a/src/otari/_client/models/mr_text_editor_code_execution_tool_result_error.py +++ b/src/otari/_client/models/mr_text_editor_code_execution_tool_result_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_text_editor_code_execution_view_result_block.py b/src/otari/_client/models/mr_text_editor_code_execution_view_result_block.py index cb3dfa1..19b1062 100644 --- a/src/otari/_client/models/mr_text_editor_code_execution_view_result_block.py +++ b/src/otari/_client/models/mr_text_editor_code_execution_view_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_thinking_block.py b/src/otari/_client/models/mr_thinking_block.py index a0596bd..f228d93 100644 --- a/src/otari/_client/models/mr_thinking_block.py +++ b/src/otari/_client/models/mr_thinking_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_tool_reference_block.py b/src/otari/_client/models/mr_tool_reference_block.py index 0f9190c..5dfce59 100644 --- a/src/otari/_client/models/mr_tool_reference_block.py +++ b/src/otari/_client/models/mr_tool_reference_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_tool_search_tool_result_block.py b/src/otari/_client/models/mr_tool_search_tool_result_block.py index ba42f16..843bc98 100644 --- a/src/otari/_client/models/mr_tool_search_tool_result_block.py +++ b/src/otari/_client/models/mr_tool_search_tool_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_tool_search_tool_result_error.py b/src/otari/_client/models/mr_tool_search_tool_result_error.py index 9d456e6..153e2ac 100644 --- a/src/otari/_client/models/mr_tool_search_tool_result_error.py +++ b/src/otari/_client/models/mr_tool_search_tool_result_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_tool_search_tool_search_result_block.py b/src/otari/_client/models/mr_tool_search_tool_search_result_block.py index 7e6ec0d..288f7a3 100644 --- a/src/otari/_client/models/mr_tool_search_tool_search_result_block.py +++ b/src/otari/_client/models/mr_tool_search_tool_search_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_tool_use_block.py b/src/otari/_client/models/mr_tool_use_block.py index f291389..8c26f31 100644 --- a/src/otari/_client/models/mr_tool_use_block.py +++ b/src/otari/_client/models/mr_tool_use_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_usage.py b/src/otari/_client/models/mr_usage.py index d9f799c..c811895 100644 --- a/src/otari/_client/models/mr_usage.py +++ b/src/otari/_client/models/mr_usage.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_web_fetch_block.py b/src/otari/_client/models/mr_web_fetch_block.py index 9008b44..4d5635c 100644 --- a/src/otari/_client/models/mr_web_fetch_block.py +++ b/src/otari/_client/models/mr_web_fetch_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_web_fetch_tool_result_block.py b/src/otari/_client/models/mr_web_fetch_tool_result_block.py index be167d8..4f0bc1b 100644 --- a/src/otari/_client/models/mr_web_fetch_tool_result_block.py +++ b/src/otari/_client/models/mr_web_fetch_tool_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_web_fetch_tool_result_error_block.py b/src/otari/_client/models/mr_web_fetch_tool_result_error_block.py index ae3c349..7ab44a0 100644 --- a/src/otari/_client/models/mr_web_fetch_tool_result_error_block.py +++ b/src/otari/_client/models/mr_web_fetch_tool_result_error_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_web_search_result_block.py b/src/otari/_client/models/mr_web_search_result_block.py index 7aea46b..f044cce 100644 --- a/src/otari/_client/models/mr_web_search_result_block.py +++ b/src/otari/_client/models/mr_web_search_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_web_search_tool_result_block.py b/src/otari/_client/models/mr_web_search_tool_result_block.py index a50cf76..b69c985 100644 --- a/src/otari/_client/models/mr_web_search_tool_result_block.py +++ b/src/otari/_client/models/mr_web_search_tool_result_block.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/mr_web_search_tool_result_error.py b/src/otari/_client/models/mr_web_search_tool_result_error.py index 85797c0..01a33f0 100644 --- a/src/otari/_client/models/mr_web_search_tool_result_error.py +++ b/src/otari/_client/models/mr_web_search_tool_result_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_audio.py b/src/otari/_client/models/msg_audio.py index ae38f46..f18858b 100644 --- a/src/otari/_client/models/msg_audio.py +++ b/src/otari/_client/models/msg_audio.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_assistant_message_param.py b/src/otari/_client/models/msg_chat_completion_assistant_message_param.py index c00d128..dcb2f54 100644 --- a/src/otari/_client/models/msg_chat_completion_assistant_message_param.py +++ b/src/otari/_client/models/msg_chat_completion_assistant_message_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_content_part_image_param.py b/src/otari/_client/models/msg_chat_completion_content_part_image_param.py index 5efe5de..bf99579 100644 --- a/src/otari/_client/models/msg_chat_completion_content_part_image_param.py +++ b/src/otari/_client/models/msg_chat_completion_content_part_image_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_content_part_input_audio_param.py b/src/otari/_client/models/msg_chat_completion_content_part_input_audio_param.py index 6ea1b92..6d5dc60 100644 --- a/src/otari/_client/models/msg_chat_completion_content_part_input_audio_param.py +++ b/src/otari/_client/models/msg_chat_completion_content_part_input_audio_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_content_part_refusal_param.py b/src/otari/_client/models/msg_chat_completion_content_part_refusal_param.py index 05eaf05..c402695 100644 --- a/src/otari/_client/models/msg_chat_completion_content_part_refusal_param.py +++ b/src/otari/_client/models/msg_chat_completion_content_part_refusal_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_content_part_text_param.py b/src/otari/_client/models/msg_chat_completion_content_part_text_param.py index 77092fc..e903718 100644 --- a/src/otari/_client/models/msg_chat_completion_content_part_text_param.py +++ b/src/otari/_client/models/msg_chat_completion_content_part_text_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_developer_message_param.py b/src/otari/_client/models/msg_chat_completion_developer_message_param.py index 26a85c7..7e2d68a 100644 --- a/src/otari/_client/models/msg_chat_completion_developer_message_param.py +++ b/src/otari/_client/models/msg_chat_completion_developer_message_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_function_message_param.py b/src/otari/_client/models/msg_chat_completion_function_message_param.py index 25dc541..541c427 100644 --- a/src/otari/_client/models/msg_chat_completion_function_message_param.py +++ b/src/otari/_client/models/msg_chat_completion_function_message_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_message_custom_tool_call_param.py b/src/otari/_client/models/msg_chat_completion_message_custom_tool_call_param.py index 668e929..4494541 100644 --- a/src/otari/_client/models/msg_chat_completion_message_custom_tool_call_param.py +++ b/src/otari/_client/models/msg_chat_completion_message_custom_tool_call_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_message_function_tool_call_param.py b/src/otari/_client/models/msg_chat_completion_message_function_tool_call_param.py index e3bfea3..d0c0d6b 100644 --- a/src/otari/_client/models/msg_chat_completion_message_function_tool_call_param.py +++ b/src/otari/_client/models/msg_chat_completion_message_function_tool_call_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_system_message_param.py b/src/otari/_client/models/msg_chat_completion_system_message_param.py index 8545409..3ac9008 100644 --- a/src/otari/_client/models/msg_chat_completion_system_message_param.py +++ b/src/otari/_client/models/msg_chat_completion_system_message_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_tool_message_param.py b/src/otari/_client/models/msg_chat_completion_tool_message_param.py index 05c7cb7..520fdc4 100644 --- a/src/otari/_client/models/msg_chat_completion_tool_message_param.py +++ b/src/otari/_client/models/msg_chat_completion_tool_message_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_chat_completion_user_message_param.py b/src/otari/_client/models/msg_chat_completion_user_message_param.py index 22a41bc..de7944b 100644 --- a/src/otari/_client/models/msg_chat_completion_user_message_param.py +++ b/src/otari/_client/models/msg_chat_completion_user_message_param.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_custom.py b/src/otari/_client/models/msg_custom.py index 745476c..bc452c5 100644 --- a/src/otari/_client/models/msg_custom.py +++ b/src/otari/_client/models/msg_custom.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_file.py b/src/otari/_client/models/msg_file.py index a2a2bb0..c381cf7 100644 --- a/src/otari/_client/models/msg_file.py +++ b/src/otari/_client/models/msg_file.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_file_file.py b/src/otari/_client/models/msg_file_file.py index 22d968d..e9ca9f7 100644 --- a/src/otari/_client/models/msg_file_file.py +++ b/src/otari/_client/models/msg_file_file.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_function.py b/src/otari/_client/models/msg_function.py index 819d208..ff55fc4 100644 --- a/src/otari/_client/models/msg_function.py +++ b/src/otari/_client/models/msg_function.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_function_call.py b/src/otari/_client/models/msg_function_call.py index 4ffa450..ac0d212 100644 --- a/src/otari/_client/models/msg_function_call.py +++ b/src/otari/_client/models/msg_function_call.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_image_url.py b/src/otari/_client/models/msg_image_url.py index 12b3dec..22c94d6 100644 --- a/src/otari/_client/models/msg_image_url.py +++ b/src/otari/_client/models/msg_image_url.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/msg_input_audio.py b/src/otari/_client/models/msg_input_audio.py index 7f70699..c2c5a94 100644 --- a/src/otari/_client/models/msg_input_audio.py +++ b/src/otari/_client/models/msg_input_audio.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/pricing_response.py b/src/otari/_client/models/pricing_response.py index cee74a5..af1cb90 100644 --- a/src/otari/_client/models/pricing_response.py +++ b/src/otari/_client/models/pricing_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/rerank_request.py b/src/otari/_client/models/rerank_request.py index 3e210cf..cee0d32 100644 --- a/src/otari/_client/models/rerank_request.py +++ b/src/otari/_client/models/rerank_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/rerank_response.py b/src/otari/_client/models/rerank_response.py index 0d78070..88bcd41 100644 --- a/src/otari/_client/models/rerank_response.py +++ b/src/otari/_client/models/rerank_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/responses_request.py b/src/otari/_client/models/responses_request.py index 881440a..90cee97 100644 --- a/src/otari/_client/models/responses_request.py +++ b/src/otari/_client/models/responses_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/rr_rerank_meta.py b/src/otari/_client/models/rr_rerank_meta.py index 865c2a7..63cfb6c 100644 --- a/src/otari/_client/models/rr_rerank_meta.py +++ b/src/otari/_client/models/rr_rerank_meta.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/rr_rerank_result.py b/src/otari/_client/models/rr_rerank_result.py index 9aad3e9..9b32dfa 100644 --- a/src/otari/_client/models/rr_rerank_result.py +++ b/src/otari/_client/models/rr_rerank_result.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/rr_rerank_usage.py b/src/otari/_client/models/rr_rerank_usage.py index d4bd875..c655355 100644 --- a/src/otari/_client/models/rr_rerank_usage.py +++ b/src/otari/_client/models/rr_rerank_usage.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/set_pricing_request.py b/src/otari/_client/models/set_pricing_request.py index 567e9ef..8c2892b 100644 --- a/src/otari/_client/models/set_pricing_request.py +++ b/src/otari/_client/models/set_pricing_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/source.py b/src/otari/_client/models/source.py index 33f951b..e83fd31 100644 --- a/src/otari/_client/models/source.py +++ b/src/otari/_client/models/source.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/system.py b/src/otari/_client/models/system.py index 80d4e22..9ca798f 100644 --- a/src/otari/_client/models/system.py +++ b/src/otari/_client/models/system.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/system1.py b/src/otari/_client/models/system1.py index d44f94d..da05249 100644 --- a/src/otari/_client/models/system1.py +++ b/src/otari/_client/models/system1.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/tool_calls_inner.py b/src/otari/_client/models/tool_calls_inner.py index 0136089..bdac489 100644 --- a/src/otari/_client/models/tool_calls_inner.py +++ b/src/otari/_client/models/tool_calls_inner.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/tool_choice.py b/src/otari/_client/models/tool_choice.py index 107d6c6..5031b79 100644 --- a/src/otari/_client/models/tool_choice.py +++ b/src/otari/_client/models/tool_choice.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/update_budget_request.py b/src/otari/_client/models/update_budget_request.py index 8fe3968..b43962d 100644 --- a/src/otari/_client/models/update_budget_request.py +++ b/src/otari/_client/models/update_budget_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/update_key_request.py b/src/otari/_client/models/update_key_request.py index bf773cb..a2bfbff 100644 --- a/src/otari/_client/models/update_key_request.py +++ b/src/otari/_client/models/update_key_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/update_user_request.py b/src/otari/_client/models/update_user_request.py index cd3fe41..6a90add 100644 --- a/src/otari/_client/models/update_user_request.py +++ b/src/otari/_client/models/update_user_request.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/usage_entry.py b/src/otari/_client/models/usage_entry.py index 6164329..7966543 100644 --- a/src/otari/_client/models/usage_entry.py +++ b/src/otari/_client/models/usage_entry.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/usage_log_response.py b/src/otari/_client/models/usage_log_response.py index e09b186..518d444 100644 --- a/src/otari/_client/models/usage_log_response.py +++ b/src/otari/_client/models/usage_log_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/user_response.py b/src/otari/_client/models/user_response.py index b065d87..f6344c0 100644 --- a/src/otari/_client/models/user_response.py +++ b/src/otari/_client/models/user_response.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/models/validation_error.py b/src/otari/_client/models/validation_error.py index cd002e7..5147feb 100644 --- a/src/otari/_client/models/validation_error.py +++ b/src/otari/_client/models/validation_error.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/otari/_client/rest.py b/src/otari/_client/rest.py index c9ab7a9..5d07c8d 100644 --- a/src/otari/_client/rest.py +++ b/src/otari/_client/rest.py @@ -1,9 +1,9 @@ # coding: utf-8 """ - otari-gateway + otari - A clean FastAPI gateway for otari with API key management + Otari, an OpenAI-compatible LLM gateway with API key management The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech)