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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk-endpoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ POST /v1/audio/speech # binary, not yet wrapped
POST /v1/audio/transcriptions # binary, not yet wrapped
POST /v1/images/generations # binary, not yet wrapped
GET /v1/models/{model_id} # redundant, list_models covers discovery
# Files API: added to the gateway spec, not yet wrapped by any SDK shell.
POST /v1/files # not yet wrapped
GET /v1/files # not yet wrapped
GET /v1/files/{file_id} # not yet wrapped
GET /v1/files/{file_id}/content # not yet wrapped
DELETE /v1/files/{file_id} # not yet wrapped
24 changes: 20 additions & 4 deletions src/otari/_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -23,6 +23,7 @@
"BudgetsApi",
"ChatApi",
"EmbeddingsApi",
"FilesApi",
"HealthApi",
"ImagesApi",
"KeysApi",
Expand Down Expand Up @@ -89,6 +90,7 @@
"Content8",
"Content9Inner",
"ContentAnyOfInner",
"Conversation",
"CountTokensRequest",
"CountTokensResponse",
"CreateBatchRequest",
Expand All @@ -102,7 +104,12 @@
"EmbeddingRequest",
"GuardrailConfig",
"HTTPValidationError",
"IMGImage",
"IMGUsage",
"IMGUsageInputTokensDetails",
"IMGUsageOutputTokensDetails",
"ImageGenerationRequest",
"ImagesResponse",
"Input",
"Input1",
"KeyInfo",
Expand Down Expand Up @@ -194,10 +201,11 @@
"ResponsesRequest",
"SetPricingRequest",
"Source",
"Stop",
"System",
"System1",
"ToolCallsInner",
"ToolChoice",
"ToolChoice1",
"UpdateBudgetRequest",
"UpdateKeyRequest",
"UpdateUserRequest",
Expand All @@ -213,6 +221,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
Expand Down Expand Up @@ -283,6 +292,7 @@
from otari._client.models.content8 import Content8 as Content8
from otari._client.models.content9_inner import Content9Inner as Content9Inner
from otari._client.models.content_any_of_inner import ContentAnyOfInner as ContentAnyOfInner
from otari._client.models.conversation import Conversation as Conversation
from otari._client.models.count_tokens_request import CountTokensRequest as CountTokensRequest
from otari._client.models.count_tokens_response import CountTokensResponse as CountTokensResponse
from otari._client.models.create_batch_request import CreateBatchRequest as CreateBatchRequest
Expand All @@ -296,7 +306,12 @@
from otari._client.models.embedding_request import EmbeddingRequest as EmbeddingRequest
from otari._client.models.guardrail_config import GuardrailConfig as GuardrailConfig
from otari._client.models.http_validation_error import HTTPValidationError as HTTPValidationError
from otari._client.models.img_image import IMGImage as IMGImage
from otari._client.models.img_usage import IMGUsage as IMGUsage
from otari._client.models.img_usage_input_tokens_details import IMGUsageInputTokensDetails as IMGUsageInputTokensDetails
from otari._client.models.img_usage_output_tokens_details import IMGUsageOutputTokensDetails as IMGUsageOutputTokensDetails
from otari._client.models.image_generation_request import ImageGenerationRequest as ImageGenerationRequest
from otari._client.models.images_response import ImagesResponse as ImagesResponse
from otari._client.models.input import Input as Input
from otari._client.models.input1 import Input1 as Input1
from otari._client.models.key_info import KeyInfo as KeyInfo
Expand Down Expand Up @@ -388,10 +403,11 @@
from otari._client.models.responses_request import ResponsesRequest as ResponsesRequest
from otari._client.models.set_pricing_request import SetPricingRequest as SetPricingRequest
from otari._client.models.source import Source as Source
from otari._client.models.stop import Stop as Stop
from otari._client.models.system import System as System
from otari._client.models.system1 import System1 as System1
from otari._client.models.tool_calls_inner import ToolCallsInner as ToolCallsInner
from otari._client.models.tool_choice import ToolChoice as ToolChoice
from otari._client.models.tool_choice1 import ToolChoice1 as ToolChoice1
from otari._client.models.update_budget_request import UpdateBudgetRequest as UpdateBudgetRequest
from otari._client.models.update_key_request import UpdateKeyRequest as UpdateKeyRequest
from otari._client.models.update_user_request import UpdateUserRequest as UpdateUserRequest
Expand Down
1 change: 1 addition & 0 deletions src/otari/_client/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/otari/_client/api/audio_api.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/otari/_client/api/batches_api.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/otari/_client/api/budgets_api.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/otari/_client/api/chat_api.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/otari/_client/api/embeddings_api.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
Loading
Loading