From f60c0c7e8f9b6f6c1617dd826d33a148acfe1329 Mon Sep 17 00:00:00 2001 From: agpituk <14200491+agpituk@users.noreply.github.com> Date: Thu, 24 Sep 2026 17:39:49 +0000 Subject: [PATCH] chore: regenerate SDK client core from Otari OpenAPI spec --- sdk-endpoints.txt | 5 + src/otari/_client/__init__.py | 32 +- src/otari/_client/_spec_version.py | 2 +- src/otari/_client/api/__init__.py | 1 + src/otari/_client/api/admin_api.py | 2 +- src/otari/_client/api/agent_telemetry_api.py | 2 +- src/otari/_client/api/aliases_api.py | 2 +- src/otari/_client/api/audio_api.py | 2 +- src/otari/_client/api/auth_api.py | 2 +- src/otari/_client/api/batches_api.py | 2 +- src/otari/_client/api/bootstrap_api.py | 2 +- src/otari/_client/api/budgets_api.py | 2 +- src/otari/_client/api/catalog_api.py | 8 +- src/otari/_client/api/chat_api.py | 2 +- src/otari/_client/api/embeddings_api.py | 2 +- src/otari/_client/api/feedback_api.py | 318 ++++++++++++++++++ src/otari/_client/api/files_api.py | 48 +-- src/otari/_client/api/health_api.py | 2 +- src/otari/_client/api/hooks_api.py | 8 +- src/otari/_client/api/images_api.py | 2 +- src/otari/_client/api/invitations_api.py | 2 +- src/otari/_client/api/keys_api.py | 2 +- src/otari/_client/api/mcp_api.py | 2 +- src/otari/_client/api/mcp_servers_api.py | 2 +- src/otari/_client/api/messages_api.py | 2 +- src/otari/_client/api/models_api.py | 2 +- src/otari/_client/api/moderations_api.py | 2 +- .../_client/api/organization_budgets_api.py | 2 +- .../organization_guardrail_definitions_api.py | 2 +- .../api/organization_guardrails_api.py | 297 +++++++++++++++- .../_client/api/organization_keys_api.py | 2 +- .../_client/api/organization_pricing_api.py | 2 +- .../_client/api/organization_usage_api.py | 2 +- src/otari/_client/api/organizations_api.py | 2 +- src/otari/_client/api/otel_api.py | 2 +- src/otari/_client/api/overview_api.py | 2 +- src/otari/_client/api/playground_api.py | 2 +- src/otari/_client/api/pricing_api.py | 2 +- src/otari/_client/api/provider_keys_api.py | 2 +- src/otari/_client/api/providers_api.py | 2 +- src/otari/_client/api/rerank_api.py | 2 +- src/otari/_client/api/responses_api.py | 2 +- src/otari/_client/api/routing_api.py | 2 +- src/otari/_client/api/scoped_budgets_api.py | 2 +- src/otari/_client/api/search_api.py | 2 +- src/otari/_client/api/search_tools_api.py | 2 +- src/otari/_client/api/settings_api.py | 2 +- src/otari/_client/api/tool_settings_api.py | 2 +- src/otari/_client/api/tools_api.py | 2 +- src/otari/_client/api/usage_api.py | 2 +- src/otari/_client/api/users_api.py | 2 +- src/otari/_client/api/web_search_api.py | 2 +- .../_client/api/workspace_activation_api.py | 2 +- .../workspace_code_execution_policy_api.py | 2 +- .../workspace_member_budget_policies_api.py | 2 +- .../_client/api/workspace_web_search_api.py | 2 +- src/otari/_client/api/workspaces_api.py | 2 +- src/otari/_client/api_client.py | 2 +- src/otari/_client/configuration.py | 4 +- src/otari/_client/exceptions.py | 2 +- src/otari/_client/models/__init__.py | 16 +- .../models/accept_invitation_request.py | 2 +- .../models/accept_invitation_result_public.py | 2 +- .../models/accepted_snapshot_response.py | 2 +- .../models/activation_api_key_public.py | 2 +- .../models/activation_attempt_public.py | 2 +- ...tive_organization_member_create_request.py | 2 +- ...rganization_member_create_result_public.py | 2 +- .../active_organization_member_public.py | 2 +- ...tive_organization_member_update_request.py | 2 +- .../active_organization_members_public.py | 2 +- .../active_organization_update_request.py | 2 +- .../models/agent_telemetry_behavior.py | 2 +- .../_client/models/agent_telemetry_count.py | 2 +- .../models/agent_telemetry_delete_request.py | 2 +- .../models/agent_telemetry_delete_result.py | 2 +- .../models/agent_telemetry_group_row.py | 2 +- .../models/agent_telemetry_grouped_series.py | 2 +- .../agent_telemetry_grouped_series_point.py | 2 +- .../models/agent_telemetry_measures.py | 2 +- .../models/agent_telemetry_outcomes.py | 2 +- .../models/agent_telemetry_series_point.py | 2 +- .../_client/models/agent_telemetry_summary.py | 2 +- .../models/agent_telemetry_tool_row.py | 2 +- .../_client/models/agent_telemetry_usage.py | 2 +- src/otari/_client/models/alias_request.py | 2 +- src/otari/_client/models/alias_response.py | 2 +- .../models/allocation_health_response.py | 2 +- src/otari/_client/models/annotations.py | 2 +- .../_client/models/anthropic_file_deleted.py | 100 ++++++ .../_client/models/anthropic_file_list.py | 103 ++++++ .../_client/models/anthropic_file_metadata.py | 127 +++++++ src/otari/_client/models/api_key_id.py | 2 +- .../_client/models/applied_edits_inner.py | 2 +- src/otari/_client/models/audio_content.py | 2 +- .../_client/models/audio_speech_request.py | 2 +- .../models/authenticate_passkey_request.py | 2 +- .../_client/models/authorize_response.py | 2 +- src/otari/_client/models/backend_type.py | 2 +- .../_client/models/batch_request_item.py | 2 +- src/otari/_client/models/billing_meters.py | 2 +- .../_client/models/blob_resource_contents.py | 2 +- .../models/budget_reset_log_response.py | 2 +- src/otari/_client/models/budget_response.py | 2 +- .../models/built_in_guardrail_catalog.py | 2 +- .../_client/models/built_in_guardrail_spec.py | 2 +- src/otari/_client/models/cache_miss_reason.py | 2 +- src/otari/_client/models/call_tool_result.py | 2 +- src/otari/_client/models/caller.py | 2 +- src/otari/_client/models/caller1.py | 2 +- .../_client/models/caller_identity_public.py | 2 +- .../caller_organization_membership_public.py | 2 +- .../caller_organization_memberships_public.py | 2 +- .../caller_workspace_membership_public.py | 2 +- .../_client/models/candidate_response.py | 2 +- .../_client/models/catalog_capabilities.py | 2 +- .../_client/models/catalog_credential.py | 2 +- src/otari/_client/models/catalog_elsewhere.py | 2 +- .../_client/models/catalog_model_detail.py | 2 +- .../_client/models/catalog_model_summary.py | 2 +- src/otari/_client/models/catalog_offering.py | 2 +- src/otari/_client/models/catalog_response.py | 2 +- .../models/cc_cache_creation_token_details.py | 2 +- .../models/cc_chat_completion_audio.py | 2 +- .../models/cc_chat_completion_message.py | 2 +- ...hat_completion_message_custom_tool_call.py | 2 +- ...t_completion_message_function_tool_call.py | 2 +- ...hat_completion_message_tool_calls_inner.py | 2 +- .../cc_chat_completion_token_logprob.py | 2 +- src/otari/_client/models/cc_choice.py | 2 +- .../_client/models/cc_choice_logprobs.py | 2 +- .../models/cc_completion_tokens_details.py | 2 +- .../_client/models/cc_completion_usage.py | 2 +- src/otari/_client/models/cc_custom.py | 2 +- src/otari/_client/models/cc_function.py | 2 +- src/otari/_client/models/cc_function_call.py | 2 +- src/otari/_client/models/cc_image_content.py | 2 +- src/otari/_client/models/cc_image_url.py | 2 +- .../models/cc_prompt_tokens_details.py | 2 +- src/otari/_client/models/cc_top_logprob.py | 2 +- .../cck_cache_creation_token_details.py | 2 +- .../cck_chat_completion_token_logprob.py | 2 +- src/otari/_client/models/cck_choice_delta.py | 2 +- .../_client/models/cck_choice_delta_audio.py | 2 +- .../models/cck_choice_delta_function_call.py | 2 +- .../models/cck_choice_delta_tool_call.py | 2 +- .../cck_choice_delta_tool_call_function.py | 2 +- .../_client/models/cck_choice_logprobs.py | 2 +- src/otari/_client/models/cck_chunk_choice.py | 2 +- .../models/cck_completion_tokens_details.py | 2 +- .../_client/models/cck_completion_usage.py | 2 +- src/otari/_client/models/cck_image_content.py | 2 +- src/otari/_client/models/cck_image_url.py | 2 +- .../models/cck_prompt_tokens_details.py | 2 +- src/otari/_client/models/cck_top_logprob.py | 2 +- src/otari/_client/models/chat_completion.py | 2 +- .../_client/models/chat_completion_chunk.py | 2 +- .../_client/models/chat_completion_request.py | 2 +- .../chat_completion_request_tools_inner.py | 2 +- .../_client/models/chat_message_input.py | 2 +- .../_client/models/check_verdict_request.py | 4 +- src/otari/_client/models/code_executor.py | 2 +- src/otari/_client/models/config_field.py | 2 +- .../models/config_search_tool_schema.py | 2 +- src/otari/_client/models/container.py | 144 ++++++++ src/otari/_client/models/content.py | 2 +- src/otari/_client/models/content1.py | 2 +- src/otari/_client/models/content10.py | 2 +- src/otari/_client/models/content11.py | 2 +- src/otari/_client/models/content12.py | 2 +- src/otari/_client/models/content13.py | 2 +- src/otari/_client/models/content14.py | 2 +- src/otari/_client/models/content15.py | 2 +- src/otari/_client/models/content16.py | 2 +- src/otari/_client/models/content17_inner.py | 2 +- src/otari/_client/models/content2.py | 2 +- .../_client/models/content2_any_of_inner.py | 2 +- src/otari/_client/models/content3.py | 2 +- src/otari/_client/models/content4.py | 2 +- src/otari/_client/models/content5.py | 2 +- src/otari/_client/models/content6.py | 2 +- src/otari/_client/models/content7.py | 2 +- src/otari/_client/models/content8.py | 2 +- src/otari/_client/models/content9.py | 2 +- .../_client/models/content_any_of_inner.py | 2 +- src/otari/_client/models/content_inner.py | 2 +- src/otari/_client/models/conversation.py | 2 +- .../_client/models/count_tokens_request.py | 2 +- .../_client/models/count_tokens_response.py | 2 +- .../_client/models/create_batch_request.py | 2 +- .../_client/models/create_budget_request.py | 2 +- .../models/create_embedding_response.py | 2 +- .../_client/models/create_key_request.py | 2 +- .../_client/models/create_key_response.py | 2 +- .../_client/models/create_own_key_request.py | 2 +- .../models/create_scoped_budget_request.py | 2 +- .../models/create_search_tool_request.py | 2 +- .../_client/models/create_session_request.py | 2 +- .../models/create_stored_provider_request.py | 2 +- .../_client/models/create_user_request.py | 2 +- .../_client/models/current_pricing_page.py | 2 +- .../models/deployment_admin_access_public.py | 2 +- .../_client/models/deployment_bootstrap.py | 13 +- .../deployment_user_organization_public.py | 2 +- .../_client/models/deployment_user_public.py | 2 +- .../models/deployment_user_update_request.py | 2 +- .../_client/models/deployment_users_public.py | 2 +- .../_client/models/discoverable_model.py | 2 +- .../models/discoverable_models_response.py | 2 +- .../_client/models/discoverable_provider.py | 2 +- src/otari/_client/models/dropped_response.py | 2 +- src/otari/_client/models/emb_embedding.py | 2 +- src/otari/_client/models/emb_usage.py | 2 +- src/otari/_client/models/embedded_resource.py | 2 +- src/otari/_client/models/embedding_request.py | 2 +- src/otari/_client/models/execution_state.py | 2 +- src/otari/_client/models/explain_request.py | 2 +- src/otari/_client/models/explain_response.py | 2 +- .../_client/models/external_events_request.py | 2 +- .../_client/models/external_ingest_error.py | 2 +- .../_client/models/external_ingest_result.py | 2 +- .../_client/models/external_usage_event.py | 2 +- .../_client/models/feedback_submission.py | 102 ++++++ .../_client/models/gate_result_response.py | 2 +- src/otari/_client/models/gateway_settings.py | 2 +- src/otari/_client/models/guardrail_catalog.py | 2 +- .../_client/models/guardrail_category.py | 2 +- src/otari/_client/models/guardrail_config.py | 2 +- .../models/guardrail_parameter_spec.py | 2 +- .../_client/models/guardrail_profile_spec.py | 2 +- src/otari/_client/models/guardrail_stage.py | 2 +- .../_client/models/http_validation_error.py | 2 +- src/otari/_client/models/icon.py | 2 +- src/otari/_client/models/image_content.py | 2 +- .../models/image_generation_request.py | 2 +- src/otari/_client/models/images_response.py | 2 +- src/otari/_client/models/img_image.py | 2 +- src/otari/_client/models/img_usage.py | 2 +- .../models/img_usage_input_tokens_details.py | 2 +- .../models/img_usage_output_tokens_details.py | 2 +- src/otari/_client/models/in_flight_entry.py | 2 +- .../_client/models/in_flight_response.py | 2 +- src/otari/_client/models/input.py | 2 +- src/otari/_client/models/input1.py | 2 +- .../models/invitation_preview_public.py | 2 +- .../invite_organization_member_request.py | 2 +- ...nvite_organization_member_result_public.py | 2 +- .../_client/models/judge_verdict_request.py | 2 +- src/otari/_client/models/key_info.py | 2 +- .../_client/models/known_provider_schema.py | 2 +- .../models/known_provider_summary_schema.py | 2 +- src/otari/_client/models/learned_policy.py | 2 +- src/otari/_client/models/location_inner.py | 2 +- src/otari/_client/models/mail_settings.py | 2 +- src/otari/_client/models/maintenance_mode.py | 2 +- src/otari/_client/models/managed_tool.py | 2 +- src/otari/_client/models/mcp_error_body.py | 2 +- .../_client/models/mcp_execute_request.py | 2 +- src/otari/_client/models/mcp_server_config.py | 2 +- .../_client/models/mcp_tool_definition.py | 2 +- src/otari/_client/models/mcp_tool_warning.py | 2 +- .../_client/models/mcp_tools_response.py | 2 +- .../models/member_attribution_public.py | 2 +- .../_client/models/member_ceiling_public.py | 2 +- .../member_workspace_placement_public.py | 2 +- src/otari/_client/models/message.py | 2 +- src/otari/_client/models/message_response.py | 2 +- src/otari/_client/models/messages_request.py | 10 +- src/otari/_client/models/model.py | 2 +- src/otari/_client/models/model1.py | 2 +- .../_client/models/model_list_response.py | 2 +- src/otari/_client/models/model_metadata.py | 2 +- .../_client/models/model_metadata_response.py | 2 +- src/otari/_client/models/model_object.py | 2 +- .../_client/models/model_pricing_info.py | 2 +- .../_client/models/moderation_request.py | 2 +- .../_client/models/moderation_response.py | 2 +- src/otari/_client/models/moderation_result.py | 2 +- ...pic_types_thinking_block_thinking_block.py | 2 +- ...r_any_llm_types_messages_thinking_block.py | 2 +- .../_client/models/mr_base64_pdf_source.py | 2 +- .../mr_bash_code_execution_output_block.py | 2 +- .../mr_bash_code_execution_result_block.py | 2 +- ...r_bash_code_execution_tool_result_block.py | 2 +- ...r_bash_code_execution_tool_result_error.py | 2 +- ...mr_beta_advisor_message_iteration_usage.py | 2 +- .../mr_beta_advisor_redacted_result_block.py | 2 +- .../models/mr_beta_advisor_result_block.py | 2 +- .../mr_beta_advisor_tool_result_block.py | 2 +- .../mr_beta_advisor_tool_result_error.py | 2 +- .../models/mr_beta_base64_pdf_source.py | 2 +- ...r_beta_bash_code_execution_output_block.py | 2 +- ...r_beta_bash_code_execution_result_block.py | 2 +- ...a_bash_code_execution_tool_result_block.py | 2 +- ...a_bash_code_execution_tool_result_error.py | 2 +- .../_client/models/mr_beta_cache_creation.py | 2 +- .../mr_beta_cache_miss_messages_changed.py | 2 +- .../mr_beta_cache_miss_model_changed.py | 2 +- ...a_cache_miss_previous_message_not_found.py | 2 +- .../mr_beta_cache_miss_system_changed.py | 2 +- .../mr_beta_cache_miss_tools_changed.py | 2 +- .../models/mr_beta_cache_miss_unavailable.py | 2 +- .../models/mr_beta_citation_char_location.py | 2 +- .../_client/models/mr_beta_citation_config.py | 2 +- ...mr_beta_citation_content_block_location.py | 2 +- .../models/mr_beta_citation_page_location.py | 2 +- ...mr_beta_citation_search_result_location.py | 2 +- ...ta_citations_web_search_result_location.py | 2 +- ...ta_clear_thinking20251015_edit_response.py | 2 +- ...a_clear_tool_uses20250919_edit_response.py | 2 +- .../mr_beta_code_execution_output_block.py | 2 +- .../mr_beta_code_execution_result_block.py | 2 +- ...r_beta_code_execution_tool_result_block.py | 2 +- ...r_beta_code_execution_tool_result_error.py | 2 +- .../models/mr_beta_compaction_block.py | 2 +- .../mr_beta_compaction_iteration_usage.py | 2 +- src/otari/_client/models/mr_beta_container.py | 2 +- .../models/mr_beta_container_upload_block.py | 2 +- .../mr_beta_context_management_response.py | 2 +- .../_client/models/mr_beta_diagnostics.py | 2 +- .../_client/models/mr_beta_direct_caller.py | 2 +- .../_client/models/mr_beta_document_block.py | 2 +- ...a_encrypted_code_execution_result_block.py | 2 +- .../_client/models/mr_beta_fallback_block.py | 2 +- .../_client/models/mr_beta_fallback_info.py | 2 +- ...r_beta_fallback_message_iteration_usage.py | 2 +- .../mr_beta_fallback_refusal_trigger.py | 2 +- .../models/mr_beta_mcp_tool_result_block.py | 2 +- .../models/mr_beta_mcp_tool_use_block.py | 2 +- .../models/mr_beta_message_iteration_usage.py | 2 +- .../models/mr_beta_plain_text_source.py | 2 +- .../models/mr_beta_redacted_thinking_block.py | 2 +- .../models/mr_beta_server_tool_caller.py | 2 +- .../mr_beta_server_tool_caller20260120.py | 2 +- .../models/mr_beta_server_tool_use_block.py | 2 +- src/otari/_client/models/mr_beta_skill.py | 2 +- .../_client/models/mr_beta_text_block.py | 2 +- .../mr_beta_text_block_citations_inner.py | 2 +- ...itor_code_execution_create_result_block.py | 2 +- ...code_execution_str_replace_result_block.py | 2 +- ...editor_code_execution_tool_result_block.py | 2 +- ...editor_code_execution_tool_result_error.py | 2 +- ...editor_code_execution_view_result_block.py | 2 +- .../_client/models/mr_beta_thinking_block.py | 2 +- .../models/mr_beta_tool_reference_block.py | 2 +- .../mr_beta_tool_search_tool_result_block.py | 2 +- .../mr_beta_tool_search_tool_result_error.py | 2 +- ...ta_tool_search_tool_search_result_block.py | 2 +- .../_client/models/mr_beta_tool_use_block.py | 2 +- .../_client/models/mr_beta_web_fetch_block.py | 2 +- .../mr_beta_web_fetch_tool_result_block.py | 2 +- ..._beta_web_fetch_tool_result_error_block.py | 2 +- .../models/mr_beta_web_search_result_block.py | 2 +- .../mr_beta_web_search_tool_result_block.py | 2 +- .../mr_beta_web_search_tool_result_error.py | 2 +- src/otari/_client/models/mr_cache_creation.py | 2 +- .../models/mr_citation_char_location.py | 2 +- .../mr_citation_content_block_location.py | 2 +- .../models/mr_citation_page_location.py | 2 +- .../_client/models/mr_citations_config.py | 2 +- .../mr_citations_search_result_location.py | 2 +- ...mr_citations_web_search_result_location.py | 2 +- .../models/mr_code_execution_output_block.py | 2 +- .../models/mr_code_execution_result_block.py | 2 +- .../mr_code_execution_tool_result_block.py | 2 +- .../mr_code_execution_tool_result_error.py | 2 +- .../models/mr_container_upload_block.py | 2 +- src/otari/_client/models/mr_direct_caller.py | 2 +- src/otari/_client/models/mr_document_block.py | 2 +- ...r_encrypted_code_execution_result_block.py | 2 +- src/otari/_client/models/mr_message_usage.py | 2 +- .../mr_message_usage_iterations_inner.py | 2 +- .../models/mr_output_tokens_details.py | 2 +- .../_client/models/mr_plain_text_source.py | 2 +- .../models/mr_redacted_thinking_block.py | 2 +- .../_client/models/mr_refusal_stop_details.py | 2 +- .../_client/models/mr_server_tool_caller.py | 2 +- .../models/mr_server_tool_caller20260120.py | 2 +- .../_client/models/mr_server_tool_usage.py | 2 +- .../models/mr_server_tool_use_block.py | 2 +- src/otari/_client/models/mr_text_block.py | 2 +- .../models/mr_text_block_citations_inner.py | 2 +- ...itor_code_execution_create_result_block.py | 2 +- ...code_execution_str_replace_result_block.py | 2 +- ...editor_code_execution_tool_result_block.py | 2 +- ...editor_code_execution_tool_result_error.py | 2 +- ...editor_code_execution_view_result_block.py | 2 +- .../_client/models/mr_tool_reference_block.py | 2 +- .../mr_tool_search_tool_result_block.py | 2 +- .../mr_tool_search_tool_result_error.py | 2 +- ...mr_tool_search_tool_search_result_block.py | 2 +- src/otari/_client/models/mr_tool_use_block.py | 2 +- .../_client/models/mr_web_fetch_block.py | 2 +- .../models/mr_web_fetch_tool_result_block.py | 2 +- .../mr_web_fetch_tool_result_error_block.py | 2 +- .../models/mr_web_search_result_block.py | 2 +- .../models/mr_web_search_tool_result_block.py | 2 +- .../models/mr_web_search_tool_result_error.py | 2 +- src/otari/_client/models/msg_audio.py | 2 +- ...chat_completion_assistant_message_param.py | 2 +- ...hat_completion_content_part_image_param.py | 2 +- ...mpletion_content_part_input_audio_param.py | 2 +- ...t_completion_content_part_refusal_param.py | 2 +- ...chat_completion_content_part_text_param.py | 2 +- ...chat_completion_developer_message_param.py | 2 +- ..._chat_completion_function_message_param.py | 2 +- ...mpletion_message_custom_tool_call_param.py | 2 +- ...letion_message_function_tool_call_param.py | 2 +- ...sg_chat_completion_system_message_param.py | 2 +- .../msg_chat_completion_tool_message_param.py | 2 +- .../msg_chat_completion_user_message_param.py | 2 +- src/otari/_client/models/msg_custom.py | 2 +- src/otari/_client/models/msg_file.py | 2 +- src/otari/_client/models/msg_file_file.py | 2 +- src/otari/_client/models/msg_function.py | 2 +- src/otari/_client/models/msg_function_call.py | 2 +- src/otari/_client/models/msg_image_url.py | 2 +- src/otari/_client/models/msg_input_audio.py | 2 +- .../_client/models/o_auth_callback_request.py | 2 +- .../_client/models/o_auth_session_response.py | 2 +- src/otari/_client/models/offering_usage.py | 2 +- .../_client/models/open_ai_file_deleted.py | 112 ++++++ src/otari/_client/models/open_ai_file_list.py | 124 +++++++ .../_client/models/open_ai_file_object.py | 115 +++++++ .../org_provider_available_models_public.py | 2 +- .../models/org_provider_key_create_request.py | 2 +- .../org_provider_key_model_create_request.py | 2 +- .../models/org_provider_key_model_public.py | 2 +- .../org_provider_key_model_update_request.py | 2 +- .../models/org_provider_key_models_public.py | 2 +- .../_client/models/org_provider_key_public.py | 2 +- .../models/org_provider_key_update_request.py | 2 +- .../models/org_provider_keys_public.py | 2 +- .../org_provider_models_refresh_public.py | 2 +- .../models/organization_budget_create.py | 2 +- .../models/organization_budget_public.py | 2 +- .../models/organization_budget_update.py | 2 +- .../models/organization_budgets_public.py | 2 +- .../models/organization_create_request.py | 2 +- .../organization_domain_create_request.py | 2 +- .../models/organization_domain_public.py | 2 +- .../organization_domain_update_request.py | 2 +- .../models/organization_domains_public.py | 2 +- .../models/organization_guardrail_create.py | 2 +- ...rganization_guardrail_definition_create.py | 2 +- ...rganization_guardrail_definition_public.py | 2 +- .../organization_guardrail_definition_test.py | 2 +- ...zation_guardrail_definition_test_result.py | 2 +- ...rganization_guardrail_definition_update.py | 2 +- ...ganization_guardrail_definitions_public.py | 2 +- .../models/organization_guardrail_public.py | 2 +- .../models/organization_guardrail_test.py | 104 ++++++ .../organization_guardrail_test_result.py | 107 ++++++ .../models/organization_guardrail_update.py | 2 +- .../models/organization_guardrails_public.py | 2 +- .../organization_membership_context_public.py | 2 +- .../organization_model_pricing_create.py | 2 +- .../organization_model_pricing_public.py | 2 +- .../organization_model_pricing_update.py | 2 +- .../organization_model_pricings_public.py | 2 +- .../_client/models/organization_public.py | 2 +- .../organization_scoped_budget_create.py | 2 +- .../organization_scoped_budget_public.py | 2 +- .../organization_scoped_budget_update.py | 2 +- .../organization_scoped_budgets_public.py | 2 +- src/otari/_client/models/output_shape.py | 2 +- .../models/overview_summary_response.py | 2 +- .../models/passkey_session_response.py | 2 +- src/otari/_client/models/password_response.py | 2 +- .../pending_organization_invitation_public.py | 2 +- ...pending_organization_invitations_public.py | 2 +- .../models/playground_comparison_create.py | 2 +- .../models/playground_comparison_summary.py | 2 +- .../models/playground_comparisons_public.py | 2 +- .../models/playground_consent_public.py | 2 +- .../models/playground_consent_update.py | 2 +- .../models/playground_conversation_create.py | 2 +- .../models/playground_conversation_summary.py | 2 +- .../models/playground_conversations_public.py | 2 +- .../playground_favorite_models_public.py | 2 +- .../playground_favorite_models_update.py | 2 +- .../_client/models/playground_mcp_server.py | 2 +- .../models/playground_message_create.py | 2 +- .../models/playground_message_public.py | 2 +- .../models/playground_messages_public.py | 2 +- .../_client/models/playground_tool_status.py | 2 +- .../models/playground_tools_response.py | 2 +- .../_client/models/policy_check_request.py | 23 +- .../_client/models/policy_check_response.py | 2 +- src/otari/_client/models/policy_request.py | 2 +- src/otari/_client/models/policy_response.py | 2 +- src/otari/_client/models/pool_status.py | 2 +- src/otari/_client/models/pricing_drift_row.py | 2 +- .../models/pricing_refresh_change_response.py | 2 +- .../pricing_refresh_confirmation_response.py | 2 +- .../pricing_refresh_preview_response.py | 2 +- src/otari/_client/models/pricing_response.py | 2 +- src/otari/_client/models/pricing_tier.py | 2 +- .../_client/models/pricing_tiers_inner.py | 2 +- .../pricing_tiers_inner_any_of_value.py | 2 +- .../models/provider_capabilities_schema.py | 2 +- .../models/provider_health_response.py | 2 +- .../_client/models/provider_health_schema.py | 2 +- .../_client/models/provider_info_schema.py | 2 +- .../_client/models/providers_response.py | 2 +- src/otari/_client/models/rank_request.py | 2 +- src/otari/_client/models/rank_response.py | 2 +- src/otari/_client/models/recorded_pool.py | 2 +- ...reencrypt_provider_credentials_response.py | 2 +- .../models/reencrypt_search_tools_response.py | 2 +- .../models/register_passkey_request.py | 2 +- .../models/request_password_reset_request.py | 2 +- .../models/request_password_reset_response.py | 2 +- src/otari/_client/models/requirement_group.py | 2 +- src/otari/_client/models/rerank_request.py | 2 +- src/otari/_client/models/rerank_response.py | 2 +- .../models/resend_verification_request.py | 2 +- .../models/resend_verification_response.py | 2 +- .../_client/models/reset_password_request.py | 2 +- src/otari/_client/models/resource.py | 2 +- src/otari/_client/models/resource_link.py | 2 +- .../models/response_files_create_file.py | 134 ++++++++ .../models/response_files_delete_file.py | 134 ++++++++ .../_client/models/response_files_get_file.py | 134 ++++++++ .../models/response_files_list_files.py | 134 ++++++++ src/otari/_client/models/responses_request.py | 2 +- .../models/rotate_master_key_response.py | 2 +- src/otari/_client/models/router_status.py | 2 +- src/otari/_client/models/rr_rerank_meta.py | 2 +- src/otari/_client/models/rr_rerank_result.py | 2 +- src/otari/_client/models/rr_rerank_usage.py | 2 +- .../_client/models/scoped_budget_response.py | 2 +- src/otari/_client/models/scored_example.py | 2 +- .../_client/models/search_provider_schema.py | 2 +- src/otari/_client/models/search_request.py | 2 +- src/otari/_client/models/search_response.py | 2 +- .../_client/models/search_result_item.py | 2 +- .../_client/models/search_tools_response.py | 2 +- .../_client/models/selector_index_response.py | 2 +- .../_client/models/send_test_mail_request.py | 2 +- .../_client/models/send_test_mail_response.py | 2 +- src/otari/_client/models/session_response.py | 2 +- .../_client/models/set_password_request.py | 2 +- .../_client/models/set_pricing_request.py | 2 +- src/otari/_client/models/signup_request.py | 2 +- src/otari/_client/models/signup_response.py | 2 +- src/otari/_client/models/source.py | 2 +- src/otari/_client/models/source1.py | 2 +- src/otari/_client/models/stop.py | 2 +- .../models/stored_provider_response.py | 2 +- .../models/stored_search_tool_schema.py | 2 +- .../switch_active_organization_request.py | 2 +- src/otari/_client/models/system.py | 2 +- src/otari/_client/models/task_pool.py | 2 +- .../_client/models/test_provider_request.py | 2 +- .../_client/models/test_provider_response.py | 2 +- .../_client/models/test_service_request.py | 2 +- .../_client/models/test_service_response.py | 2 +- src/otari/_client/models/text_content.py | 2 +- .../_client/models/text_resource_contents.py | 2 +- src/otari/_client/models/token_charge_line.py | 2 +- src/otari/_client/models/tool_calls_inner.py | 2 +- src/otari/_client/models/tool_choice.py | 2 +- src/otari/_client/models/tool_choice1.py | 2 +- src/otari/_client/models/tool_meter.py | 2 +- .../_client/models/tool_setting_field.py | 2 +- .../_client/models/tool_settings_response.py | 2 +- src/otari/_client/models/tools_response.py | 2 +- src/otari/_client/models/unit_charge_line.py | 2 +- src/otari/_client/models/units.py | 2 +- src/otari/_client/models/units1.py | 2 +- .../_client/models/update_budget_request.py | 2 +- .../_client/models/update_key_request.py | 2 +- .../models/update_maintenance_mode_request.py | 2 +- .../_client/models/update_own_key_request.py | 2 +- .../_client/models/update_profile_request.py | 2 +- .../models/update_scoped_budget_request.py | 2 +- .../models/update_search_tool_request.py | 2 +- .../_client/models/update_settings_request.py | 2 +- .../models/update_stored_provider_request.py | 2 +- .../models/update_tool_settings_request.py | 2 +- .../_client/models/update_user_request.py | 2 +- src/otari/_client/models/usage_count.py | 2 +- .../_client/models/usage_delete_request.py | 2 +- .../_client/models/usage_delete_result.py | 2 +- src/otari/_client/models/usage_entry.py | 2 +- .../usage_entry_pricing_breakdown_inner.py | 2 +- .../_client/models/usage_error_code_row.py | 2 +- src/otari/_client/models/usage_group_row.py | 2 +- .../_client/models/usage_grouped_series.py | 2 +- .../models/usage_grouped_series_point.py | 2 +- .../_client/models/usage_log_response.py | 2 +- .../_client/models/usage_series_point.py | 2 +- .../_client/models/usage_set_price_request.py | 2 +- .../_client/models/usage_set_price_result.py | 2 +- src/otari/_client/models/usage_summary.py | 2 +- src/otari/_client/models/usage_tool_row.py | 2 +- src/otari/_client/models/usage_totals.py | 2 +- src/otari/_client/models/user_id.py | 2 +- src/otari/_client/models/user_response.py | 2 +- .../models/validate_invitation_request.py | 2 +- src/otari/_client/models/validation_error.py | 2 +- src/otari/_client/models/value.py | 2 +- src/otari/_client/models/value1.py | 2 +- src/otari/_client/models/variant_license.py | 2 +- .../_client/models/verify_email_request.py | 2 +- .../_client/models/verify_email_response.py | 2 +- .../models/web_authn_credential_public.py | 2 +- .../models/web_authn_credential_update.py | 2 +- .../models/web_authn_credentials_public.py | 2 +- .../models/web_search_backend_response.py | 2 +- .../models/web_search_backend_result.py | 2 +- .../models/workspace_activation_public.py | 2 +- .../models/workspace_assignment_request.py | 2 +- .../workspace_code_execution_policy_public.py | 2 +- .../workspace_code_execution_policy_update.py | 2 +- src/otari/_client/models/workspace_create.py | 2 +- .../models/workspace_mcp_server_create.py | 2 +- .../models/workspace_mcp_server_public.py | 2 +- .../models/workspace_mcp_server_update.py | 2 +- .../models/workspace_mcp_servers_public.py | 2 +- ...workspace_member_budget_policies_public.py | 2 +- .../workspace_member_budget_policy_create.py | 2 +- .../workspace_member_budget_policy_public.py | 2 +- .../workspace_member_budget_policy_update.py | 2 +- .../_client/models/workspace_member_public.py | 2 +- .../models/workspace_members_public.py | 2 +- .../workspace_provider_key_override_public.py | 2 +- ...workspace_provider_key_override_request.py | 2 +- ...workspace_provider_key_overrides_public.py | 2 +- ...pace_provider_model_restriction_request.py | 2 +- ...pace_provider_model_restrictions_public.py | 2 +- src/otari/_client/models/workspace_public.py | 2 +- src/otari/_client/models/workspace_update.py | 2 +- .../workspace_web_search_config_public.py | 2 +- .../workspace_web_search_config_update.py | 2 +- src/otari/_client/models/workspaces_public.py | 2 +- .../models/worst_allocation_response.py | 2 +- src/otari/_client/rest.py | 2 +- 639 files changed, 3027 insertions(+), 656 deletions(-) create mode 100644 src/otari/_client/api/feedback_api.py create mode 100644 src/otari/_client/models/anthropic_file_deleted.py create mode 100644 src/otari/_client/models/anthropic_file_list.py create mode 100644 src/otari/_client/models/anthropic_file_metadata.py create mode 100644 src/otari/_client/models/container.py create mode 100644 src/otari/_client/models/feedback_submission.py create mode 100644 src/otari/_client/models/open_ai_file_deleted.py create mode 100644 src/otari/_client/models/open_ai_file_list.py create mode 100644 src/otari/_client/models/open_ai_file_object.py create mode 100644 src/otari/_client/models/organization_guardrail_test.py create mode 100644 src/otari/_client/models/organization_guardrail_test_result.py create mode 100644 src/otari/_client/models/response_files_create_file.py create mode 100644 src/otari/_client/models/response_files_delete_file.py create mode 100644 src/otari/_client/models/response_files_get_file.py create mode 100644 src/otari/_client/models/response_files_list_files.py diff --git a/sdk-endpoints.txt b/sdk-endpoints.txt index 8e815d1b..f3c6a6da 100644 --- a/sdk-endpoints.txt +++ b/sdk-endpoints.txt @@ -151,6 +151,10 @@ PUT /api/v1/auth/password # dashboard-only # the credential ones. An SDK authenticates as a key rather than as a person and # has no account page to render, so there is nothing here for one to wrap. PATCH /api/v1/auth/profile # dashboard-only +# A signed-in person's message to the Otari team, sent from the top bar (the +# account menu on a phone). +# It is something a person writes, not something an integration calls. +POST /api/v1/feedback # dashboard-only # Signup, email verification, and password reset (otari#650): claiming a # roster identity's dashboard login and recovering it, the same browser-only # credential flow PUT /api/v1/auth/password is. No SDK caller holds a password. @@ -323,6 +327,7 @@ GET /api/v1/organizations/me/guardrails # operator surfa POST /api/v1/organizations/me/guardrails # operator surface PATCH /api/v1/organizations/me/guardrails/{guardrail_id} # operator surface DELETE /api/v1/organizations/me/guardrails/{guardrail_id} # operator surface +POST /api/v1/organizations/me/guardrails/{guardrail_id}/test # operator surface # The definitions those mandates will point at: what a guardrail *is*, where the # mandate says where it runs. Excluded on the `/organizations/me` ground rather # than the operator one above, which is the same ground the provider-key form diff --git a/src/otari/_client/__init__.py b/src/otari/_client/__init__.py index 0c91d3cd..98eeb06f 100644 --- a/src/otari/_client/__init__.py +++ b/src/otari/_client/__init__.py @@ -7,7 +7,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -29,6 +29,7 @@ "CatalogApi", "ChatApi", "EmbeddingsApi", + "FeedbackApi", "FilesApi", "HealthApi", "HooksApi", @@ -107,6 +108,9 @@ "AliasResponse", "AllocationHealthResponse", "Annotations", + "AnthropicFileDeleted", + "AnthropicFileList", + "AnthropicFileMetadata", "ApiKeyId", "AppliedEditsInner", "AudioContent", @@ -179,6 +183,7 @@ "CodeExecutor", "ConfigField", "ConfigSearchToolSchema", + "Container", "Content", "Content1", "Content10", @@ -236,6 +241,7 @@ "ExternalIngestError", "ExternalIngestResult", "ExternalUsageEvent", + "FeedbackSubmission", "GateResultResponse", "GatewaySettings", "GuardrailCatalog", @@ -434,6 +440,9 @@ "OAuthCallbackRequest", "OAuthSessionResponse", "OfferingUsage", + "OpenAIFileDeleted", + "OpenAIFileList", + "OpenAIFileObject", "OrgProviderAvailableModelsPublic", "OrgProviderKeyCreateRequest", "OrgProviderKeyModelCreateRequest", @@ -461,6 +470,8 @@ "OrganizationGuardrailDefinitionUpdate", "OrganizationGuardrailDefinitionsPublic", "OrganizationGuardrailPublic", + "OrganizationGuardrailTest", + "OrganizationGuardrailTestResult", "OrganizationGuardrailUpdate", "OrganizationGuardrailsPublic", "OrganizationMembershipContextPublic", @@ -532,6 +543,10 @@ "ResetPasswordRequest", "Resource", "ResourceLink", + "ResponseFilesCreateFile", + "ResponseFilesDeleteFile", + "ResponseFilesGetFile", + "ResponseFilesListFiles", "ResponsesRequest", "RotateMasterKeyResponse", "RouterStatus", @@ -656,6 +671,7 @@ from otari._client.api.catalog_api import CatalogApi as CatalogApi from otari._client.api.chat_api import ChatApi as ChatApi from otari._client.api.embeddings_api import EmbeddingsApi as EmbeddingsApi +from otari._client.api.feedback_api import FeedbackApi as FeedbackApi from otari._client.api.files_api import FilesApi as FilesApi from otari._client.api.health_api import HealthApi as HealthApi from otari._client.api.hooks_api import HooksApi as HooksApi @@ -738,6 +754,9 @@ from otari._client.models.alias_response import AliasResponse as AliasResponse from otari._client.models.allocation_health_response import AllocationHealthResponse as AllocationHealthResponse from otari._client.models.annotations import Annotations as Annotations +from otari._client.models.anthropic_file_deleted import AnthropicFileDeleted as AnthropicFileDeleted +from otari._client.models.anthropic_file_list import AnthropicFileList as AnthropicFileList +from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata as AnthropicFileMetadata from otari._client.models.api_key_id import ApiKeyId as ApiKeyId from otari._client.models.applied_edits_inner import AppliedEditsInner as AppliedEditsInner from otari._client.models.audio_content import AudioContent as AudioContent @@ -810,6 +829,7 @@ from otari._client.models.code_executor import CodeExecutor as CodeExecutor from otari._client.models.config_field import ConfigField as ConfigField from otari._client.models.config_search_tool_schema import ConfigSearchToolSchema as ConfigSearchToolSchema +from otari._client.models.container import Container as Container from otari._client.models.content import Content as Content from otari._client.models.content1 import Content1 as Content1 from otari._client.models.content10 import Content10 as Content10 @@ -867,6 +887,7 @@ from otari._client.models.external_ingest_error import ExternalIngestError as ExternalIngestError from otari._client.models.external_ingest_result import ExternalIngestResult as ExternalIngestResult from otari._client.models.external_usage_event import ExternalUsageEvent as ExternalUsageEvent +from otari._client.models.feedback_submission import FeedbackSubmission as FeedbackSubmission from otari._client.models.gate_result_response import GateResultResponse as GateResultResponse from otari._client.models.gateway_settings import GatewaySettings as GatewaySettings from otari._client.models.guardrail_catalog import GuardrailCatalog as GuardrailCatalog @@ -1065,6 +1086,9 @@ from otari._client.models.o_auth_callback_request import OAuthCallbackRequest as OAuthCallbackRequest from otari._client.models.o_auth_session_response import OAuthSessionResponse as OAuthSessionResponse from otari._client.models.offering_usage import OfferingUsage as OfferingUsage +from otari._client.models.open_ai_file_deleted import OpenAIFileDeleted as OpenAIFileDeleted +from otari._client.models.open_ai_file_list import OpenAIFileList as OpenAIFileList +from otari._client.models.open_ai_file_object import OpenAIFileObject as OpenAIFileObject from otari._client.models.org_provider_available_models_public import OrgProviderAvailableModelsPublic as OrgProviderAvailableModelsPublic from otari._client.models.org_provider_key_create_request import OrgProviderKeyCreateRequest as OrgProviderKeyCreateRequest from otari._client.models.org_provider_key_model_create_request import OrgProviderKeyModelCreateRequest as OrgProviderKeyModelCreateRequest @@ -1092,6 +1116,8 @@ from otari._client.models.organization_guardrail_definition_update import OrganizationGuardrailDefinitionUpdate as OrganizationGuardrailDefinitionUpdate from otari._client.models.organization_guardrail_definitions_public import OrganizationGuardrailDefinitionsPublic as OrganizationGuardrailDefinitionsPublic from otari._client.models.organization_guardrail_public import OrganizationGuardrailPublic as OrganizationGuardrailPublic +from otari._client.models.organization_guardrail_test import OrganizationGuardrailTest as OrganizationGuardrailTest +from otari._client.models.organization_guardrail_test_result import OrganizationGuardrailTestResult as OrganizationGuardrailTestResult from otari._client.models.organization_guardrail_update import OrganizationGuardrailUpdate as OrganizationGuardrailUpdate from otari._client.models.organization_guardrails_public import OrganizationGuardrailsPublic as OrganizationGuardrailsPublic from otari._client.models.organization_membership_context_public import OrganizationMembershipContextPublic as OrganizationMembershipContextPublic @@ -1163,6 +1189,10 @@ from otari._client.models.reset_password_request import ResetPasswordRequest as ResetPasswordRequest from otari._client.models.resource import Resource as Resource from otari._client.models.resource_link import ResourceLink as ResourceLink +from otari._client.models.response_files_create_file import ResponseFilesCreateFile as ResponseFilesCreateFile +from otari._client.models.response_files_delete_file import ResponseFilesDeleteFile as ResponseFilesDeleteFile +from otari._client.models.response_files_get_file import ResponseFilesGetFile as ResponseFilesGetFile +from otari._client.models.response_files_list_files import ResponseFilesListFiles as ResponseFilesListFiles from otari._client.models.responses_request import ResponsesRequest as ResponsesRequest from otari._client.models.rotate_master_key_response import RotateMasterKeyResponse as RotateMasterKeyResponse from otari._client.models.router_status import RouterStatus as RouterStatus diff --git a/src/otari/_client/_spec_version.py b/src/otari/_client/_spec_version.py index 302f299e..cdc514d1 100644 --- a/src/otari/_client/_spec_version.py +++ b/src/otari/_client/_spec_version.py @@ -1 +1 @@ -__spec_version__ = "0.9.0" +__spec_version__ = "0.0.0-dev" diff --git a/src/otari/_client/api/__init__.py b/src/otari/_client/api/__init__.py index 31ee0d67..8a941753 100644 --- a/src/otari/_client/api/__init__.py +++ b/src/otari/_client/api/__init__.py @@ -12,6 +12,7 @@ from otari._client.api.catalog_api import CatalogApi from otari._client.api.chat_api import ChatApi from otari._client.api.embeddings_api import EmbeddingsApi +from otari._client.api.feedback_api import FeedbackApi from otari._client.api.files_api import FilesApi from otari._client.api.health_api import HealthApi from otari._client.api.hooks_api import HooksApi diff --git a/src/otari/_client/api/admin_api.py b/src/otari/_client/api/admin_api.py index 0afbe63e..6c78fa85 100644 --- a/src/otari/_client/api/admin_api.py +++ b/src/otari/_client/api/admin_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/agent_telemetry_api.py b/src/otari/_client/api/agent_telemetry_api.py index c3ecc884..4ecd9d29 100644 --- a/src/otari/_client/api/agent_telemetry_api.py +++ b/src/otari/_client/api/agent_telemetry_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/aliases_api.py b/src/otari/_client/api/aliases_api.py index 74269338..623a1201 100644 --- a/src/otari/_client/api/aliases_api.py +++ b/src/otari/_client/api/aliases_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/audio_api.py b/src/otari/_client/api/audio_api.py index 141d149d..c4176e8b 100644 --- a/src/otari/_client/api/audio_api.py +++ b/src/otari/_client/api/audio_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/auth_api.py b/src/otari/_client/api/auth_api.py index c463cd90..a4a93553 100644 --- a/src/otari/_client/api/auth_api.py +++ b/src/otari/_client/api/auth_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/batches_api.py b/src/otari/_client/api/batches_api.py index 4143c7a8..3c34dd0e 100644 --- a/src/otari/_client/api/batches_api.py +++ b/src/otari/_client/api/batches_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/bootstrap_api.py b/src/otari/_client/api/bootstrap_api.py index 1a92dd96..5bdb84e7 100644 --- a/src/otari/_client/api/bootstrap_api.py +++ b/src/otari/_client/api/bootstrap_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/budgets_api.py b/src/otari/_client/api/budgets_api.py index d6d44957..7181b683 100644 --- a/src/otari/_client/api/budgets_api.py +++ b/src/otari/_client/api/budgets_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/catalog_api.py b/src/otari/_client/api/catalog_api.py index 197dbcfd..95724125 100644 --- a/src/otari/_client/api/catalog_api.py +++ b/src/otari/_client/api/catalog_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -327,7 +327,7 @@ def catalog_list_catalog( ) -> CatalogResponse: """List Catalog - The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances at the deployment's rates and nothing that belongs to a tenant. + The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances and the hosted models at the deployment's rates, and nothing that belongs to a tenant. :param at_context: Compare prices for a request of this many input tokens: each model's minimum is taken from the pricing tier that request would settle at. Omitted, the base rates compare. :type at_context: int @@ -407,7 +407,7 @@ def catalog_list_catalog_with_http_info( ) -> ApiResponse[CatalogResponse]: """List Catalog - The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances at the deployment's rates and nothing that belongs to a tenant. + The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances and the hosted models at the deployment's rates, and nothing that belongs to a tenant. :param at_context: Compare prices for a request of this many input tokens: each model's minimum is taken from the pricing tier that request would settle at. Omitted, the base rates compare. :type at_context: int @@ -487,7 +487,7 @@ def catalog_list_catalog_without_preload_content( ) -> RESTResponseType: """List Catalog - The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances at the deployment's rates and nothing that belongs to a tenant. + The models this caller may use, one entry each however many providers serve it. Prices are the caller's: an organization's override where one applies, else the deployment's row, else the genai-prices default. Aliases and routing policies are not models and are not listed; see Routing. A visitor, where the catalog is public, sees the configured instances and the hosted models at the deployment's rates, and nothing that belongs to a tenant. :param at_context: Compare prices for a request of this many input tokens: each model's minimum is taken from the pricing tier that request would settle at. Omitted, the base rates compare. :type at_context: int diff --git a/src/otari/_client/api/chat_api.py b/src/otari/_client/api/chat_api.py index 41430128..9c846b00 100644 --- a/src/otari/_client/api/chat_api.py +++ b/src/otari/_client/api/chat_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/embeddings_api.py b/src/otari/_client/api/embeddings_api.py index 0ee17cbc..7daeb779 100644 --- a/src/otari/_client/api/embeddings_api.py +++ b/src/otari/_client/api/embeddings_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/feedback_api.py b/src/otari/_client/api/feedback_api.py new file mode 100644 index 00000000..1b4c23d6 --- /dev/null +++ b/src/otari/_client/api/feedback_api.py @@ -0,0 +1,318 @@ +""" + 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 otari._client.models.feedback_submission import FeedbackSubmission + +from otari._client.api_client import ApiClient, RequestSerialized +from otari._client.api_response import ApiResponse +from otari._client.rest import RESTResponseType + + +class FeedbackApi: + """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 feedback_submit_feedback( + self, + feedback_submission: FeedbackSubmission, + _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, + ) -> None: + """Submit Feedback + + Send feedback privately to the Otari team. + + :param feedback_submission: (required) + :type feedback_submission: FeedbackSubmission + :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._feedback_submit_feedback_serialize( + feedback_submission=feedback_submission, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '413': None, + '415': None, + '422': None, + '429': None, + '503': None, + } + 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 feedback_submit_feedback_with_http_info( + self, + feedback_submission: FeedbackSubmission, + _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[None]: + """Submit Feedback + + Send feedback privately to the Otari team. + + :param feedback_submission: (required) + :type feedback_submission: FeedbackSubmission + :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._feedback_submit_feedback_serialize( + feedback_submission=feedback_submission, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '413': None, + '415': None, + '422': None, + '429': None, + '503': None, + } + 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 feedback_submit_feedback_without_preload_content( + self, + feedback_submission: FeedbackSubmission, + _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: + """Submit Feedback + + Send feedback privately to the Otari team. + + :param feedback_submission: (required) + :type feedback_submission: FeedbackSubmission + :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._feedback_submit_feedback_serialize( + feedback_submission=feedback_submission, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '413': None, + '415': None, + '422': None, + '429': None, + '503': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _feedback_submit_feedback_serialize( + self, + feedback_submission, + _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 + # process the body parameter + if feedback_submission is not None: + _body_params = feedback_submission + + + + # 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( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'XApiKeyAuth', + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v1/feedback', + 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/files_api.py b/src/otari/_client/api/files_api.py index d19fa0c9..02847623 100644 --- a/src/otari/_client/api/files_api.py +++ b/src/otari/_client/api/files_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -16,9 +16,13 @@ from typing_extensions import Annotated from pydantic import Field, StrictBytes, StrictStr, field_validator -from typing import Any, Dict, List, Optional, Tuple, Union +from typing import List, Optional, Tuple, Union from typing_extensions import Annotated from uuid import UUID +from otari._client.models.response_files_create_file import ResponseFilesCreateFile +from otari._client.models.response_files_delete_file import ResponseFilesDeleteFile +from otari._client.models.response_files_get_file import ResponseFilesGetFile +from otari._client.models.response_files_list_files import ResponseFilesListFiles from otari._client.api_client import ApiClient, RequestSerialized from otari._client.api_response import ApiResponse @@ -56,7 +60,7 @@ def files_create_file( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Dict[str, object]: + ) -> ResponseFilesCreateFile: """Create File Upload a file. Answers in the OpenAI or Anthropic file shape, following the caller's headers. @@ -100,7 +104,7 @@ def files_create_file( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesCreateFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -132,7 +136,7 @@ def files_create_file_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[Dict[str, object]]: + ) -> ApiResponse[ResponseFilesCreateFile]: """Create File Upload a file. Answers in the OpenAI or Anthropic file shape, following the caller's headers. @@ -176,7 +180,7 @@ def files_create_file_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesCreateFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -252,7 +256,7 @@ def files_create_file_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesCreateFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -363,7 +367,7 @@ def files_delete_file( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Dict[str, object]: + ) -> ResponseFilesDeleteFile: """Delete File Soft-delete a file's metadata and remove its bytes from the backend. @@ -404,7 +408,7 @@ def files_delete_file( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesDeleteFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -435,7 +439,7 @@ def files_delete_file_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[Dict[str, object]]: + ) -> ApiResponse[ResponseFilesDeleteFile]: """Delete File Soft-delete a file's metadata and remove its bytes from the backend. @@ -476,7 +480,7 @@ def files_delete_file_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesDeleteFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -548,7 +552,7 @@ def files_delete_file_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesDeleteFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -645,7 +649,7 @@ def files_get_file( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Dict[str, object]: + ) -> ResponseFilesGetFile: """Get File Retrieve metadata for a single file. @@ -686,7 +690,7 @@ def files_get_file( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesGetFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -717,7 +721,7 @@ def files_get_file_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[Dict[str, object]]: + ) -> ApiResponse[ResponseFilesGetFile]: """Get File Retrieve metadata for a single file. @@ -758,7 +762,7 @@ def files_get_file_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesGetFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -830,7 +834,7 @@ def files_get_file_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesGetFile", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -1217,7 +1221,7 @@ def files_list_files( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Dict[str, object]: + ) -> ResponseFilesListFiles: """List Files List the authenticated user's uploaded files in the request's workspace. ``workspace_id`` narrows a master-key listing to one workspace; a keyed request is already confined to its key's own and cannot widen or move it. Each flavor pages with its own cursor. OpenAI's ``after`` names the last file of the previous page, and ``has_more`` says whether to ask again. Anthropic's ``next_page`` is passed back as ``page``, and ``ids[]`` reads up to 100 named files in one page. A cursor whose file has since been deleted or has expired is still a position. An ``after`` the caller never owned is a 404, and a ``page`` token this gateway did not issue is a 400. @@ -1276,7 +1280,7 @@ def files_list_files( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesListFiles", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -1313,7 +1317,7 @@ def files_list_files_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[Dict[str, object]]: + ) -> ApiResponse[ResponseFilesListFiles]: """List Files List the authenticated user's uploaded files in the request's workspace. ``workspace_id`` narrows a master-key listing to one workspace; a keyed request is already confined to its key's own and cannot widen or move it. Each flavor pages with its own cursor. OpenAI's ``after`` names the last file of the previous page, and ``has_more`` says whether to ask again. Anthropic's ``next_page`` is passed back as ``page``, and ``ids[]`` reads up to 100 named files in one page. A cursor whose file has since been deleted or has expired is still a position. An ``after`` the caller never owned is a 404, and a ``page`` token this gateway did not issue is a 400. @@ -1372,7 +1376,7 @@ def files_list_files_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesListFiles", '422': "HTTPValidationError", } response_data = self.api_client.call_api( @@ -1468,7 +1472,7 @@ def files_list_files_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Dict[str, object]", + '200': "ResponseFilesListFiles", '422': "HTTPValidationError", } response_data = self.api_client.call_api( diff --git a/src/otari/_client/api/health_api.py b/src/otari/_client/api/health_api.py index ea8061c6..8162e294 100644 --- a/src/otari/_client/api/health_api.py +++ b/src/otari/_client/api/health_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/hooks_api.py b/src/otari/_client/api/hooks_api.py index ecfc7ebd..2800e768 100644 --- a/src/otari/_client/api/hooks_api.py +++ b/src/otari/_client/api/hooks_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -55,7 +55,7 @@ def hooks_check_policy( ) -> PolicyCheckResponse: """Check Policy - Evaluate a submitted policy against submitted evidence. Authenticated with either an API key or the master key (the router-level gate), like ``POST /api/v1/usage/external-events``: this identifies who sent the request, not whether its evidence is true. `blocked` is set when a required gate's outcome is not `pass`/`not_applicable` (an unresolved gate never counts as a pass). + Evaluate a submitted policy against submitted evidence. Authenticated with either an API key or the master key (the router-level gate), like ``POST /api/v1/usage/external-events``: this identifies who sent the request, not whether its evidence is true. `blocked` is set when a required gate's outcome is not `pass`/`not_applicable` (an unresolved gate never counts as a pass). The actual parse-and-evaluate work is ``otari_agent.domain.check.run_policy_check``, shared with ``otari hook``'s own local evaluation: this route's own job is authentication, translating that function's tri-state request fields into its own typed ones, and turning ``PolicyCheckError`` into a 422. :param policy_check_request: (required) :type policy_check_request: PolicyCheckRequest @@ -123,7 +123,7 @@ def hooks_check_policy_with_http_info( ) -> ApiResponse[PolicyCheckResponse]: """Check Policy - Evaluate a submitted policy against submitted evidence. Authenticated with either an API key or the master key (the router-level gate), like ``POST /api/v1/usage/external-events``: this identifies who sent the request, not whether its evidence is true. `blocked` is set when a required gate's outcome is not `pass`/`not_applicable` (an unresolved gate never counts as a pass). + Evaluate a submitted policy against submitted evidence. Authenticated with either an API key or the master key (the router-level gate), like ``POST /api/v1/usage/external-events``: this identifies who sent the request, not whether its evidence is true. `blocked` is set when a required gate's outcome is not `pass`/`not_applicable` (an unresolved gate never counts as a pass). The actual parse-and-evaluate work is ``otari_agent.domain.check.run_policy_check``, shared with ``otari hook``'s own local evaluation: this route's own job is authentication, translating that function's tri-state request fields into its own typed ones, and turning ``PolicyCheckError`` into a 422. :param policy_check_request: (required) :type policy_check_request: PolicyCheckRequest @@ -191,7 +191,7 @@ def hooks_check_policy_without_preload_content( ) -> RESTResponseType: """Check Policy - Evaluate a submitted policy against submitted evidence. Authenticated with either an API key or the master key (the router-level gate), like ``POST /api/v1/usage/external-events``: this identifies who sent the request, not whether its evidence is true. `blocked` is set when a required gate's outcome is not `pass`/`not_applicable` (an unresolved gate never counts as a pass). + Evaluate a submitted policy against submitted evidence. Authenticated with either an API key or the master key (the router-level gate), like ``POST /api/v1/usage/external-events``: this identifies who sent the request, not whether its evidence is true. `blocked` is set when a required gate's outcome is not `pass`/`not_applicable` (an unresolved gate never counts as a pass). The actual parse-and-evaluate work is ``otari_agent.domain.check.run_policy_check``, shared with ``otari hook``'s own local evaluation: this route's own job is authentication, translating that function's tri-state request fields into its own typed ones, and turning ``PolicyCheckError`` into a 422. :param policy_check_request: (required) :type policy_check_request: PolicyCheckRequest diff --git a/src/otari/_client/api/images_api.py b/src/otari/_client/api/images_api.py index 07c5ee35..15125a83 100644 --- a/src/otari/_client/api/images_api.py +++ b/src/otari/_client/api/images_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/invitations_api.py b/src/otari/_client/api/invitations_api.py index d1b45808..89083ed7 100644 --- a/src/otari/_client/api/invitations_api.py +++ b/src/otari/_client/api/invitations_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/keys_api.py b/src/otari/_client/api/keys_api.py index 9c1b4138..a2ff62d2 100644 --- a/src/otari/_client/api/keys_api.py +++ b/src/otari/_client/api/keys_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/mcp_api.py b/src/otari/_client/api/mcp_api.py index ba84774f..f314ad8d 100644 --- a/src/otari/_client/api/mcp_api.py +++ b/src/otari/_client/api/mcp_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/mcp_servers_api.py b/src/otari/_client/api/mcp_servers_api.py index 43d7d02b..f5a538e8 100644 --- a/src/otari/_client/api/mcp_servers_api.py +++ b/src/otari/_client/api/mcp_servers_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/messages_api.py b/src/otari/_client/api/messages_api.py index 2008fc13..287e0f1d 100644 --- a/src/otari/_client/api/messages_api.py +++ b/src/otari/_client/api/messages_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/models_api.py b/src/otari/_client/api/models_api.py index d9effdfb..477ff91e 100644 --- a/src/otari/_client/api/models_api.py +++ b/src/otari/_client/api/models_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/moderations_api.py b/src/otari/_client/api/moderations_api.py index 441f82fc..0641ad73 100644 --- a/src/otari/_client/api/moderations_api.py +++ b/src/otari/_client/api/moderations_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/organization_budgets_api.py b/src/otari/_client/api/organization_budgets_api.py index bb6c1d70..0be530c8 100644 --- a/src/otari/_client/api/organization_budgets_api.py +++ b/src/otari/_client/api/organization_budgets_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/organization_guardrail_definitions_api.py b/src/otari/_client/api/organization_guardrail_definitions_api.py index 63278788..05b6c6e2 100644 --- a/src/otari/_client/api/organization_guardrail_definitions_api.py +++ b/src/otari/_client/api/organization_guardrail_definitions_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/organization_guardrails_api.py b/src/otari/_client/api/organization_guardrails_api.py index bb28354d..0af8d125 100644 --- a/src/otari/_client/api/organization_guardrails_api.py +++ b/src/otari/_client/api/organization_guardrails_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -22,6 +22,8 @@ from otari._client.models.message import Message from otari._client.models.organization_guardrail_create import OrganizationGuardrailCreate from otari._client.models.organization_guardrail_public import OrganizationGuardrailPublic +from otari._client.models.organization_guardrail_test import OrganizationGuardrailTest +from otari._client.models.organization_guardrail_test_result import OrganizationGuardrailTestResult from otari._client.models.organization_guardrail_update import OrganizationGuardrailUpdate from otari._client.models.organization_guardrails_public import OrganizationGuardrailsPublic @@ -870,6 +872,299 @@ def _organization_guardrails_list_organization_guardrails_serialize( + @validate_call + def organization_guardrails_test_organization_guardrail( + self, + guardrail_id: UUID, + organization_guardrail_test: OrganizationGuardrailTest, + _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, + ) -> OrganizationGuardrailTestResult: + """Test Organization Guardrail + + Post some text to the guardrails service a mandate names and return its verdict. Organization owners and admins only. Uses the mandate's own endpoint and credential, or the deployment's guardrails URL when it names none, and faces the same safety check a request does. Nothing is stored. ``validate_kwargs`` replaces the stored arguments for this call, a ``***`` in it keeps the value stored under that name, and omitting it sends the stored arguments. A mandate that runs a configured guardrail answers 409: test that guardrail through ``/api/v1/organizations/me/guardrail-definitions``. So does one with nowhere to send the check. A service that cannot be reached, or answers something malformed, answers 502, and the reason is in the gateway's log only. + + :param guardrail_id: (required) + :type guardrail_id: UUID + :param organization_guardrail_test: (required) + :type organization_guardrail_test: OrganizationGuardrailTest + :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._organization_guardrails_test_organization_guardrail_serialize( + guardrail_id=guardrail_id, + organization_guardrail_test=organization_guardrail_test, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OrganizationGuardrailTestResult", + '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 organization_guardrails_test_organization_guardrail_with_http_info( + self, + guardrail_id: UUID, + organization_guardrail_test: OrganizationGuardrailTest, + _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[OrganizationGuardrailTestResult]: + """Test Organization Guardrail + + Post some text to the guardrails service a mandate names and return its verdict. Organization owners and admins only. Uses the mandate's own endpoint and credential, or the deployment's guardrails URL when it names none, and faces the same safety check a request does. Nothing is stored. ``validate_kwargs`` replaces the stored arguments for this call, a ``***`` in it keeps the value stored under that name, and omitting it sends the stored arguments. A mandate that runs a configured guardrail answers 409: test that guardrail through ``/api/v1/organizations/me/guardrail-definitions``. So does one with nowhere to send the check. A service that cannot be reached, or answers something malformed, answers 502, and the reason is in the gateway's log only. + + :param guardrail_id: (required) + :type guardrail_id: UUID + :param organization_guardrail_test: (required) + :type organization_guardrail_test: OrganizationGuardrailTest + :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._organization_guardrails_test_organization_guardrail_serialize( + guardrail_id=guardrail_id, + organization_guardrail_test=organization_guardrail_test, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OrganizationGuardrailTestResult", + '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 organization_guardrails_test_organization_guardrail_without_preload_content( + self, + guardrail_id: UUID, + organization_guardrail_test: OrganizationGuardrailTest, + _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: + """Test Organization Guardrail + + Post some text to the guardrails service a mandate names and return its verdict. Organization owners and admins only. Uses the mandate's own endpoint and credential, or the deployment's guardrails URL when it names none, and faces the same safety check a request does. Nothing is stored. ``validate_kwargs`` replaces the stored arguments for this call, a ``***`` in it keeps the value stored under that name, and omitting it sends the stored arguments. A mandate that runs a configured guardrail answers 409: test that guardrail through ``/api/v1/organizations/me/guardrail-definitions``. So does one with nowhere to send the check. A service that cannot be reached, or answers something malformed, answers 502, and the reason is in the gateway's log only. + + :param guardrail_id: (required) + :type guardrail_id: UUID + :param organization_guardrail_test: (required) + :type organization_guardrail_test: OrganizationGuardrailTest + :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._organization_guardrails_test_organization_guardrail_serialize( + guardrail_id=guardrail_id, + organization_guardrail_test=organization_guardrail_test, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OrganizationGuardrailTestResult", + '422': "HTTPValidationError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _organization_guardrails_test_organization_guardrail_serialize( + self, + guardrail_id, + organization_guardrail_test, + _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 guardrail_id is not None: + _path_params['guardrail_id'] = guardrail_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if organization_guardrail_test is not None: + _body_params = organization_guardrail_test + + + # 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( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'XApiKeyAuth', + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v1/organizations/me/guardrails/{guardrail_id}/test', + 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 organization_guardrails_update_organization_guardrail( self, diff --git a/src/otari/_client/api/organization_keys_api.py b/src/otari/_client/api/organization_keys_api.py index f7969767..e48efccb 100644 --- a/src/otari/_client/api/organization_keys_api.py +++ b/src/otari/_client/api/organization_keys_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/organization_pricing_api.py b/src/otari/_client/api/organization_pricing_api.py index af8a6407..70ec7021 100644 --- a/src/otari/_client/api/organization_pricing_api.py +++ b/src/otari/_client/api/organization_pricing_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/organization_usage_api.py b/src/otari/_client/api/organization_usage_api.py index 14dad4ca..6c67b682 100644 --- a/src/otari/_client/api/organization_usage_api.py +++ b/src/otari/_client/api/organization_usage_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/organizations_api.py b/src/otari/_client/api/organizations_api.py index bf69d247..97dc8e58 100644 --- a/src/otari/_client/api/organizations_api.py +++ b/src/otari/_client/api/organizations_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/otel_api.py b/src/otari/_client/api/otel_api.py index 9b05a829..b2cfeeba 100644 --- a/src/otari/_client/api/otel_api.py +++ b/src/otari/_client/api/otel_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/overview_api.py b/src/otari/_client/api/overview_api.py index d48fffce..41ddb09c 100644 --- a/src/otari/_client/api/overview_api.py +++ b/src/otari/_client/api/overview_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/playground_api.py b/src/otari/_client/api/playground_api.py index 369eb56e..7998aecb 100644 --- a/src/otari/_client/api/playground_api.py +++ b/src/otari/_client/api/playground_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/pricing_api.py b/src/otari/_client/api/pricing_api.py index 357cacd8..d478109b 100644 --- a/src/otari/_client/api/pricing_api.py +++ b/src/otari/_client/api/pricing_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/provider_keys_api.py b/src/otari/_client/api/provider_keys_api.py index 9edd2b11..a65e13ad 100644 --- a/src/otari/_client/api/provider_keys_api.py +++ b/src/otari/_client/api/provider_keys_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/providers_api.py b/src/otari/_client/api/providers_api.py index 88a4fb46..36801555 100644 --- a/src/otari/_client/api/providers_api.py +++ b/src/otari/_client/api/providers_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/rerank_api.py b/src/otari/_client/api/rerank_api.py index 0c9aa940..bc65a0a0 100644 --- a/src/otari/_client/api/rerank_api.py +++ b/src/otari/_client/api/rerank_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/responses_api.py b/src/otari/_client/api/responses_api.py index 4b7c6ad1..570f14fe 100644 --- a/src/otari/_client/api/responses_api.py +++ b/src/otari/_client/api/responses_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/routing_api.py b/src/otari/_client/api/routing_api.py index 48958245..07f7e49c 100644 --- a/src/otari/_client/api/routing_api.py +++ b/src/otari/_client/api/routing_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/scoped_budgets_api.py b/src/otari/_client/api/scoped_budgets_api.py index 0cc06106..96dbbdaa 100644 --- a/src/otari/_client/api/scoped_budgets_api.py +++ b/src/otari/_client/api/scoped_budgets_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/search_api.py b/src/otari/_client/api/search_api.py index 76761c92..22221ece 100644 --- a/src/otari/_client/api/search_api.py +++ b/src/otari/_client/api/search_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/search_tools_api.py b/src/otari/_client/api/search_tools_api.py index deb6c3fe..66d7852e 100644 --- a/src/otari/_client/api/search_tools_api.py +++ b/src/otari/_client/api/search_tools_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/settings_api.py b/src/otari/_client/api/settings_api.py index 51fbba14..f66ca46f 100644 --- a/src/otari/_client/api/settings_api.py +++ b/src/otari/_client/api/settings_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/tool_settings_api.py b/src/otari/_client/api/tool_settings_api.py index 787a3538..8c79f896 100644 --- a/src/otari/_client/api/tool_settings_api.py +++ b/src/otari/_client/api/tool_settings_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/tools_api.py b/src/otari/_client/api/tools_api.py index af58b1b9..fe2eb39f 100644 --- a/src/otari/_client/api/tools_api.py +++ b/src/otari/_client/api/tools_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/usage_api.py b/src/otari/_client/api/usage_api.py index c75e1aad..be9e9946 100644 --- a/src/otari/_client/api/usage_api.py +++ b/src/otari/_client/api/usage_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/users_api.py b/src/otari/_client/api/users_api.py index 15f5977f..2ae3e5a2 100644 --- a/src/otari/_client/api/users_api.py +++ b/src/otari/_client/api/users_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/web_search_api.py b/src/otari/_client/api/web_search_api.py index c097104d..07635c18 100644 --- a/src/otari/_client/api/web_search_api.py +++ b/src/otari/_client/api/web_search_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/workspace_activation_api.py b/src/otari/_client/api/workspace_activation_api.py index 231260e4..2c25bd36 100644 --- a/src/otari/_client/api/workspace_activation_api.py +++ b/src/otari/_client/api/workspace_activation_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/workspace_code_execution_policy_api.py b/src/otari/_client/api/workspace_code_execution_policy_api.py index 6eee7c5a..935a62da 100644 --- a/src/otari/_client/api/workspace_code_execution_policy_api.py +++ b/src/otari/_client/api/workspace_code_execution_policy_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/workspace_member_budget_policies_api.py b/src/otari/_client/api/workspace_member_budget_policies_api.py index d3ea012e..72014385 100644 --- a/src/otari/_client/api/workspace_member_budget_policies_api.py +++ b/src/otari/_client/api/workspace_member_budget_policies_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/workspace_web_search_api.py b/src/otari/_client/api/workspace_web_search_api.py index 4eff10d3..be9cf601 100644 --- a/src/otari/_client/api/workspace_web_search_api.py +++ b/src/otari/_client/api/workspace_web_search_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api/workspaces_api.py b/src/otari/_client/api/workspaces_api.py index 324f7a5d..dc23a3b1 100644 --- a/src/otari/_client/api/workspaces_api.py +++ b/src/otari/_client/api/workspaces_api.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/api_client.py b/src/otari/_client/api_client.py index f2f08f65..19067534 100644 --- a/src/otari/_client/api_client.py +++ b/src/otari/_client/api_client.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/configuration.py b/src/otari/_client/configuration.py index 5b5bbbcb..47efc107 100644 --- a/src/otari/_client/configuration.py +++ b/src/otari/_client/configuration.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -573,7 +573,7 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 0.9.0\n"\ + "Version of the API: 0.0.0-dev\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/src/otari/_client/exceptions.py b/src/otari/_client/exceptions.py index 308cadcc..60f18424 100644 --- a/src/otari/_client/exceptions.py +++ b/src/otari/_client/exceptions.py @@ -3,7 +3,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/__init__.py b/src/otari/_client/models/__init__.py index 233a86f5..6dc5588a 100644 --- a/src/otari/_client/models/__init__.py +++ b/src/otari/_client/models/__init__.py @@ -6,7 +6,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,6 +41,9 @@ from otari._client.models.alias_response import AliasResponse from otari._client.models.allocation_health_response import AllocationHealthResponse from otari._client.models.annotations import Annotations +from otari._client.models.anthropic_file_deleted import AnthropicFileDeleted +from otari._client.models.anthropic_file_list import AnthropicFileList +from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata from otari._client.models.api_key_id import ApiKeyId from otari._client.models.applied_edits_inner import AppliedEditsInner from otari._client.models.audio_content import AudioContent @@ -113,6 +116,7 @@ from otari._client.models.code_executor import CodeExecutor from otari._client.models.config_field import ConfigField from otari._client.models.config_search_tool_schema import ConfigSearchToolSchema +from otari._client.models.container import Container from otari._client.models.content import Content from otari._client.models.content1 import Content1 from otari._client.models.content10 import Content10 @@ -170,6 +174,7 @@ from otari._client.models.external_ingest_error import ExternalIngestError from otari._client.models.external_ingest_result import ExternalIngestResult from otari._client.models.external_usage_event import ExternalUsageEvent +from otari._client.models.feedback_submission import FeedbackSubmission from otari._client.models.gate_result_response import GateResultResponse from otari._client.models.gateway_settings import GatewaySettings from otari._client.models.guardrail_catalog import GuardrailCatalog @@ -368,6 +373,9 @@ from otari._client.models.o_auth_callback_request import OAuthCallbackRequest from otari._client.models.o_auth_session_response import OAuthSessionResponse from otari._client.models.offering_usage import OfferingUsage +from otari._client.models.open_ai_file_deleted import OpenAIFileDeleted +from otari._client.models.open_ai_file_list import OpenAIFileList +from otari._client.models.open_ai_file_object import OpenAIFileObject from otari._client.models.org_provider_available_models_public import OrgProviderAvailableModelsPublic from otari._client.models.org_provider_key_create_request import OrgProviderKeyCreateRequest from otari._client.models.org_provider_key_model_create_request import OrgProviderKeyModelCreateRequest @@ -395,6 +403,8 @@ from otari._client.models.organization_guardrail_definition_update import OrganizationGuardrailDefinitionUpdate from otari._client.models.organization_guardrail_definitions_public import OrganizationGuardrailDefinitionsPublic from otari._client.models.organization_guardrail_public import OrganizationGuardrailPublic +from otari._client.models.organization_guardrail_test import OrganizationGuardrailTest +from otari._client.models.organization_guardrail_test_result import OrganizationGuardrailTestResult from otari._client.models.organization_guardrail_update import OrganizationGuardrailUpdate from otari._client.models.organization_guardrails_public import OrganizationGuardrailsPublic from otari._client.models.organization_membership_context_public import OrganizationMembershipContextPublic @@ -466,6 +476,10 @@ from otari._client.models.reset_password_request import ResetPasswordRequest from otari._client.models.resource import Resource from otari._client.models.resource_link import ResourceLink +from otari._client.models.response_files_create_file import ResponseFilesCreateFile +from otari._client.models.response_files_delete_file import ResponseFilesDeleteFile +from otari._client.models.response_files_get_file import ResponseFilesGetFile +from otari._client.models.response_files_list_files import ResponseFilesListFiles from otari._client.models.responses_request import ResponsesRequest from otari._client.models.rotate_master_key_response import RotateMasterKeyResponse from otari._client.models.router_status import RouterStatus diff --git a/src/otari/_client/models/accept_invitation_request.py b/src/otari/_client/models/accept_invitation_request.py index a58c7d1c..8b9d28df 100644 --- a/src/otari/_client/models/accept_invitation_request.py +++ b/src/otari/_client/models/accept_invitation_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/accept_invitation_result_public.py b/src/otari/_client/models/accept_invitation_result_public.py index 6db615a1..601369fb 100644 --- a/src/otari/_client/models/accept_invitation_result_public.py +++ b/src/otari/_client/models/accept_invitation_result_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/accepted_snapshot_response.py b/src/otari/_client/models/accepted_snapshot_response.py index 47713f77..badd980a 100644 --- a/src/otari/_client/models/accepted_snapshot_response.py +++ b/src/otari/_client/models/accepted_snapshot_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/activation_api_key_public.py b/src/otari/_client/models/activation_api_key_public.py index 84dd6880..cc2b4a32 100644 --- a/src/otari/_client/models/activation_api_key_public.py +++ b/src/otari/_client/models/activation_api_key_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/activation_attempt_public.py b/src/otari/_client/models/activation_attempt_public.py index d0be24e6..377fac35 100644 --- a/src/otari/_client/models/activation_attempt_public.py +++ b/src/otari/_client/models/activation_attempt_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/active_organization_member_create_request.py b/src/otari/_client/models/active_organization_member_create_request.py index 39d0be64..c51ebbfe 100644 --- a/src/otari/_client/models/active_organization_member_create_request.py +++ b/src/otari/_client/models/active_organization_member_create_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/active_organization_member_create_result_public.py b/src/otari/_client/models/active_organization_member_create_result_public.py index cced51e6..f288e335 100644 --- a/src/otari/_client/models/active_organization_member_create_result_public.py +++ b/src/otari/_client/models/active_organization_member_create_result_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/active_organization_member_public.py b/src/otari/_client/models/active_organization_member_public.py index bf05b4c1..e6cbf329 100644 --- a/src/otari/_client/models/active_organization_member_public.py +++ b/src/otari/_client/models/active_organization_member_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/active_organization_member_update_request.py b/src/otari/_client/models/active_organization_member_update_request.py index 2a314f6d..251ca757 100644 --- a/src/otari/_client/models/active_organization_member_update_request.py +++ b/src/otari/_client/models/active_organization_member_update_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/active_organization_members_public.py b/src/otari/_client/models/active_organization_members_public.py index 0271e1c1..279f321e 100644 --- a/src/otari/_client/models/active_organization_members_public.py +++ b/src/otari/_client/models/active_organization_members_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/active_organization_update_request.py b/src/otari/_client/models/active_organization_update_request.py index 30ec88bc..64313193 100644 --- a/src/otari/_client/models/active_organization_update_request.py +++ b/src/otari/_client/models/active_organization_update_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_behavior.py b/src/otari/_client/models/agent_telemetry_behavior.py index 91c68a33..221e2f77 100644 --- a/src/otari/_client/models/agent_telemetry_behavior.py +++ b/src/otari/_client/models/agent_telemetry_behavior.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_count.py b/src/otari/_client/models/agent_telemetry_count.py index d05a0634..b07da916 100644 --- a/src/otari/_client/models/agent_telemetry_count.py +++ b/src/otari/_client/models/agent_telemetry_count.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_delete_request.py b/src/otari/_client/models/agent_telemetry_delete_request.py index 9dc85fef..23ba0bfd 100644 --- a/src/otari/_client/models/agent_telemetry_delete_request.py +++ b/src/otari/_client/models/agent_telemetry_delete_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_delete_result.py b/src/otari/_client/models/agent_telemetry_delete_result.py index dbee7b5c..08178d71 100644 --- a/src/otari/_client/models/agent_telemetry_delete_result.py +++ b/src/otari/_client/models/agent_telemetry_delete_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_group_row.py b/src/otari/_client/models/agent_telemetry_group_row.py index 5b03cbb0..db05bbd5 100644 --- a/src/otari/_client/models/agent_telemetry_group_row.py +++ b/src/otari/_client/models/agent_telemetry_group_row.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_grouped_series.py b/src/otari/_client/models/agent_telemetry_grouped_series.py index c137201c..cfb81e9e 100644 --- a/src/otari/_client/models/agent_telemetry_grouped_series.py +++ b/src/otari/_client/models/agent_telemetry_grouped_series.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_grouped_series_point.py b/src/otari/_client/models/agent_telemetry_grouped_series_point.py index 73e5252d..85c5be7b 100644 --- a/src/otari/_client/models/agent_telemetry_grouped_series_point.py +++ b/src/otari/_client/models/agent_telemetry_grouped_series_point.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_measures.py b/src/otari/_client/models/agent_telemetry_measures.py index dc6b7602..663e1f90 100644 --- a/src/otari/_client/models/agent_telemetry_measures.py +++ b/src/otari/_client/models/agent_telemetry_measures.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_outcomes.py b/src/otari/_client/models/agent_telemetry_outcomes.py index 2e6e3cb2..d526d15f 100644 --- a/src/otari/_client/models/agent_telemetry_outcomes.py +++ b/src/otari/_client/models/agent_telemetry_outcomes.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_series_point.py b/src/otari/_client/models/agent_telemetry_series_point.py index 1458be22..8ce6c757 100644 --- a/src/otari/_client/models/agent_telemetry_series_point.py +++ b/src/otari/_client/models/agent_telemetry_series_point.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_summary.py b/src/otari/_client/models/agent_telemetry_summary.py index 2554eb1b..4f5f95fd 100644 --- a/src/otari/_client/models/agent_telemetry_summary.py +++ b/src/otari/_client/models/agent_telemetry_summary.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_tool_row.py b/src/otari/_client/models/agent_telemetry_tool_row.py index 8ff7479a..a2ff6e80 100644 --- a/src/otari/_client/models/agent_telemetry_tool_row.py +++ b/src/otari/_client/models/agent_telemetry_tool_row.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/agent_telemetry_usage.py b/src/otari/_client/models/agent_telemetry_usage.py index 4fa5677b..e3ac45f4 100644 --- a/src/otari/_client/models/agent_telemetry_usage.py +++ b/src/otari/_client/models/agent_telemetry_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/alias_request.py b/src/otari/_client/models/alias_request.py index 0a803bd7..5ddd2667 100644 --- a/src/otari/_client/models/alias_request.py +++ b/src/otari/_client/models/alias_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/alias_response.py b/src/otari/_client/models/alias_response.py index a775725f..497f601a 100644 --- a/src/otari/_client/models/alias_response.py +++ b/src/otari/_client/models/alias_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/allocation_health_response.py b/src/otari/_client/models/allocation_health_response.py index 1fe02849..e085fe49 100644 --- a/src/otari/_client/models/allocation_health_response.py +++ b/src/otari/_client/models/allocation_health_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/annotations.py b/src/otari/_client/models/annotations.py index 0bb81181..3e48ac01 100644 --- a/src/otari/_client/models/annotations.py +++ b/src/otari/_client/models/annotations.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/anthropic_file_deleted.py b/src/otari/_client/models/anthropic_file_deleted.py new file mode 100644 index 00000000..3a7d163e --- /dev/null +++ b/src/otari/_client/models/anthropic_file_deleted.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AnthropicFileDeleted(BaseModel): + """ + Anthropic's answer to a delete. + """ # noqa: E501 + id: StrictStr + type: Optional[StrictStr] = 'file_deleted' + __properties: ClassVar[List[str]] = ["id", "type"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['file_deleted']): + raise ValueError("must be one of enum values ('file_deleted')") + return value + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnthropicFileDeleted from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnthropicFileDeleted from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "type": obj.get("type") if obj.get("type") is not None else 'file_deleted' + }) + return _obj + + diff --git a/src/otari/_client/models/anthropic_file_list.py b/src/otari/_client/models/anthropic_file_list.py new file mode 100644 index 00000000..f3fcc10d --- /dev/null +++ b/src/otari/_client/models/anthropic_file_list.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AnthropicFileList(BaseModel): + """ + A page of files in Anthropic's list shape, whose cursor is an opaque token. + """ # noqa: E501 + data: List[AnthropicFileMetadata] + next_page: Optional[StrictStr] + __properties: ClassVar[List[str]] = ["data", "next_page"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnthropicFileList from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + # set to None if next_page (nullable) is None + # and model_fields_set contains the field + if self.next_page is None and "next_page" in self.model_fields_set: + _dict['next_page'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnthropicFileList from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [AnthropicFileMetadata.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next_page": obj.get("next_page") + }) + return _obj + + diff --git a/src/otari/_client/models/anthropic_file_metadata.py b/src/otari/_client/models/anthropic_file_metadata.py new file mode 100644 index 00000000..853221fa --- /dev/null +++ b/src/otari/_client/models/anthropic_file_metadata.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AnthropicFileMetadata(BaseModel): + """ + One file in the ``FileMetadata`` shape of Anthropic's GA Files API. ``expires_at`` is always present and ``None`` for a file kept indefinitely. ``downloadable`` is always true, because the gateway serves every stored file's bytes back. + """ # noqa: E501 + created_at: StrictStr + downloadable: Optional[StrictBool] = True + expires_at: Optional[StrictStr] + filename: StrictStr + id: StrictStr + mime_type: StrictStr + size_bytes: StrictInt + type: Optional[StrictStr] = 'file' + __properties: ClassVar[List[str]] = ["created_at", "downloadable", "expires_at", "filename", "id", "mime_type", "size_bytes", "type"] + + @field_validator('downloadable') + def downloadable_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['true']): + raise ValueError("must be one of enum values ('true')") + return value + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['file']): + raise ValueError("must be one of enum values ('file')") + return value + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnthropicFileMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if expires_at (nullable) is None + # and model_fields_set contains the field + if self.expires_at is None and "expires_at" in self.model_fields_set: + _dict['expires_at'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnthropicFileMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "created_at": obj.get("created_at"), + "downloadable": obj.get("downloadable") if obj.get("downloadable") is not None else True, + "expires_at": obj.get("expires_at"), + "filename": obj.get("filename"), + "id": obj.get("id"), + "mime_type": obj.get("mime_type"), + "size_bytes": obj.get("size_bytes"), + "type": obj.get("type") if obj.get("type") is not None else 'file' + }) + return _obj + + diff --git a/src/otari/_client/models/api_key_id.py b/src/otari/_client/models/api_key_id.py index 62b6d970..eaa9ad52 100644 --- a/src/otari/_client/models/api_key_id.py +++ b/src/otari/_client/models/api_key_id.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/applied_edits_inner.py b/src/otari/_client/models/applied_edits_inner.py index 9afaf059..ca1927bc 100644 --- a/src/otari/_client/models/applied_edits_inner.py +++ b/src/otari/_client/models/applied_edits_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/audio_content.py b/src/otari/_client/models/audio_content.py index 4ea28e84..6ae3f4d1 100644 --- a/src/otari/_client/models/audio_content.py +++ b/src/otari/_client/models/audio_content.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/audio_speech_request.py b/src/otari/_client/models/audio_speech_request.py index 84d3d6d4..d4bb85e1 100644 --- a/src/otari/_client/models/audio_speech_request.py +++ b/src/otari/_client/models/audio_speech_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/authenticate_passkey_request.py b/src/otari/_client/models/authenticate_passkey_request.py index 0d4795d5..c41a6538 100644 --- a/src/otari/_client/models/authenticate_passkey_request.py +++ b/src/otari/_client/models/authenticate_passkey_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/authorize_response.py b/src/otari/_client/models/authorize_response.py index ef13f9f7..455e8df2 100644 --- a/src/otari/_client/models/authorize_response.py +++ b/src/otari/_client/models/authorize_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/backend_type.py b/src/otari/_client/models/backend_type.py index 2410764d..4257b174 100644 --- a/src/otari/_client/models/backend_type.py +++ b/src/otari/_client/models/backend_type.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/batch_request_item.py b/src/otari/_client/models/batch_request_item.py index 3e281840..1bfd5a98 100644 --- a/src/otari/_client/models/batch_request_item.py +++ b/src/otari/_client/models/batch_request_item.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/billing_meters.py b/src/otari/_client/models/billing_meters.py index 4a9ba26a..116ee732 100644 --- a/src/otari/_client/models/billing_meters.py +++ b/src/otari/_client/models/billing_meters.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/blob_resource_contents.py b/src/otari/_client/models/blob_resource_contents.py index bc09707e..a487ae97 100644 --- a/src/otari/_client/models/blob_resource_contents.py +++ b/src/otari/_client/models/blob_resource_contents.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/budget_reset_log_response.py b/src/otari/_client/models/budget_reset_log_response.py index c05659fc..7f86e81e 100644 --- a/src/otari/_client/models/budget_reset_log_response.py +++ b/src/otari/_client/models/budget_reset_log_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/budget_response.py b/src/otari/_client/models/budget_response.py index 69e38b08..0c56363c 100644 --- a/src/otari/_client/models/budget_response.py +++ b/src/otari/_client/models/budget_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/built_in_guardrail_catalog.py b/src/otari/_client/models/built_in_guardrail_catalog.py index 405b1c71..9b4eed64 100644 --- a/src/otari/_client/models/built_in_guardrail_catalog.py +++ b/src/otari/_client/models/built_in_guardrail_catalog.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/built_in_guardrail_spec.py b/src/otari/_client/models/built_in_guardrail_spec.py index da9fa1a3..253584a5 100644 --- a/src/otari/_client/models/built_in_guardrail_spec.py +++ b/src/otari/_client/models/built_in_guardrail_spec.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cache_miss_reason.py b/src/otari/_client/models/cache_miss_reason.py index d20b530d..790e4d67 100644 --- a/src/otari/_client/models/cache_miss_reason.py +++ b/src/otari/_client/models/cache_miss_reason.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/call_tool_result.py b/src/otari/_client/models/call_tool_result.py index 8b6bba67..bcf9ba8c 100644 --- a/src/otari/_client/models/call_tool_result.py +++ b/src/otari/_client/models/call_tool_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/caller.py b/src/otari/_client/models/caller.py index cb67e191..5e140323 100644 --- a/src/otari/_client/models/caller.py +++ b/src/otari/_client/models/caller.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/caller1.py b/src/otari/_client/models/caller1.py index 901f4435..bcfa7fc9 100644 --- a/src/otari/_client/models/caller1.py +++ b/src/otari/_client/models/caller1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/caller_identity_public.py b/src/otari/_client/models/caller_identity_public.py index 7c0ec34d..a5c541d2 100644 --- a/src/otari/_client/models/caller_identity_public.py +++ b/src/otari/_client/models/caller_identity_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/caller_organization_membership_public.py b/src/otari/_client/models/caller_organization_membership_public.py index 25144b07..379a68e2 100644 --- a/src/otari/_client/models/caller_organization_membership_public.py +++ b/src/otari/_client/models/caller_organization_membership_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/caller_organization_memberships_public.py b/src/otari/_client/models/caller_organization_memberships_public.py index bc1fe715..114f7aa1 100644 --- a/src/otari/_client/models/caller_organization_memberships_public.py +++ b/src/otari/_client/models/caller_organization_memberships_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/caller_workspace_membership_public.py b/src/otari/_client/models/caller_workspace_membership_public.py index ad91e044..fe918266 100644 --- a/src/otari/_client/models/caller_workspace_membership_public.py +++ b/src/otari/_client/models/caller_workspace_membership_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/candidate_response.py b/src/otari/_client/models/candidate_response.py index 035310ed..36362de2 100644 --- a/src/otari/_client/models/candidate_response.py +++ b/src/otari/_client/models/candidate_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_capabilities.py b/src/otari/_client/models/catalog_capabilities.py index 4418a152..f831911a 100644 --- a/src/otari/_client/models/catalog_capabilities.py +++ b/src/otari/_client/models/catalog_capabilities.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_credential.py b/src/otari/_client/models/catalog_credential.py index 7d775d30..d4f632e9 100644 --- a/src/otari/_client/models/catalog_credential.py +++ b/src/otari/_client/models/catalog_credential.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_elsewhere.py b/src/otari/_client/models/catalog_elsewhere.py index f06b9e7f..725097a7 100644 --- a/src/otari/_client/models/catalog_elsewhere.py +++ b/src/otari/_client/models/catalog_elsewhere.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_model_detail.py b/src/otari/_client/models/catalog_model_detail.py index e2e810ee..7a97d758 100644 --- a/src/otari/_client/models/catalog_model_detail.py +++ b/src/otari/_client/models/catalog_model_detail.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_model_summary.py b/src/otari/_client/models/catalog_model_summary.py index e6a32c15..b892859a 100644 --- a/src/otari/_client/models/catalog_model_summary.py +++ b/src/otari/_client/models/catalog_model_summary.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_offering.py b/src/otari/_client/models/catalog_offering.py index 0ec34bb1..bf77d318 100644 --- a/src/otari/_client/models/catalog_offering.py +++ b/src/otari/_client/models/catalog_offering.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/catalog_response.py b/src/otari/_client/models/catalog_response.py index 2a38d986..f52480c1 100644 --- a/src/otari/_client/models/catalog_response.py +++ b/src/otari/_client/models/catalog_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_cache_creation_token_details.py b/src/otari/_client/models/cc_cache_creation_token_details.py index 0820d7c8..a302fc32 100644 --- a/src/otari/_client/models/cc_cache_creation_token_details.py +++ b/src/otari/_client/models/cc_cache_creation_token_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_chat_completion_audio.py b/src/otari/_client/models/cc_chat_completion_audio.py index 7b39afd3..05b06233 100644 --- a/src/otari/_client/models/cc_chat_completion_audio.py +++ b/src/otari/_client/models/cc_chat_completion_audio.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_chat_completion_message.py b/src/otari/_client/models/cc_chat_completion_message.py index b5d1dc9e..b24ec504 100644 --- a/src/otari/_client/models/cc_chat_completion_message.py +++ b/src/otari/_client/models/cc_chat_completion_message.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 e290634b..170020d1 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 444b64ab..c0589f8e 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 1f565f83..5409aa0e 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 99fac58a..16080339 100644 --- a/src/otari/_client/models/cc_chat_completion_token_logprob.py +++ b/src/otari/_client/models/cc_chat_completion_token_logprob.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_choice.py b/src/otari/_client/models/cc_choice.py index 7a5dfedb..9c97311a 100644 --- a/src/otari/_client/models/cc_choice.py +++ b/src/otari/_client/models/cc_choice.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_choice_logprobs.py b/src/otari/_client/models/cc_choice_logprobs.py index 70148e4a..48ec8d8b 100644 --- a/src/otari/_client/models/cc_choice_logprobs.py +++ b/src/otari/_client/models/cc_choice_logprobs.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_completion_tokens_details.py b/src/otari/_client/models/cc_completion_tokens_details.py index b19fcae0..55a36b7e 100644 --- a/src/otari/_client/models/cc_completion_tokens_details.py +++ b/src/otari/_client/models/cc_completion_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_completion_usage.py b/src/otari/_client/models/cc_completion_usage.py index 26954308..ba83da47 100644 --- a/src/otari/_client/models/cc_completion_usage.py +++ b/src/otari/_client/models/cc_completion_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_custom.py b/src/otari/_client/models/cc_custom.py index 5e5ee828..952bfce0 100644 --- a/src/otari/_client/models/cc_custom.py +++ b/src/otari/_client/models/cc_custom.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_function.py b/src/otari/_client/models/cc_function.py index b756982f..28f4e3b8 100644 --- a/src/otari/_client/models/cc_function.py +++ b/src/otari/_client/models/cc_function.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_function_call.py b/src/otari/_client/models/cc_function_call.py index 53a64b18..7e6621a9 100644 --- a/src/otari/_client/models/cc_function_call.py +++ b/src/otari/_client/models/cc_function_call.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_image_content.py b/src/otari/_client/models/cc_image_content.py index 68435f24..3c622126 100644 --- a/src/otari/_client/models/cc_image_content.py +++ b/src/otari/_client/models/cc_image_content.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_image_url.py b/src/otari/_client/models/cc_image_url.py index 4133deb3..45022e35 100644 --- a/src/otari/_client/models/cc_image_url.py +++ b/src/otari/_client/models/cc_image_url.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_prompt_tokens_details.py b/src/otari/_client/models/cc_prompt_tokens_details.py index fde8ac73..4e8155d3 100644 --- a/src/otari/_client/models/cc_prompt_tokens_details.py +++ b/src/otari/_client/models/cc_prompt_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cc_top_logprob.py b/src/otari/_client/models/cc_top_logprob.py index 2458debf..07b46ae3 100644 --- a/src/otari/_client/models/cc_top_logprob.py +++ b/src/otari/_client/models/cc_top_logprob.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_cache_creation_token_details.py b/src/otari/_client/models/cck_cache_creation_token_details.py index 616ea581..b3d15d0b 100644 --- a/src/otari/_client/models/cck_cache_creation_token_details.py +++ b/src/otari/_client/models/cck_cache_creation_token_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 39a0aa1a..d7458408 100644 --- a/src/otari/_client/models/cck_chat_completion_token_logprob.py +++ b/src/otari/_client/models/cck_chat_completion_token_logprob.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_choice_delta.py b/src/otari/_client/models/cck_choice_delta.py index 257da7cd..944a8758 100644 --- a/src/otari/_client/models/cck_choice_delta.py +++ b/src/otari/_client/models/cck_choice_delta.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_choice_delta_audio.py b/src/otari/_client/models/cck_choice_delta_audio.py index 00569140..c605d02f 100644 --- a/src/otari/_client/models/cck_choice_delta_audio.py +++ b/src/otari/_client/models/cck_choice_delta_audio.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 ba1e401c..6a337351 100644 --- a/src/otari/_client/models/cck_choice_delta_function_call.py +++ b/src/otari/_client/models/cck_choice_delta_function_call.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 d8b3130c..06ab174c 100644 --- a/src/otari/_client/models/cck_choice_delta_tool_call.py +++ b/src/otari/_client/models/cck_choice_delta_tool_call.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 3bce98f8..322e1db3 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_choice_logprobs.py b/src/otari/_client/models/cck_choice_logprobs.py index da545f65..f29fd857 100644 --- a/src/otari/_client/models/cck_choice_logprobs.py +++ b/src/otari/_client/models/cck_choice_logprobs.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_chunk_choice.py b/src/otari/_client/models/cck_chunk_choice.py index f01b152e..ce336288 100644 --- a/src/otari/_client/models/cck_chunk_choice.py +++ b/src/otari/_client/models/cck_chunk_choice.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_completion_tokens_details.py b/src/otari/_client/models/cck_completion_tokens_details.py index f374afc1..1650fae1 100644 --- a/src/otari/_client/models/cck_completion_tokens_details.py +++ b/src/otari/_client/models/cck_completion_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_completion_usage.py b/src/otari/_client/models/cck_completion_usage.py index 0aca423b..7375c747 100644 --- a/src/otari/_client/models/cck_completion_usage.py +++ b/src/otari/_client/models/cck_completion_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_image_content.py b/src/otari/_client/models/cck_image_content.py index 7646e3f4..9806b917 100644 --- a/src/otari/_client/models/cck_image_content.py +++ b/src/otari/_client/models/cck_image_content.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_image_url.py b/src/otari/_client/models/cck_image_url.py index 18733eca..eb6d97e7 100644 --- a/src/otari/_client/models/cck_image_url.py +++ b/src/otari/_client/models/cck_image_url.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_prompt_tokens_details.py b/src/otari/_client/models/cck_prompt_tokens_details.py index b1979dc2..27154131 100644 --- a/src/otari/_client/models/cck_prompt_tokens_details.py +++ b/src/otari/_client/models/cck_prompt_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/cck_top_logprob.py b/src/otari/_client/models/cck_top_logprob.py index 5bf61d18..cd28e2f2 100644 --- a/src/otari/_client/models/cck_top_logprob.py +++ b/src/otari/_client/models/cck_top_logprob.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/chat_completion.py b/src/otari/_client/models/chat_completion.py index ee1a6bea..7ed29cae 100644 --- a/src/otari/_client/models/chat_completion.py +++ b/src/otari/_client/models/chat_completion.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/chat_completion_chunk.py b/src/otari/_client/models/chat_completion_chunk.py index 17f14498..1650b2d3 100644 --- a/src/otari/_client/models/chat_completion_chunk.py +++ b/src/otari/_client/models/chat_completion_chunk.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/chat_completion_request.py b/src/otari/_client/models/chat_completion_request.py index 01b463f6..6bd00236 100644 --- a/src/otari/_client/models/chat_completion_request.py +++ b/src/otari/_client/models/chat_completion_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/chat_completion_request_tools_inner.py b/src/otari/_client/models/chat_completion_request_tools_inner.py index 6e64b034..3068f35c 100644 --- a/src/otari/_client/models/chat_completion_request_tools_inner.py +++ b/src/otari/_client/models/chat_completion_request_tools_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/chat_message_input.py b/src/otari/_client/models/chat_message_input.py index 56f26cb1..293271c4 100644 --- a/src/otari/_client/models/chat_message_input.py +++ b/src/otari/_client/models/chat_message_input.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/check_verdict_request.py b/src/otari/_client/models/check_verdict_request.py index d0f016bc..e72e41a5 100644 --- a/src/otari/_client/models/check_verdict_request.py +++ b/src/otari/_client/models/check_verdict_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,7 +26,7 @@ class CheckVerdictRequest(BaseModel): """ - One check_passed gate's verdict, as the caller's own verifier run produced it. Mirrors ``JudgeVerdictRequest`` field-for-field: ``gate_id`` echoes back the gate the policy itself named (same bound, same reason), ``outcome`` is the caller's own report of the verifier's exit code (0/1/anything else, mapped by the caller to pass/fail/error), and ``detail`` is the verifier's captured stdout, capped the same way ``reasoning`` is. + One verifier gate's verdict, as the caller's own verifier run produced it. Mirrors ``JudgeVerdictRequest`` field-for-field: ``gate_id`` echoes back the gate the policy itself named (same bound, same reason), ``outcome`` is the caller's own report of the verifier's exit code (0/1/anything else, mapped by the caller to pass/fail/error), and ``detail`` is the verifier's captured stdout, capped the same way ``reasoning`` is. """ # noqa: E501 detail: Optional[Annotated[str, Field(strict=True, max_length=4096)]] = '' gate_id: Annotated[str, Field(min_length=1, strict=True, max_length=200)] diff --git a/src/otari/_client/models/code_executor.py b/src/otari/_client/models/code_executor.py index 583138e7..39aa86d3 100644 --- a/src/otari/_client/models/code_executor.py +++ b/src/otari/_client/models/code_executor.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/config_field.py b/src/otari/_client/models/config_field.py index 375eb3cd..fd09c130 100644 --- a/src/otari/_client/models/config_field.py +++ b/src/otari/_client/models/config_field.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/config_search_tool_schema.py b/src/otari/_client/models/config_search_tool_schema.py index 32f983e7..8db242d9 100644 --- a/src/otari/_client/models/config_search_tool_schema.py +++ b/src/otari/_client/models/config_search_tool_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/container.py b/src/otari/_client/models/container.py new file mode 100644 index 00000000..9964d9ac --- /dev/null +++ b/src/otari/_client/models/container.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +from inspect import getfullargspec +import json +import pprint +import re # noqa: F401 +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Any, Dict, Optional +from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict +from typing_extensions import Literal, Self +from pydantic import Field + +CONTAINER_ANY_OF_SCHEMAS = ["Dict[str, object]", "str"] + +class Container(BaseModel): + """ + Container + """ + + # data type: str + anyof_schema_1_validator: Optional[StrictStr] = Field(default=None, description="Filter to a single event type or metric name (e.g. 'tool_result', 'claude_code.commit.count')") + # data type: Dict[str, object] + anyof_schema_2_validator: Optional[Dict[str, Any]] = Field(default=None, description="Provider-native request fields used as defaults (e.g. exa's 'type', searxng's 'engines').") + if TYPE_CHECKING: + actual_instance: Optional[Union[Dict[str, object], str]] = None + else: + actual_instance: Any = None + any_of_schemas: Set[str] = { "Dict[str, object]", "str" } + + model_config = { + "validate_assignment": True, + "protected_namespaces": (), + } + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_anyof(cls, v): + if v is None: + return v + + instance = Container.model_construct() + error_messages = [] + # validate data type: str + try: + instance.anyof_schema_1_validator = v + return v + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # validate data type: Dict[str, object] + try: + instance.anyof_schema_2_validator = v + return v + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + if error_messages: + # no match + raise ValueError("No match found when setting the actual_instance in Container with anyOf schemas: Dict[str, object], str. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Dict[str, Any]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + if json_str is None: + return instance + + error_messages = [] + # deserialize data into str + try: + # validation + instance.anyof_schema_1_validator = json.loads(json_str) + # assign value to actual_instance + instance.actual_instance = instance.anyof_schema_1_validator + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into Dict[str, object] + try: + # validation + instance.anyof_schema_2_validator = json.loads(json_str) + # assign value to actual_instance + instance.actual_instance = instance.anyof_schema_2_validator + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if error_messages: + # no match + raise ValueError("No match found when deserializing the JSON string into Container with anyOf schemas: Dict[str, object], str. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], Dict[str, object], str]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/src/otari/_client/models/content.py b/src/otari/_client/models/content.py index 6361c898..e82740d0 100644 --- a/src/otari/_client/models/content.py +++ b/src/otari/_client/models/content.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content1.py b/src/otari/_client/models/content1.py index b7817660..621772b2 100644 --- a/src/otari/_client/models/content1.py +++ b/src/otari/_client/models/content1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content10.py b/src/otari/_client/models/content10.py index 51fdefe6..f654c06e 100644 --- a/src/otari/_client/models/content10.py +++ b/src/otari/_client/models/content10.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content11.py b/src/otari/_client/models/content11.py index 4af3e67e..caadf5f1 100644 --- a/src/otari/_client/models/content11.py +++ b/src/otari/_client/models/content11.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content12.py b/src/otari/_client/models/content12.py index 1e8301ff..6337fc50 100644 --- a/src/otari/_client/models/content12.py +++ b/src/otari/_client/models/content12.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content13.py b/src/otari/_client/models/content13.py index f059ec3e..8eebfcdd 100644 --- a/src/otari/_client/models/content13.py +++ b/src/otari/_client/models/content13.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content14.py b/src/otari/_client/models/content14.py index 3e163e27..b2231677 100644 --- a/src/otari/_client/models/content14.py +++ b/src/otari/_client/models/content14.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content15.py b/src/otari/_client/models/content15.py index 10f772f0..5ab1a714 100644 --- a/src/otari/_client/models/content15.py +++ b/src/otari/_client/models/content15.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content16.py b/src/otari/_client/models/content16.py index a64542e5..43006e80 100644 --- a/src/otari/_client/models/content16.py +++ b/src/otari/_client/models/content16.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content17_inner.py b/src/otari/_client/models/content17_inner.py index 0c290ab5..d3283788 100644 --- a/src/otari/_client/models/content17_inner.py +++ b/src/otari/_client/models/content17_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content2.py b/src/otari/_client/models/content2.py index 00405695..bcfe5c02 100644 --- a/src/otari/_client/models/content2.py +++ b/src/otari/_client/models/content2.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content2_any_of_inner.py b/src/otari/_client/models/content2_any_of_inner.py index 990d49c9..ac41fe0f 100644 --- a/src/otari/_client/models/content2_any_of_inner.py +++ b/src/otari/_client/models/content2_any_of_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content3.py b/src/otari/_client/models/content3.py index 9fcc5091..ad185541 100644 --- a/src/otari/_client/models/content3.py +++ b/src/otari/_client/models/content3.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content4.py b/src/otari/_client/models/content4.py index 149279d1..58b802ef 100644 --- a/src/otari/_client/models/content4.py +++ b/src/otari/_client/models/content4.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content5.py b/src/otari/_client/models/content5.py index 8fbf69fe..afb2f6fa 100644 --- a/src/otari/_client/models/content5.py +++ b/src/otari/_client/models/content5.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content6.py b/src/otari/_client/models/content6.py index ed1a12b4..64a54b1a 100644 --- a/src/otari/_client/models/content6.py +++ b/src/otari/_client/models/content6.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content7.py b/src/otari/_client/models/content7.py index af6c2f6b..87b6177b 100644 --- a/src/otari/_client/models/content7.py +++ b/src/otari/_client/models/content7.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content8.py b/src/otari/_client/models/content8.py index f525ec02..2b9b042d 100644 --- a/src/otari/_client/models/content8.py +++ b/src/otari/_client/models/content8.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content9.py b/src/otari/_client/models/content9.py index 46ad778d..7c021cc7 100644 --- a/src/otari/_client/models/content9.py +++ b/src/otari/_client/models/content9.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content_any_of_inner.py b/src/otari/_client/models/content_any_of_inner.py index 28f354f1..190701b8 100644 --- a/src/otari/_client/models/content_any_of_inner.py +++ b/src/otari/_client/models/content_any_of_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/content_inner.py b/src/otari/_client/models/content_inner.py index c0cb39ea..2d5511d3 100644 --- a/src/otari/_client/models/content_inner.py +++ b/src/otari/_client/models/content_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/conversation.py b/src/otari/_client/models/conversation.py index 0699825c..b4ce930f 100644 --- a/src/otari/_client/models/conversation.py +++ b/src/otari/_client/models/conversation.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/count_tokens_request.py b/src/otari/_client/models/count_tokens_request.py index 1d9acb9c..978a5976 100644 --- a/src/otari/_client/models/count_tokens_request.py +++ b/src/otari/_client/models/count_tokens_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/count_tokens_response.py b/src/otari/_client/models/count_tokens_response.py index a3c2eb3b..744ad13d 100644 --- a/src/otari/_client/models/count_tokens_response.py +++ b/src/otari/_client/models/count_tokens_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_batch_request.py b/src/otari/_client/models/create_batch_request.py index 1a00ea04..ff8dadda 100644 --- a/src/otari/_client/models/create_batch_request.py +++ b/src/otari/_client/models/create_batch_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_budget_request.py b/src/otari/_client/models/create_budget_request.py index e0532722..0884a933 100644 --- a/src/otari/_client/models/create_budget_request.py +++ b/src/otari/_client/models/create_budget_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_embedding_response.py b/src/otari/_client/models/create_embedding_response.py index b7a2ea02..7af73348 100644 --- a/src/otari/_client/models/create_embedding_response.py +++ b/src/otari/_client/models/create_embedding_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_key_request.py b/src/otari/_client/models/create_key_request.py index caf58ba4..36de4334 100644 --- a/src/otari/_client/models/create_key_request.py +++ b/src/otari/_client/models/create_key_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_key_response.py b/src/otari/_client/models/create_key_response.py index 1ccc5889..bd41eb03 100644 --- a/src/otari/_client/models/create_key_response.py +++ b/src/otari/_client/models/create_key_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_own_key_request.py b/src/otari/_client/models/create_own_key_request.py index d2d1673d..0141f24a 100644 --- a/src/otari/_client/models/create_own_key_request.py +++ b/src/otari/_client/models/create_own_key_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_scoped_budget_request.py b/src/otari/_client/models/create_scoped_budget_request.py index afa117f6..86f16208 100644 --- a/src/otari/_client/models/create_scoped_budget_request.py +++ b/src/otari/_client/models/create_scoped_budget_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_search_tool_request.py b/src/otari/_client/models/create_search_tool_request.py index 9db90a89..819f40a9 100644 --- a/src/otari/_client/models/create_search_tool_request.py +++ b/src/otari/_client/models/create_search_tool_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_session_request.py b/src/otari/_client/models/create_session_request.py index f797b054..342a4808 100644 --- a/src/otari/_client/models/create_session_request.py +++ b/src/otari/_client/models/create_session_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_stored_provider_request.py b/src/otari/_client/models/create_stored_provider_request.py index 0fff06d6..5247e368 100644 --- a/src/otari/_client/models/create_stored_provider_request.py +++ b/src/otari/_client/models/create_stored_provider_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/create_user_request.py b/src/otari/_client/models/create_user_request.py index ef6216d8..9dfefecf 100644 --- a/src/otari/_client/models/create_user_request.py +++ b/src/otari/_client/models/create_user_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/current_pricing_page.py b/src/otari/_client/models/current_pricing_page.py index 7c1415cb..f68194ec 100644 --- a/src/otari/_client/models/current_pricing_page.py +++ b/src/otari/_client/models/current_pricing_page.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/deployment_admin_access_public.py b/src/otari/_client/models/deployment_admin_access_public.py index 43d87893..142a2bcb 100644 --- a/src/otari/_client/models/deployment_admin_access_public.py +++ b/src/otari/_client/models/deployment_admin_access_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/deployment_bootstrap.py b/src/otari/_client/models/deployment_bootstrap.py index 7ce6d9c3..715ce739 100644 --- a/src/otari/_client/models/deployment_bootstrap.py +++ b/src/otari/_client/models/deployment_bootstrap.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,6 +30,7 @@ class DeploymentBootstrap(BaseModel): data_plane_url: Optional[StrictStr] = Field(description="Where this deployment's inference traffic belongs, when it is not served here. The mirror of management_url: that one says where management lives when this deployment is not the control plane, this one says where the data plane is when this deployment is not it. Set only by a hosted control plane, which serves the dashboard but not inference (otari#822); null for standalone and hybrid, both of which serve inference at the address that reached this page. Not a human link target like management_url: it is the gateway's bare address, which the dashboard suffixes with the API root to build its request snippets. So it must carry no API root anywhere (a value ending in /api/v1, or a whole endpoint like /api/v1/chat/completions, renders that path twice) and no credential, since this response is unauthenticated. This gateway refuses both at startup; any deployment serving this contract should publish the same shape. Null on a hosted deployment means unconfigured, and the dashboard then shows no snippet rather than one naming this host.") deployment_type: StrictStr = Field(description="Which deployment serves this URL. 'standalone' owns its own data and serves one tenant; 'hosted' owns its own data and serves many (otari.ai, or any deployment run as a control plane), which is why its management surfaces are the per-organization ones; 'hybrid' is a gateway attached to otari.ai, which is data-plane only and holds no management surface of its own.") docs_url: Optional[StrictStr] = Field(description="Where this deployment's documentation lives, when it is not the operator guide bundled with the gateway. Set, the dashboard's Documentation links open it in a new tab; null, they go to the bundled guide at /#/docs, which stays served either way. A link target an operator configured, validated at startup as an absolute http(s) URL carrying no credential, since this response is unauthenticated.") + feedback_enabled: StrictBool = Field(description="Whether this deployment accepts deliberate feedback submissions.") mail_ready: StrictBool = Field(description="Whether this deployment can deliver a message carrying a link back to itself (an invitation's accept link, and the verification and reset links to come), not merely whether a transport is configured: it also needs to know its own public URL to put in one. Lets the dashboard disable or hide a mail-dependent affordance instead of offering one that would fail at send time. Every message this control plane sends carries such a link, which is why this is one flag and not one per feature. False for a hybrid gateway, whose control plane is otari.ai and which sends no mail of its own.") maintenance_mode: StrictBool = Field(description="Whether this deployment is refusing new dashboard sign-ins while an operator redeploys it. The sign-in screen says so rather than presenting a form whose only outcome is a 503. Sessions already issued keep working, and the management API and the data plane are unaffected. False for a hybrid gateway, which issues no session.") management_url: Optional[StrictStr] = Field(description="Where the authoritative control plane lives when it is not this deployment. Set for a hybrid gateway so its landing page can link to otari.ai; null otherwise.") @@ -40,9 +41,10 @@ class DeploymentBootstrap(BaseModel): public_catalog: Optional[StrictBool] = Field(default=False, description="Whether the model catalog is served to a visitor with no session: GET /api/v1/catalog/models answers anonymously and the dashboard renders Models ahead of sign-in. False for a hybrid gateway, which serves no catalog of its own.") session_type: StrictStr = Field(description="The kind of session this deployment issues, not whether the caller holds one. 'local_operator' is the standalone operator sign-in (see sign_in_methods for which credential it currently accepts), 'hosted_user' an otari.ai account, and 'none' a deployment that issues no management session at all.") sign_in_methods: List[StrictStr] = Field(description="How POST /api/v1/auth/session may be authenticated right now, sorted. 'master_key' is the first-boot credential and is offered until the operator identity has a password, which is what claiming the deployment means; past that it stays the credential for the management API but is no longer a dashboard login. 'password' is offered while any active identity holds one, which is not the same question and not always the later half of it: a member can hold a password on a deployment whose operator never claimed it, so both typed credentials can appear together. 'passkey' appears alongside either when this deployment is configured for WebAuthn and holds at least one passkey that its current relying-party ID can assert. Empty for a hybrid gateway, which issues no session. The login page renders from this rather than trying a credential to find out.") + site_url: Optional[StrictStr] = Field(description="Where this deployment's public website lives. Set, the logo on the pages a visitor reaches without an account links to it; null, it links to the public catalog. A link target an operator configured, validated at startup as an absolute http(s) URL carrying no credential, since this response is unauthenticated.") surfaces: List[StrictStr] = Field(description="Management API groups this deployment serves, sorted, which is what its dashboard pages gate on. Named surfaces, not capabilities: capability is otari.ai's word for the entitlement (licensing) axis, and this is the deployment (topology) axis. Empty for a hybrid gateway.") terms_url: Optional[StrictStr] = Field(description="Where this deployment's terms of service live. Set, the account menu carries a Terms of service row pointing at them; null, no address is configured and the menu carries no such row. A link target an operator configured, validated at startup as an absolute http(s) URL carrying no credential, since this response is unauthenticated.") - __properties: ClassVar[List[str]] = ["data_plane_url", "deployment_type", "docs_url", "mail_ready", "maintenance_mode", "management_url", "oauth_providers", "open_signup", "passkeys_ready", "privacy_url", "public_catalog", "session_type", "sign_in_methods", "surfaces", "terms_url"] + __properties: ClassVar[List[str]] = ["data_plane_url", "deployment_type", "docs_url", "feedback_enabled", "mail_ready", "maintenance_mode", "management_url", "oauth_providers", "open_signup", "passkeys_ready", "privacy_url", "public_catalog", "session_type", "sign_in_methods", "site_url", "surfaces", "terms_url"] @field_validator('deployment_type') def deployment_type_validate_enum(cls, value): @@ -125,6 +127,11 @@ def to_dict(self) -> Dict[str, Any]: if self.privacy_url is None and "privacy_url" in self.model_fields_set: _dict['privacy_url'] = None + # set to None if site_url (nullable) is None + # and model_fields_set contains the field + if self.site_url is None and "site_url" in self.model_fields_set: + _dict['site_url'] = None + # set to None if terms_url (nullable) is None # and model_fields_set contains the field if self.terms_url is None and "terms_url" in self.model_fields_set: @@ -145,6 +152,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "data_plane_url": obj.get("data_plane_url"), "deployment_type": obj.get("deployment_type"), "docs_url": obj.get("docs_url"), + "feedback_enabled": obj.get("feedback_enabled"), "mail_ready": obj.get("mail_ready"), "maintenance_mode": obj.get("maintenance_mode"), "management_url": obj.get("management_url"), @@ -155,6 +163,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "public_catalog": obj.get("public_catalog") if obj.get("public_catalog") is not None else False, "session_type": obj.get("session_type"), "sign_in_methods": obj.get("sign_in_methods"), + "site_url": obj.get("site_url"), "surfaces": obj.get("surfaces"), "terms_url": obj.get("terms_url") }) diff --git a/src/otari/_client/models/deployment_user_organization_public.py b/src/otari/_client/models/deployment_user_organization_public.py index 90383417..1781e921 100644 --- a/src/otari/_client/models/deployment_user_organization_public.py +++ b/src/otari/_client/models/deployment_user_organization_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/deployment_user_public.py b/src/otari/_client/models/deployment_user_public.py index 5116fb3d..5bd6602e 100644 --- a/src/otari/_client/models/deployment_user_public.py +++ b/src/otari/_client/models/deployment_user_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/deployment_user_update_request.py b/src/otari/_client/models/deployment_user_update_request.py index 3c2d8f8e..0805480c 100644 --- a/src/otari/_client/models/deployment_user_update_request.py +++ b/src/otari/_client/models/deployment_user_update_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/deployment_users_public.py b/src/otari/_client/models/deployment_users_public.py index 271be4b3..60e0f788 100644 --- a/src/otari/_client/models/deployment_users_public.py +++ b/src/otari/_client/models/deployment_users_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/discoverable_model.py b/src/otari/_client/models/discoverable_model.py index 4caf4fda..34e7128d 100644 --- a/src/otari/_client/models/discoverable_model.py +++ b/src/otari/_client/models/discoverable_model.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/discoverable_models_response.py b/src/otari/_client/models/discoverable_models_response.py index 36c2c352..fad5da1f 100644 --- a/src/otari/_client/models/discoverable_models_response.py +++ b/src/otari/_client/models/discoverable_models_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/discoverable_provider.py b/src/otari/_client/models/discoverable_provider.py index 70c0cd43..b74f53a8 100644 --- a/src/otari/_client/models/discoverable_provider.py +++ b/src/otari/_client/models/discoverable_provider.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/dropped_response.py b/src/otari/_client/models/dropped_response.py index 758484a6..3f834c31 100644 --- a/src/otari/_client/models/dropped_response.py +++ b/src/otari/_client/models/dropped_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/emb_embedding.py b/src/otari/_client/models/emb_embedding.py index 77e52ad8..e5af620c 100644 --- a/src/otari/_client/models/emb_embedding.py +++ b/src/otari/_client/models/emb_embedding.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/emb_usage.py b/src/otari/_client/models/emb_usage.py index 23781b4e..bbb18718 100644 --- a/src/otari/_client/models/emb_usage.py +++ b/src/otari/_client/models/emb_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/embedded_resource.py b/src/otari/_client/models/embedded_resource.py index 70c02fac..93e592ed 100644 --- a/src/otari/_client/models/embedded_resource.py +++ b/src/otari/_client/models/embedded_resource.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/embedding_request.py b/src/otari/_client/models/embedding_request.py index 46e75c4d..1e8dc682 100644 --- a/src/otari/_client/models/embedding_request.py +++ b/src/otari/_client/models/embedding_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/execution_state.py b/src/otari/_client/models/execution_state.py index a30cfa05..49a88a93 100644 --- a/src/otari/_client/models/execution_state.py +++ b/src/otari/_client/models/execution_state.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/explain_request.py b/src/otari/_client/models/explain_request.py index fc7ddcb8..37a9d14d 100644 --- a/src/otari/_client/models/explain_request.py +++ b/src/otari/_client/models/explain_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/explain_response.py b/src/otari/_client/models/explain_response.py index 7318a1f5..2c6e8208 100644 --- a/src/otari/_client/models/explain_response.py +++ b/src/otari/_client/models/explain_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/external_events_request.py b/src/otari/_client/models/external_events_request.py index b6edcde0..a5e9e880 100644 --- a/src/otari/_client/models/external_events_request.py +++ b/src/otari/_client/models/external_events_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/external_ingest_error.py b/src/otari/_client/models/external_ingest_error.py index 2d2b69d9..02c6276b 100644 --- a/src/otari/_client/models/external_ingest_error.py +++ b/src/otari/_client/models/external_ingest_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/external_ingest_result.py b/src/otari/_client/models/external_ingest_result.py index 7abad8e6..f5d02f13 100644 --- a/src/otari/_client/models/external_ingest_result.py +++ b/src/otari/_client/models/external_ingest_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/external_usage_event.py b/src/otari/_client/models/external_usage_event.py index 99a87e8c..a6a0cdef 100644 --- a/src/otari/_client/models/external_usage_event.py +++ b/src/otari/_client/models/external_usage_event.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/feedback_submission.py b/src/otari/_client/models/feedback_submission.py new file mode 100644 index 00000000..f1cd14eb --- /dev/null +++ b/src/otari/_client/models/feedback_submission.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class FeedbackSubmission(BaseModel): + """ + FeedbackSubmission + """ # noqa: E501 + message: Annotated[str, Field(min_length=1, strict=True, max_length=4000)] + additional_properties: Dict[str, Any] = {} + __properties: ClassVar[List[str]] = ["message"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FeedbackSubmission from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + * Fields in `self.additional_properties` are added to the output dict. + """ + excluded_fields: Set[str] = set([ + "additional_properties", + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FeedbackSubmission from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message") + }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + + return _obj + + diff --git a/src/otari/_client/models/gate_result_response.py b/src/otari/_client/models/gate_result_response.py index 2eae18f1..0d03c4d5 100644 --- a/src/otari/_client/models/gate_result_response.py +++ b/src/otari/_client/models/gate_result_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/gateway_settings.py b/src/otari/_client/models/gateway_settings.py index 2fac02df..a65079c2 100644 --- a/src/otari/_client/models/gateway_settings.py +++ b/src/otari/_client/models/gateway_settings.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/guardrail_catalog.py b/src/otari/_client/models/guardrail_catalog.py index 5e6d715b..ca821556 100644 --- a/src/otari/_client/models/guardrail_catalog.py +++ b/src/otari/_client/models/guardrail_catalog.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/guardrail_category.py b/src/otari/_client/models/guardrail_category.py index 7d10e87e..721311bb 100644 --- a/src/otari/_client/models/guardrail_category.py +++ b/src/otari/_client/models/guardrail_category.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/guardrail_config.py b/src/otari/_client/models/guardrail_config.py index fa2b01fd..f5af1344 100644 --- a/src/otari/_client/models/guardrail_config.py +++ b/src/otari/_client/models/guardrail_config.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/guardrail_parameter_spec.py b/src/otari/_client/models/guardrail_parameter_spec.py index aaa9a645..cd88a815 100644 --- a/src/otari/_client/models/guardrail_parameter_spec.py +++ b/src/otari/_client/models/guardrail_parameter_spec.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/guardrail_profile_spec.py b/src/otari/_client/models/guardrail_profile_spec.py index dbfa190c..04a2e6a0 100644 --- a/src/otari/_client/models/guardrail_profile_spec.py +++ b/src/otari/_client/models/guardrail_profile_spec.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/guardrail_stage.py b/src/otari/_client/models/guardrail_stage.py index 88f7ff30..f738f908 100644 --- a/src/otari/_client/models/guardrail_stage.py +++ b/src/otari/_client/models/guardrail_stage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/http_validation_error.py b/src/otari/_client/models/http_validation_error.py index 47f49220..73168719 100644 --- a/src/otari/_client/models/http_validation_error.py +++ b/src/otari/_client/models/http_validation_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/icon.py b/src/otari/_client/models/icon.py index 6c40f0c0..30caaec9 100644 --- a/src/otari/_client/models/icon.py +++ b/src/otari/_client/models/icon.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/image_content.py b/src/otari/_client/models/image_content.py index 037eff77..bc0d9e13 100644 --- a/src/otari/_client/models/image_content.py +++ b/src/otari/_client/models/image_content.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/image_generation_request.py b/src/otari/_client/models/image_generation_request.py index 5237fee2..84ffe0ee 100644 --- a/src/otari/_client/models/image_generation_request.py +++ b/src/otari/_client/models/image_generation_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/images_response.py b/src/otari/_client/models/images_response.py index f8c8e282..0af3d89e 100644 --- a/src/otari/_client/models/images_response.py +++ b/src/otari/_client/models/images_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/img_image.py b/src/otari/_client/models/img_image.py index b04774d3..646bdf44 100644 --- a/src/otari/_client/models/img_image.py +++ b/src/otari/_client/models/img_image.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/img_usage.py b/src/otari/_client/models/img_usage.py index 7b122742..a3d9bd1f 100644 --- a/src/otari/_client/models/img_usage.py +++ b/src/otari/_client/models/img_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/img_usage_input_tokens_details.py b/src/otari/_client/models/img_usage_input_tokens_details.py index 79f1d316..50e58762 100644 --- a/src/otari/_client/models/img_usage_input_tokens_details.py +++ b/src/otari/_client/models/img_usage_input_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/img_usage_output_tokens_details.py b/src/otari/_client/models/img_usage_output_tokens_details.py index 88a7f897..762b237b 100644 --- a/src/otari/_client/models/img_usage_output_tokens_details.py +++ b/src/otari/_client/models/img_usage_output_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/in_flight_entry.py b/src/otari/_client/models/in_flight_entry.py index d64c3838..f0773e29 100644 --- a/src/otari/_client/models/in_flight_entry.py +++ b/src/otari/_client/models/in_flight_entry.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/in_flight_response.py b/src/otari/_client/models/in_flight_response.py index 27ded860..357d2b6a 100644 --- a/src/otari/_client/models/in_flight_response.py +++ b/src/otari/_client/models/in_flight_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/input.py b/src/otari/_client/models/input.py index 435a5aca..9ec3ecfd 100644 --- a/src/otari/_client/models/input.py +++ b/src/otari/_client/models/input.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/input1.py b/src/otari/_client/models/input1.py index 1b39fee4..0c733ae9 100644 --- a/src/otari/_client/models/input1.py +++ b/src/otari/_client/models/input1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/invitation_preview_public.py b/src/otari/_client/models/invitation_preview_public.py index 064d1e5f..d7dda53e 100644 --- a/src/otari/_client/models/invitation_preview_public.py +++ b/src/otari/_client/models/invitation_preview_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/invite_organization_member_request.py b/src/otari/_client/models/invite_organization_member_request.py index 9d8fc566..69aad877 100644 --- a/src/otari/_client/models/invite_organization_member_request.py +++ b/src/otari/_client/models/invite_organization_member_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/invite_organization_member_result_public.py b/src/otari/_client/models/invite_organization_member_result_public.py index 9e58c240..9ae557d2 100644 --- a/src/otari/_client/models/invite_organization_member_result_public.py +++ b/src/otari/_client/models/invite_organization_member_result_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/judge_verdict_request.py b/src/otari/_client/models/judge_verdict_request.py index e9c68b37..5a8511eb 100644 --- a/src/otari/_client/models/judge_verdict_request.py +++ b/src/otari/_client/models/judge_verdict_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/key_info.py b/src/otari/_client/models/key_info.py index 1178a81f..e3049e76 100644 --- a/src/otari/_client/models/key_info.py +++ b/src/otari/_client/models/key_info.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/known_provider_schema.py b/src/otari/_client/models/known_provider_schema.py index 62cb3a01..68c46738 100644 --- a/src/otari/_client/models/known_provider_schema.py +++ b/src/otari/_client/models/known_provider_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/known_provider_summary_schema.py b/src/otari/_client/models/known_provider_summary_schema.py index f5b8a0b2..32cfbfa6 100644 --- a/src/otari/_client/models/known_provider_summary_schema.py +++ b/src/otari/_client/models/known_provider_summary_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/learned_policy.py b/src/otari/_client/models/learned_policy.py index b04fa963..325b2eec 100644 --- a/src/otari/_client/models/learned_policy.py +++ b/src/otari/_client/models/learned_policy.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/location_inner.py b/src/otari/_client/models/location_inner.py index 01f4f5f7..da39cc01 100644 --- a/src/otari/_client/models/location_inner.py +++ b/src/otari/_client/models/location_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mail_settings.py b/src/otari/_client/models/mail_settings.py index 620d9933..4978c6c5 100644 --- a/src/otari/_client/models/mail_settings.py +++ b/src/otari/_client/models/mail_settings.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/maintenance_mode.py b/src/otari/_client/models/maintenance_mode.py index 5f063ab4..30b02da3 100644 --- a/src/otari/_client/models/maintenance_mode.py +++ b/src/otari/_client/models/maintenance_mode.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/managed_tool.py b/src/otari/_client/models/managed_tool.py index 42b217b8..872fd55d 100644 --- a/src/otari/_client/models/managed_tool.py +++ b/src/otari/_client/models/managed_tool.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mcp_error_body.py b/src/otari/_client/models/mcp_error_body.py index d4f8f7c3..0c6a63ab 100644 --- a/src/otari/_client/models/mcp_error_body.py +++ b/src/otari/_client/models/mcp_error_body.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mcp_execute_request.py b/src/otari/_client/models/mcp_execute_request.py index 834642f6..3d33e846 100644 --- a/src/otari/_client/models/mcp_execute_request.py +++ b/src/otari/_client/models/mcp_execute_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mcp_server_config.py b/src/otari/_client/models/mcp_server_config.py index cd55ad68..8dcc7082 100644 --- a/src/otari/_client/models/mcp_server_config.py +++ b/src/otari/_client/models/mcp_server_config.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mcp_tool_definition.py b/src/otari/_client/models/mcp_tool_definition.py index e6ef845d..30ce3d54 100644 --- a/src/otari/_client/models/mcp_tool_definition.py +++ b/src/otari/_client/models/mcp_tool_definition.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mcp_tool_warning.py b/src/otari/_client/models/mcp_tool_warning.py index 833d0d41..65414841 100644 --- a/src/otari/_client/models/mcp_tool_warning.py +++ b/src/otari/_client/models/mcp_tool_warning.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mcp_tools_response.py b/src/otari/_client/models/mcp_tools_response.py index 02cc47da..675c6475 100644 --- a/src/otari/_client/models/mcp_tools_response.py +++ b/src/otari/_client/models/mcp_tools_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/member_attribution_public.py b/src/otari/_client/models/member_attribution_public.py index 462a021f..78ced650 100644 --- a/src/otari/_client/models/member_attribution_public.py +++ b/src/otari/_client/models/member_attribution_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/member_ceiling_public.py b/src/otari/_client/models/member_ceiling_public.py index 70206558..4750b1bc 100644 --- a/src/otari/_client/models/member_ceiling_public.py +++ b/src/otari/_client/models/member_ceiling_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/member_workspace_placement_public.py b/src/otari/_client/models/member_workspace_placement_public.py index 32a30959..ca7c4e9d 100644 --- a/src/otari/_client/models/member_workspace_placement_public.py +++ b/src/otari/_client/models/member_workspace_placement_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/message.py b/src/otari/_client/models/message.py index dadcac9b..accc70b4 100644 --- a/src/otari/_client/models/message.py +++ b/src/otari/_client/models/message.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/message_response.py b/src/otari/_client/models/message_response.py index caa3694c..4d2fc105 100644 --- a/src/otari/_client/models/message_response.py +++ b/src/otari/_client/models/message_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/messages_request.py b/src/otari/_client/models/messages_request.py index f55ae0eb..04f75086 100644 --- a/src/otari/_client/models/messages_request.py +++ b/src/otari/_client/models/messages_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,6 +21,7 @@ from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from uuid import UUID +from otari._client.models.container import Container from otari._client.models.guardrail_config import GuardrailConfig from otari._client.models.mcp_server_config import McpServerConfig from otari._client.models.system import System @@ -34,7 +35,7 @@ class MessagesRequest(BaseModel): """ # noqa: E501 betas: Optional[List[StrictStr]] = None cache_control: Optional[Dict[str, Any]] = None - container: Optional[StrictStr] = None + container: Optional[Container] = None context_management: Optional[Dict[str, Any]] = None guardrails: Optional[Annotated[List[GuardrailConfig], Field(max_length=8)]] = None max_tokens: StrictInt @@ -99,6 +100,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of container + if self.container: + _dict['container'] = self.container.to_dict() # override the default output from pydantic by calling `to_dict()` of each item in guardrails (list) _items = [] if self.guardrails: @@ -240,7 +244,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "betas": obj.get("betas"), "cache_control": obj.get("cache_control"), - "container": obj.get("container"), + "container": Container.from_dict(obj["container"]) if obj.get("container") is not None else None, "context_management": obj.get("context_management"), "guardrails": [GuardrailConfig.from_dict(_item) for _item in obj["guardrails"]] if obj.get("guardrails") is not None else None, "max_tokens": obj.get("max_tokens"), diff --git a/src/otari/_client/models/model.py b/src/otari/_client/models/model.py index 01d3ad2e..581e7355 100644 --- a/src/otari/_client/models/model.py +++ b/src/otari/_client/models/model.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/model1.py b/src/otari/_client/models/model1.py index 098e7747..cbfbc17e 100644 --- a/src/otari/_client/models/model1.py +++ b/src/otari/_client/models/model1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/model_list_response.py b/src/otari/_client/models/model_list_response.py index a676b986..3dfaaf5f 100644 --- a/src/otari/_client/models/model_list_response.py +++ b/src/otari/_client/models/model_list_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/model_metadata.py b/src/otari/_client/models/model_metadata.py index 07c42d78..8f334fc8 100644 --- a/src/otari/_client/models/model_metadata.py +++ b/src/otari/_client/models/model_metadata.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/model_metadata_response.py b/src/otari/_client/models/model_metadata_response.py index 1b30020f..ca2a0b21 100644 --- a/src/otari/_client/models/model_metadata_response.py +++ b/src/otari/_client/models/model_metadata_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/model_object.py b/src/otari/_client/models/model_object.py index c256510f..bba2e48e 100644 --- a/src/otari/_client/models/model_object.py +++ b/src/otari/_client/models/model_object.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/model_pricing_info.py b/src/otari/_client/models/model_pricing_info.py index 02661f8c..7ad70159 100644 --- a/src/otari/_client/models/model_pricing_info.py +++ b/src/otari/_client/models/model_pricing_info.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/moderation_request.py b/src/otari/_client/models/moderation_request.py index 9b4d9dab..aded4b31 100644 --- a/src/otari/_client/models/moderation_request.py +++ b/src/otari/_client/models/moderation_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/moderation_response.py b/src/otari/_client/models/moderation_response.py index bcdf9968..b1afb7b7 100644 --- a/src/otari/_client/models/moderation_response.py +++ b/src/otari/_client/models/moderation_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/moderation_result.py b/src/otari/_client/models/moderation_result.py index 6fb472d7..98893e05 100644 --- a/src/otari/_client/models/moderation_result.py +++ b/src/otari/_client/models/moderation_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_anthropic_types_thinking_block_thinking_block.py b/src/otari/_client/models/mr_anthropic_types_thinking_block_thinking_block.py index b9f1373f..8d04f5ee 100644 --- a/src/otari/_client/models/mr_anthropic_types_thinking_block_thinking_block.py +++ b/src/otari/_client/models/mr_anthropic_types_thinking_block_thinking_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_any_llm_types_messages_thinking_block.py b/src/otari/_client/models/mr_any_llm_types_messages_thinking_block.py index f1c4bec6..8249edc3 100644 --- a/src/otari/_client/models/mr_any_llm_types_messages_thinking_block.py +++ b/src/otari/_client/models/mr_any_llm_types_messages_thinking_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_base64_pdf_source.py b/src/otari/_client/models/mr_base64_pdf_source.py index 7b91922c..4ca361b5 100644 --- a/src/otari/_client/models/mr_base64_pdf_source.py +++ b/src/otari/_client/models/mr_base64_pdf_source.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 e98aa357..af44d3f8 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 0fecdae6..aab683ad 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 f5683fc2..d4503ca7 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 0d8d9e8c..65ce09a1 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_advisor_message_iteration_usage.py b/src/otari/_client/models/mr_beta_advisor_message_iteration_usage.py index 17df309b..24f49126 100644 --- a/src/otari/_client/models/mr_beta_advisor_message_iteration_usage.py +++ b/src/otari/_client/models/mr_beta_advisor_message_iteration_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_advisor_redacted_result_block.py b/src/otari/_client/models/mr_beta_advisor_redacted_result_block.py index a6604766..d2da4218 100644 --- a/src/otari/_client/models/mr_beta_advisor_redacted_result_block.py +++ b/src/otari/_client/models/mr_beta_advisor_redacted_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_advisor_result_block.py b/src/otari/_client/models/mr_beta_advisor_result_block.py index 15eec9bc..45f2ea60 100644 --- a/src/otari/_client/models/mr_beta_advisor_result_block.py +++ b/src/otari/_client/models/mr_beta_advisor_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_advisor_tool_result_block.py b/src/otari/_client/models/mr_beta_advisor_tool_result_block.py index 6e28cf04..29fcbf32 100644 --- a/src/otari/_client/models/mr_beta_advisor_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_advisor_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_advisor_tool_result_error.py b/src/otari/_client/models/mr_beta_advisor_tool_result_error.py index 3c416215..9f918a88 100644 --- a/src/otari/_client/models/mr_beta_advisor_tool_result_error.py +++ b/src/otari/_client/models/mr_beta_advisor_tool_result_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_base64_pdf_source.py b/src/otari/_client/models/mr_beta_base64_pdf_source.py index 286a1352..f0696886 100644 --- a/src/otari/_client/models/mr_beta_base64_pdf_source.py +++ b/src/otari/_client/models/mr_beta_base64_pdf_source.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_bash_code_execution_output_block.py b/src/otari/_client/models/mr_beta_bash_code_execution_output_block.py index 159a9b37..6f51b5d1 100644 --- a/src/otari/_client/models/mr_beta_bash_code_execution_output_block.py +++ b/src/otari/_client/models/mr_beta_bash_code_execution_output_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_bash_code_execution_result_block.py b/src/otari/_client/models/mr_beta_bash_code_execution_result_block.py index c5a16795..747a814a 100644 --- a/src/otari/_client/models/mr_beta_bash_code_execution_result_block.py +++ b/src/otari/_client/models/mr_beta_bash_code_execution_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_block.py b/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_block.py index 2920cefb..359459f4 100644 --- a/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_error.py b/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_error.py index 1f11afca..bd14db2b 100644 --- a/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_error.py +++ b/src/otari/_client/models/mr_beta_bash_code_execution_tool_result_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_creation.py b/src/otari/_client/models/mr_beta_cache_creation.py index 42ad19db..1fead4cb 100644 --- a/src/otari/_client/models/mr_beta_cache_creation.py +++ b/src/otari/_client/models/mr_beta_cache_creation.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_miss_messages_changed.py b/src/otari/_client/models/mr_beta_cache_miss_messages_changed.py index d034fc3f..c4519c79 100644 --- a/src/otari/_client/models/mr_beta_cache_miss_messages_changed.py +++ b/src/otari/_client/models/mr_beta_cache_miss_messages_changed.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_miss_model_changed.py b/src/otari/_client/models/mr_beta_cache_miss_model_changed.py index b640823d..fa6491e4 100644 --- a/src/otari/_client/models/mr_beta_cache_miss_model_changed.py +++ b/src/otari/_client/models/mr_beta_cache_miss_model_changed.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_miss_previous_message_not_found.py b/src/otari/_client/models/mr_beta_cache_miss_previous_message_not_found.py index 7220a170..a237f884 100644 --- a/src/otari/_client/models/mr_beta_cache_miss_previous_message_not_found.py +++ b/src/otari/_client/models/mr_beta_cache_miss_previous_message_not_found.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_miss_system_changed.py b/src/otari/_client/models/mr_beta_cache_miss_system_changed.py index 351badbe..3e72f294 100644 --- a/src/otari/_client/models/mr_beta_cache_miss_system_changed.py +++ b/src/otari/_client/models/mr_beta_cache_miss_system_changed.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_miss_tools_changed.py b/src/otari/_client/models/mr_beta_cache_miss_tools_changed.py index 1c0d6130..611d1df2 100644 --- a/src/otari/_client/models/mr_beta_cache_miss_tools_changed.py +++ b/src/otari/_client/models/mr_beta_cache_miss_tools_changed.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_cache_miss_unavailable.py b/src/otari/_client/models/mr_beta_cache_miss_unavailable.py index 61542fe2..ce527451 100644 --- a/src/otari/_client/models/mr_beta_cache_miss_unavailable.py +++ b/src/otari/_client/models/mr_beta_cache_miss_unavailable.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_citation_char_location.py b/src/otari/_client/models/mr_beta_citation_char_location.py index c68f22fb..3d6a40a8 100644 --- a/src/otari/_client/models/mr_beta_citation_char_location.py +++ b/src/otari/_client/models/mr_beta_citation_char_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_citation_config.py b/src/otari/_client/models/mr_beta_citation_config.py index 50a85080..32bb1b78 100644 --- a/src/otari/_client/models/mr_beta_citation_config.py +++ b/src/otari/_client/models/mr_beta_citation_config.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_citation_content_block_location.py b/src/otari/_client/models/mr_beta_citation_content_block_location.py index a03305d8..9c0b4d7c 100644 --- a/src/otari/_client/models/mr_beta_citation_content_block_location.py +++ b/src/otari/_client/models/mr_beta_citation_content_block_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_citation_page_location.py b/src/otari/_client/models/mr_beta_citation_page_location.py index 6aa7bda2..ba65a482 100644 --- a/src/otari/_client/models/mr_beta_citation_page_location.py +++ b/src/otari/_client/models/mr_beta_citation_page_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_citation_search_result_location.py b/src/otari/_client/models/mr_beta_citation_search_result_location.py index d007b210..f3c7d593 100644 --- a/src/otari/_client/models/mr_beta_citation_search_result_location.py +++ b/src/otari/_client/models/mr_beta_citation_search_result_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_citations_web_search_result_location.py b/src/otari/_client/models/mr_beta_citations_web_search_result_location.py index a026b61e..bddb756a 100644 --- a/src/otari/_client/models/mr_beta_citations_web_search_result_location.py +++ b/src/otari/_client/models/mr_beta_citations_web_search_result_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_clear_thinking20251015_edit_response.py b/src/otari/_client/models/mr_beta_clear_thinking20251015_edit_response.py index e9b29f0c..6525c1f9 100644 --- a/src/otari/_client/models/mr_beta_clear_thinking20251015_edit_response.py +++ b/src/otari/_client/models/mr_beta_clear_thinking20251015_edit_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_clear_tool_uses20250919_edit_response.py b/src/otari/_client/models/mr_beta_clear_tool_uses20250919_edit_response.py index ead128b6..e87c7093 100644 --- a/src/otari/_client/models/mr_beta_clear_tool_uses20250919_edit_response.py +++ b/src/otari/_client/models/mr_beta_clear_tool_uses20250919_edit_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_code_execution_output_block.py b/src/otari/_client/models/mr_beta_code_execution_output_block.py index 4e635af7..bcba85ec 100644 --- a/src/otari/_client/models/mr_beta_code_execution_output_block.py +++ b/src/otari/_client/models/mr_beta_code_execution_output_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_code_execution_result_block.py b/src/otari/_client/models/mr_beta_code_execution_result_block.py index 48dd0bd6..ec28af55 100644 --- a/src/otari/_client/models/mr_beta_code_execution_result_block.py +++ b/src/otari/_client/models/mr_beta_code_execution_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_code_execution_tool_result_block.py b/src/otari/_client/models/mr_beta_code_execution_tool_result_block.py index a650eea6..9a4f82b6 100644 --- a/src/otari/_client/models/mr_beta_code_execution_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_code_execution_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_code_execution_tool_result_error.py b/src/otari/_client/models/mr_beta_code_execution_tool_result_error.py index c8b786bf..7fd8f345 100644 --- a/src/otari/_client/models/mr_beta_code_execution_tool_result_error.py +++ b/src/otari/_client/models/mr_beta_code_execution_tool_result_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_compaction_block.py b/src/otari/_client/models/mr_beta_compaction_block.py index 027160aa..8920f23d 100644 --- a/src/otari/_client/models/mr_beta_compaction_block.py +++ b/src/otari/_client/models/mr_beta_compaction_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_compaction_iteration_usage.py b/src/otari/_client/models/mr_beta_compaction_iteration_usage.py index a5c68183..dd378e81 100644 --- a/src/otari/_client/models/mr_beta_compaction_iteration_usage.py +++ b/src/otari/_client/models/mr_beta_compaction_iteration_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_container.py b/src/otari/_client/models/mr_beta_container.py index 6d894e52..5857bbd6 100644 --- a/src/otari/_client/models/mr_beta_container.py +++ b/src/otari/_client/models/mr_beta_container.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_container_upload_block.py b/src/otari/_client/models/mr_beta_container_upload_block.py index 3d2aeb7f..cc5e1ac6 100644 --- a/src/otari/_client/models/mr_beta_container_upload_block.py +++ b/src/otari/_client/models/mr_beta_container_upload_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_context_management_response.py b/src/otari/_client/models/mr_beta_context_management_response.py index e2bbefd9..7ecfa38e 100644 --- a/src/otari/_client/models/mr_beta_context_management_response.py +++ b/src/otari/_client/models/mr_beta_context_management_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_diagnostics.py b/src/otari/_client/models/mr_beta_diagnostics.py index c6e533b5..bdc6439f 100644 --- a/src/otari/_client/models/mr_beta_diagnostics.py +++ b/src/otari/_client/models/mr_beta_diagnostics.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_direct_caller.py b/src/otari/_client/models/mr_beta_direct_caller.py index 686e951b..61a187a9 100644 --- a/src/otari/_client/models/mr_beta_direct_caller.py +++ b/src/otari/_client/models/mr_beta_direct_caller.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_document_block.py b/src/otari/_client/models/mr_beta_document_block.py index 65f6fb3a..335b7b32 100644 --- a/src/otari/_client/models/mr_beta_document_block.py +++ b/src/otari/_client/models/mr_beta_document_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_encrypted_code_execution_result_block.py b/src/otari/_client/models/mr_beta_encrypted_code_execution_result_block.py index a3c9d1f5..2382fa4c 100644 --- a/src/otari/_client/models/mr_beta_encrypted_code_execution_result_block.py +++ b/src/otari/_client/models/mr_beta_encrypted_code_execution_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_fallback_block.py b/src/otari/_client/models/mr_beta_fallback_block.py index 41c6c7b7..cf329f75 100644 --- a/src/otari/_client/models/mr_beta_fallback_block.py +++ b/src/otari/_client/models/mr_beta_fallback_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_fallback_info.py b/src/otari/_client/models/mr_beta_fallback_info.py index f8b04342..8b5cc768 100644 --- a/src/otari/_client/models/mr_beta_fallback_info.py +++ b/src/otari/_client/models/mr_beta_fallback_info.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_fallback_message_iteration_usage.py b/src/otari/_client/models/mr_beta_fallback_message_iteration_usage.py index 7102371c..f92b3595 100644 --- a/src/otari/_client/models/mr_beta_fallback_message_iteration_usage.py +++ b/src/otari/_client/models/mr_beta_fallback_message_iteration_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_fallback_refusal_trigger.py b/src/otari/_client/models/mr_beta_fallback_refusal_trigger.py index e1e355d2..ebc10a47 100644 --- a/src/otari/_client/models/mr_beta_fallback_refusal_trigger.py +++ b/src/otari/_client/models/mr_beta_fallback_refusal_trigger.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_mcp_tool_result_block.py b/src/otari/_client/models/mr_beta_mcp_tool_result_block.py index 3fdd439e..a05da8e9 100644 --- a/src/otari/_client/models/mr_beta_mcp_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_mcp_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_mcp_tool_use_block.py b/src/otari/_client/models/mr_beta_mcp_tool_use_block.py index 04681978..e1f99457 100644 --- a/src/otari/_client/models/mr_beta_mcp_tool_use_block.py +++ b/src/otari/_client/models/mr_beta_mcp_tool_use_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_message_iteration_usage.py b/src/otari/_client/models/mr_beta_message_iteration_usage.py index 0e57b325..5d0b0761 100644 --- a/src/otari/_client/models/mr_beta_message_iteration_usage.py +++ b/src/otari/_client/models/mr_beta_message_iteration_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_plain_text_source.py b/src/otari/_client/models/mr_beta_plain_text_source.py index f3d37679..2beb9dd6 100644 --- a/src/otari/_client/models/mr_beta_plain_text_source.py +++ b/src/otari/_client/models/mr_beta_plain_text_source.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_redacted_thinking_block.py b/src/otari/_client/models/mr_beta_redacted_thinking_block.py index e8916b21..3bfb002e 100644 --- a/src/otari/_client/models/mr_beta_redacted_thinking_block.py +++ b/src/otari/_client/models/mr_beta_redacted_thinking_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_server_tool_caller.py b/src/otari/_client/models/mr_beta_server_tool_caller.py index 0cd975ec..5900af33 100644 --- a/src/otari/_client/models/mr_beta_server_tool_caller.py +++ b/src/otari/_client/models/mr_beta_server_tool_caller.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_server_tool_caller20260120.py b/src/otari/_client/models/mr_beta_server_tool_caller20260120.py index 567fb593..12a7bf42 100644 --- a/src/otari/_client/models/mr_beta_server_tool_caller20260120.py +++ b/src/otari/_client/models/mr_beta_server_tool_caller20260120.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_server_tool_use_block.py b/src/otari/_client/models/mr_beta_server_tool_use_block.py index fd099c76..2501aec7 100644 --- a/src/otari/_client/models/mr_beta_server_tool_use_block.py +++ b/src/otari/_client/models/mr_beta_server_tool_use_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_skill.py b/src/otari/_client/models/mr_beta_skill.py index 35b7e156..3ea9089f 100644 --- a/src/otari/_client/models/mr_beta_skill.py +++ b/src/otari/_client/models/mr_beta_skill.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_block.py b/src/otari/_client/models/mr_beta_text_block.py index 678f9697..2d42458c 100644 --- a/src/otari/_client/models/mr_beta_text_block.py +++ b/src/otari/_client/models/mr_beta_text_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_block_citations_inner.py b/src/otari/_client/models/mr_beta_text_block_citations_inner.py index 27a5c7c1..9c1d9a74 100644 --- a/src/otari/_client/models/mr_beta_text_block_citations_inner.py +++ b/src/otari/_client/models/mr_beta_text_block_citations_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_editor_code_execution_create_result_block.py b/src/otari/_client/models/mr_beta_text_editor_code_execution_create_result_block.py index e20432cf..93c80c64 100644 --- a/src/otari/_client/models/mr_beta_text_editor_code_execution_create_result_block.py +++ b/src/otari/_client/models/mr_beta_text_editor_code_execution_create_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_editor_code_execution_str_replace_result_block.py b/src/otari/_client/models/mr_beta_text_editor_code_execution_str_replace_result_block.py index e6ab24d4..584af3ec 100644 --- a/src/otari/_client/models/mr_beta_text_editor_code_execution_str_replace_result_block.py +++ b/src/otari/_client/models/mr_beta_text_editor_code_execution_str_replace_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_block.py b/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_block.py index aa7a6ebb..47af5a07 100644 --- a/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_error.py b/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_error.py index c6c4ebe2..78367da6 100644 --- a/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_error.py +++ b/src/otari/_client/models/mr_beta_text_editor_code_execution_tool_result_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_text_editor_code_execution_view_result_block.py b/src/otari/_client/models/mr_beta_text_editor_code_execution_view_result_block.py index f5f1ddfc..d64132a4 100644 --- a/src/otari/_client/models/mr_beta_text_editor_code_execution_view_result_block.py +++ b/src/otari/_client/models/mr_beta_text_editor_code_execution_view_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_thinking_block.py b/src/otari/_client/models/mr_beta_thinking_block.py index 5c8bddc3..95c5e5f7 100644 --- a/src/otari/_client/models/mr_beta_thinking_block.py +++ b/src/otari/_client/models/mr_beta_thinking_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_tool_reference_block.py b/src/otari/_client/models/mr_beta_tool_reference_block.py index b8024f05..df6ce95d 100644 --- a/src/otari/_client/models/mr_beta_tool_reference_block.py +++ b/src/otari/_client/models/mr_beta_tool_reference_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_tool_search_tool_result_block.py b/src/otari/_client/models/mr_beta_tool_search_tool_result_block.py index d771f395..f22120ba 100644 --- a/src/otari/_client/models/mr_beta_tool_search_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_tool_search_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_tool_search_tool_result_error.py b/src/otari/_client/models/mr_beta_tool_search_tool_result_error.py index 718eaf15..f9312e7e 100644 --- a/src/otari/_client/models/mr_beta_tool_search_tool_result_error.py +++ b/src/otari/_client/models/mr_beta_tool_search_tool_result_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_tool_search_tool_search_result_block.py b/src/otari/_client/models/mr_beta_tool_search_tool_search_result_block.py index 8138ecc4..688d7e59 100644 --- a/src/otari/_client/models/mr_beta_tool_search_tool_search_result_block.py +++ b/src/otari/_client/models/mr_beta_tool_search_tool_search_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_tool_use_block.py b/src/otari/_client/models/mr_beta_tool_use_block.py index db53a364..e3f30d8d 100644 --- a/src/otari/_client/models/mr_beta_tool_use_block.py +++ b/src/otari/_client/models/mr_beta_tool_use_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_web_fetch_block.py b/src/otari/_client/models/mr_beta_web_fetch_block.py index 6fed9f7a..eef6c8d3 100644 --- a/src/otari/_client/models/mr_beta_web_fetch_block.py +++ b/src/otari/_client/models/mr_beta_web_fetch_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_web_fetch_tool_result_block.py b/src/otari/_client/models/mr_beta_web_fetch_tool_result_block.py index d8809bc9..25219862 100644 --- a/src/otari/_client/models/mr_beta_web_fetch_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_web_fetch_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_web_fetch_tool_result_error_block.py b/src/otari/_client/models/mr_beta_web_fetch_tool_result_error_block.py index 99f7f6aa..a1256c09 100644 --- a/src/otari/_client/models/mr_beta_web_fetch_tool_result_error_block.py +++ b/src/otari/_client/models/mr_beta_web_fetch_tool_result_error_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_web_search_result_block.py b/src/otari/_client/models/mr_beta_web_search_result_block.py index e967145d..f5cf373a 100644 --- a/src/otari/_client/models/mr_beta_web_search_result_block.py +++ b/src/otari/_client/models/mr_beta_web_search_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_web_search_tool_result_block.py b/src/otari/_client/models/mr_beta_web_search_tool_result_block.py index f1d5de81..4699c605 100644 --- a/src/otari/_client/models/mr_beta_web_search_tool_result_block.py +++ b/src/otari/_client/models/mr_beta_web_search_tool_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_beta_web_search_tool_result_error.py b/src/otari/_client/models/mr_beta_web_search_tool_result_error.py index 6f6fd13a..4fd2e940 100644 --- a/src/otari/_client/models/mr_beta_web_search_tool_result_error.py +++ b/src/otari/_client/models/mr_beta_web_search_tool_result_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_cache_creation.py b/src/otari/_client/models/mr_cache_creation.py index c593b124..c8702a37 100644 --- a/src/otari/_client/models/mr_cache_creation.py +++ b/src/otari/_client/models/mr_cache_creation.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_citation_char_location.py b/src/otari/_client/models/mr_citation_char_location.py index f602a44d..77ee8193 100644 --- a/src/otari/_client/models/mr_citation_char_location.py +++ b/src/otari/_client/models/mr_citation_char_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 6050b45d..82a4130a 100644 --- a/src/otari/_client/models/mr_citation_content_block_location.py +++ b/src/otari/_client/models/mr_citation_content_block_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_citation_page_location.py b/src/otari/_client/models/mr_citation_page_location.py index 43d04825..a439b4d6 100644 --- a/src/otari/_client/models/mr_citation_page_location.py +++ b/src/otari/_client/models/mr_citation_page_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_citations_config.py b/src/otari/_client/models/mr_citations_config.py index bf8cbd4d..a8b0abc3 100644 --- a/src/otari/_client/models/mr_citations_config.py +++ b/src/otari/_client/models/mr_citations_config.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 32d41150..c4000c56 100644 --- a/src/otari/_client/models/mr_citations_search_result_location.py +++ b/src/otari/_client/models/mr_citations_search_result_location.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 7e6aa0d6..ccc35286 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 ed2a2660..f1c4aaca 100644 --- a/src/otari/_client/models/mr_code_execution_output_block.py +++ b/src/otari/_client/models/mr_code_execution_output_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 8d1bfbe3..2844b19c 100644 --- a/src/otari/_client/models/mr_code_execution_result_block.py +++ b/src/otari/_client/models/mr_code_execution_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 0e0f2417..508caa69 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 fdc2a135..c248d256 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_container_upload_block.py b/src/otari/_client/models/mr_container_upload_block.py index 40185d88..8d4af0ee 100644 --- a/src/otari/_client/models/mr_container_upload_block.py +++ b/src/otari/_client/models/mr_container_upload_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_direct_caller.py b/src/otari/_client/models/mr_direct_caller.py index 813eadd8..82a65f80 100644 --- a/src/otari/_client/models/mr_direct_caller.py +++ b/src/otari/_client/models/mr_direct_caller.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_document_block.py b/src/otari/_client/models/mr_document_block.py index a204883e..3af57bfb 100644 --- a/src/otari/_client/models/mr_document_block.py +++ b/src/otari/_client/models/mr_document_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 34da913d..0cd22884 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_message_usage.py b/src/otari/_client/models/mr_message_usage.py index 7fbfd150..9561a825 100644 --- a/src/otari/_client/models/mr_message_usage.py +++ b/src/otari/_client/models/mr_message_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_message_usage_iterations_inner.py b/src/otari/_client/models/mr_message_usage_iterations_inner.py index 2be40b9f..77c6d75b 100644 --- a/src/otari/_client/models/mr_message_usage_iterations_inner.py +++ b/src/otari/_client/models/mr_message_usage_iterations_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_output_tokens_details.py b/src/otari/_client/models/mr_output_tokens_details.py index a4ee466d..b5c09ff5 100644 --- a/src/otari/_client/models/mr_output_tokens_details.py +++ b/src/otari/_client/models/mr_output_tokens_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_plain_text_source.py b/src/otari/_client/models/mr_plain_text_source.py index 67b32527..396af6d5 100644 --- a/src/otari/_client/models/mr_plain_text_source.py +++ b/src/otari/_client/models/mr_plain_text_source.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_redacted_thinking_block.py b/src/otari/_client/models/mr_redacted_thinking_block.py index 8097b444..542c1fc9 100644 --- a/src/otari/_client/models/mr_redacted_thinking_block.py +++ b/src/otari/_client/models/mr_redacted_thinking_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_refusal_stop_details.py b/src/otari/_client/models/mr_refusal_stop_details.py index f382c73b..43dbd127 100644 --- a/src/otari/_client/models/mr_refusal_stop_details.py +++ b/src/otari/_client/models/mr_refusal_stop_details.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_server_tool_caller.py b/src/otari/_client/models/mr_server_tool_caller.py index 0152a0b9..335a2831 100644 --- a/src/otari/_client/models/mr_server_tool_caller.py +++ b/src/otari/_client/models/mr_server_tool_caller.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_server_tool_caller20260120.py b/src/otari/_client/models/mr_server_tool_caller20260120.py index becc31ab..7b52504e 100644 --- a/src/otari/_client/models/mr_server_tool_caller20260120.py +++ b/src/otari/_client/models/mr_server_tool_caller20260120.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_server_tool_usage.py b/src/otari/_client/models/mr_server_tool_usage.py index 287bc7bf..bfe86f61 100644 --- a/src/otari/_client/models/mr_server_tool_usage.py +++ b/src/otari/_client/models/mr_server_tool_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 aa4b2876..fe9146b4 100644 --- a/src/otari/_client/models/mr_server_tool_use_block.py +++ b/src/otari/_client/models/mr_server_tool_use_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_text_block.py b/src/otari/_client/models/mr_text_block.py index 246408b6..3f045bf0 100644 --- a/src/otari/_client/models/mr_text_block.py +++ b/src/otari/_client/models/mr_text_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 f3a6cb7d..344c6319 100644 --- a/src/otari/_client/models/mr_text_block_citations_inner.py +++ b/src/otari/_client/models/mr_text_block_citations_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 0a1540da..1c879c02 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 30c3a1c4..255c4743 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 2d879e91..86957e69 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 a364f0c4..b8630ed1 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 7d12414d..19b1062b 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_tool_reference_block.py b/src/otari/_client/models/mr_tool_reference_block.py index 2f98a274..5dfce594 100644 --- a/src/otari/_client/models/mr_tool_reference_block.py +++ b/src/otari/_client/models/mr_tool_reference_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 413967b2..f823c8e6 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 59ae4b14..153e2ac2 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 5c45e7c4..288f7a37 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_tool_use_block.py b/src/otari/_client/models/mr_tool_use_block.py index 1beb00b0..aa70599c 100644 --- a/src/otari/_client/models/mr_tool_use_block.py +++ b/src/otari/_client/models/mr_tool_use_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/mr_web_fetch_block.py b/src/otari/_client/models/mr_web_fetch_block.py index eb8f9459..b165e685 100644 --- a/src/otari/_client/models/mr_web_fetch_block.py +++ b/src/otari/_client/models/mr_web_fetch_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 3fc9bedd..2cd13605 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 90942538..743bed40 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 00c02000..2b3bf8d7 100644 --- a/src/otari/_client/models/mr_web_search_result_block.py +++ b/src/otari/_client/models/mr_web_search_result_block.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 c1122109..419fc6ed 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 264e184f..01a33f08 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_audio.py b/src/otari/_client/models/msg_audio.py index 8724659d..f18858b7 100644 --- a/src/otari/_client/models/msg_audio.py +++ b/src/otari/_client/models/msg_audio.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 00fe232e..dcb2f546 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 c1915527..bf99579b 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 bdb27bb3..6d5dc60e 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 d482df9d..c4026955 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 f92696bb..e9037185 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 5adcb38f..7e2d68a7 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 00937495..541c4276 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 bac73f50..4494541c 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 4c26c943..d0c0d6b9 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 5e1b9e4e..3ac90085 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 54748a79..520fdc43 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. 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 2fb8322c..de7944be 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 @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_custom.py b/src/otari/_client/models/msg_custom.py index cb936834..bc452c58 100644 --- a/src/otari/_client/models/msg_custom.py +++ b/src/otari/_client/models/msg_custom.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_file.py b/src/otari/_client/models/msg_file.py index 41c66966..c381cf7c 100644 --- a/src/otari/_client/models/msg_file.py +++ b/src/otari/_client/models/msg_file.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_file_file.py b/src/otari/_client/models/msg_file_file.py index f7f17533..e9ca9f7f 100644 --- a/src/otari/_client/models/msg_file_file.py +++ b/src/otari/_client/models/msg_file_file.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_function.py b/src/otari/_client/models/msg_function.py index cfbe0cf1..ff55fc4e 100644 --- a/src/otari/_client/models/msg_function.py +++ b/src/otari/_client/models/msg_function.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_function_call.py b/src/otari/_client/models/msg_function_call.py index c6c0ccf5..ac0d2126 100644 --- a/src/otari/_client/models/msg_function_call.py +++ b/src/otari/_client/models/msg_function_call.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_image_url.py b/src/otari/_client/models/msg_image_url.py index a945a7a2..22c94d66 100644 --- a/src/otari/_client/models/msg_image_url.py +++ b/src/otari/_client/models/msg_image_url.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/msg_input_audio.py b/src/otari/_client/models/msg_input_audio.py index bf20a4d8..c2c5a949 100644 --- a/src/otari/_client/models/msg_input_audio.py +++ b/src/otari/_client/models/msg_input_audio.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/o_auth_callback_request.py b/src/otari/_client/models/o_auth_callback_request.py index 95665180..566011ea 100644 --- a/src/otari/_client/models/o_auth_callback_request.py +++ b/src/otari/_client/models/o_auth_callback_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/o_auth_session_response.py b/src/otari/_client/models/o_auth_session_response.py index 3eacef37..b27d8e8b 100644 --- a/src/otari/_client/models/o_auth_session_response.py +++ b/src/otari/_client/models/o_auth_session_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/offering_usage.py b/src/otari/_client/models/offering_usage.py index 24dcdf33..75cd7670 100644 --- a/src/otari/_client/models/offering_usage.py +++ b/src/otari/_client/models/offering_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/open_ai_file_deleted.py b/src/otari/_client/models/open_ai_file_deleted.py new file mode 100644 index 00000000..a6cd0b88 --- /dev/null +++ b/src/otari/_client/models/open_ai_file_deleted.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class OpenAIFileDeleted(BaseModel): + """ + OpenAI's answer to a delete. + """ # noqa: E501 + deleted: Optional[StrictBool] = True + id: StrictStr + object: Optional[StrictStr] = 'file' + __properties: ClassVar[List[str]] = ["deleted", "id", "object"] + + @field_validator('deleted') + def deleted_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['true']): + raise ValueError("must be one of enum values ('true')") + return value + + @field_validator('object') + def object_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['file']): + raise ValueError("must be one of enum values ('file')") + return value + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OpenAIFileDeleted from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OpenAIFileDeleted from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "deleted": obj.get("deleted") if obj.get("deleted") is not None else True, + "id": obj.get("id"), + "object": obj.get("object") if obj.get("object") is not None else 'file' + }) + return _obj + + diff --git a/src/otari/_client/models/open_ai_file_list.py b/src/otari/_client/models/open_ai_file_list.py new file mode 100644 index 00000000..b7e78108 --- /dev/null +++ b/src/otari/_client/models/open_ai_file_list.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from otari._client.models.open_ai_file_object import OpenAIFileObject +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class OpenAIFileList(BaseModel): + """ + A page of files in OpenAI's list shape, whose cursor is the last entry's ID. + """ # noqa: E501 + data: List[OpenAIFileObject] + first_id: Optional[StrictStr] + has_more: StrictBool + last_id: Optional[StrictStr] + object: Optional[StrictStr] = 'list' + __properties: ClassVar[List[str]] = ["data", "first_id", "has_more", "last_id", "object"] + + @field_validator('object') + def object_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['list']): + raise ValueError("must be one of enum values ('list')") + return value + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OpenAIFileList from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + # set to None if first_id (nullable) is None + # and model_fields_set contains the field + if self.first_id is None and "first_id" in self.model_fields_set: + _dict['first_id'] = None + + # set to None if last_id (nullable) is None + # and model_fields_set contains the field + if self.last_id is None and "last_id" in self.model_fields_set: + _dict['last_id'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OpenAIFileList from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [OpenAIFileObject.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "first_id": obj.get("first_id"), + "has_more": obj.get("has_more"), + "last_id": obj.get("last_id"), + "object": obj.get("object") if obj.get("object") is not None else 'list' + }) + return _obj + + diff --git a/src/otari/_client/models/open_ai_file_object.py b/src/otari/_client/models/open_ai_file_object.py new file mode 100644 index 00000000..f17c388e --- /dev/null +++ b/src/otari/_client/models/open_ai_file_object.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class OpenAIFileObject(BaseModel): + """ + One file in OpenAI's file object shape. + """ # noqa: E501 + bytes: StrictInt + created_at: StrictInt + expires_at: Optional[StrictInt] + filename: StrictStr + id: StrictStr + object: Optional[StrictStr] = 'file' + purpose: StrictStr + __properties: ClassVar[List[str]] = ["bytes", "created_at", "expires_at", "filename", "id", "object", "purpose"] + + @field_validator('object') + def object_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['file']): + raise ValueError("must be one of enum values ('file')") + return value + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OpenAIFileObject from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if expires_at (nullable) is None + # and model_fields_set contains the field + if self.expires_at is None and "expires_at" in self.model_fields_set: + _dict['expires_at'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OpenAIFileObject from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bytes": obj.get("bytes"), + "created_at": obj.get("created_at"), + "expires_at": obj.get("expires_at"), + "filename": obj.get("filename"), + "id": obj.get("id"), + "object": obj.get("object") if obj.get("object") is not None else 'file', + "purpose": obj.get("purpose") + }) + return _obj + + diff --git a/src/otari/_client/models/org_provider_available_models_public.py b/src/otari/_client/models/org_provider_available_models_public.py index 893ec973..55d30855 100644 --- a/src/otari/_client/models/org_provider_available_models_public.py +++ b/src/otari/_client/models/org_provider_available_models_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_create_request.py b/src/otari/_client/models/org_provider_key_create_request.py index d18ef2d4..7d9ca3c2 100644 --- a/src/otari/_client/models/org_provider_key_create_request.py +++ b/src/otari/_client/models/org_provider_key_create_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_model_create_request.py b/src/otari/_client/models/org_provider_key_model_create_request.py index 59d10ee8..3dc62ce2 100644 --- a/src/otari/_client/models/org_provider_key_model_create_request.py +++ b/src/otari/_client/models/org_provider_key_model_create_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_model_public.py b/src/otari/_client/models/org_provider_key_model_public.py index 900da8b6..6807458b 100644 --- a/src/otari/_client/models/org_provider_key_model_public.py +++ b/src/otari/_client/models/org_provider_key_model_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_model_update_request.py b/src/otari/_client/models/org_provider_key_model_update_request.py index a8301925..13c47e3c 100644 --- a/src/otari/_client/models/org_provider_key_model_update_request.py +++ b/src/otari/_client/models/org_provider_key_model_update_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_models_public.py b/src/otari/_client/models/org_provider_key_models_public.py index 13229f90..3f77a0e1 100644 --- a/src/otari/_client/models/org_provider_key_models_public.py +++ b/src/otari/_client/models/org_provider_key_models_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_public.py b/src/otari/_client/models/org_provider_key_public.py index cdf28525..8c8ba27b 100644 --- a/src/otari/_client/models/org_provider_key_public.py +++ b/src/otari/_client/models/org_provider_key_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_key_update_request.py b/src/otari/_client/models/org_provider_key_update_request.py index 5f66c34c..82c54455 100644 --- a/src/otari/_client/models/org_provider_key_update_request.py +++ b/src/otari/_client/models/org_provider_key_update_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_keys_public.py b/src/otari/_client/models/org_provider_keys_public.py index e61b00c2..6d4c4b17 100644 --- a/src/otari/_client/models/org_provider_keys_public.py +++ b/src/otari/_client/models/org_provider_keys_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/org_provider_models_refresh_public.py b/src/otari/_client/models/org_provider_models_refresh_public.py index 54714971..44b4064e 100644 --- a/src/otari/_client/models/org_provider_models_refresh_public.py +++ b/src/otari/_client/models/org_provider_models_refresh_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_budget_create.py b/src/otari/_client/models/organization_budget_create.py index e0bb8b02..ff5523bc 100644 --- a/src/otari/_client/models/organization_budget_create.py +++ b/src/otari/_client/models/organization_budget_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_budget_public.py b/src/otari/_client/models/organization_budget_public.py index f8faec8d..39f1df52 100644 --- a/src/otari/_client/models/organization_budget_public.py +++ b/src/otari/_client/models/organization_budget_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_budget_update.py b/src/otari/_client/models/organization_budget_update.py index a1b9c77f..45a23b1d 100644 --- a/src/otari/_client/models/organization_budget_update.py +++ b/src/otari/_client/models/organization_budget_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_budgets_public.py b/src/otari/_client/models/organization_budgets_public.py index 2c6026bb..8965009c 100644 --- a/src/otari/_client/models/organization_budgets_public.py +++ b/src/otari/_client/models/organization_budgets_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_create_request.py b/src/otari/_client/models/organization_create_request.py index 12d786c6..78697d6a 100644 --- a/src/otari/_client/models/organization_create_request.py +++ b/src/otari/_client/models/organization_create_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_domain_create_request.py b/src/otari/_client/models/organization_domain_create_request.py index 2ee08719..643c2754 100644 --- a/src/otari/_client/models/organization_domain_create_request.py +++ b/src/otari/_client/models/organization_domain_create_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_domain_public.py b/src/otari/_client/models/organization_domain_public.py index 503eee4c..4ba4501e 100644 --- a/src/otari/_client/models/organization_domain_public.py +++ b/src/otari/_client/models/organization_domain_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_domain_update_request.py b/src/otari/_client/models/organization_domain_update_request.py index 963cd25d..6c307ab5 100644 --- a/src/otari/_client/models/organization_domain_update_request.py +++ b/src/otari/_client/models/organization_domain_update_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_domains_public.py b/src/otari/_client/models/organization_domains_public.py index 1f3d4c8f..452df92e 100644 --- a/src/otari/_client/models/organization_domains_public.py +++ b/src/otari/_client/models/organization_domains_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_create.py b/src/otari/_client/models/organization_guardrail_create.py index 4b16af50..4c96de51 100644 --- a/src/otari/_client/models/organization_guardrail_create.py +++ b/src/otari/_client/models/organization_guardrail_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_definition_create.py b/src/otari/_client/models/organization_guardrail_definition_create.py index 49a36ea6..3ee03bb3 100644 --- a/src/otari/_client/models/organization_guardrail_definition_create.py +++ b/src/otari/_client/models/organization_guardrail_definition_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_definition_public.py b/src/otari/_client/models/organization_guardrail_definition_public.py index 0478be54..9cf61185 100644 --- a/src/otari/_client/models/organization_guardrail_definition_public.py +++ b/src/otari/_client/models/organization_guardrail_definition_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_definition_test.py b/src/otari/_client/models/organization_guardrail_definition_test.py index 73802c2f..645206ae 100644 --- a/src/otari/_client/models/organization_guardrail_definition_test.py +++ b/src/otari/_client/models/organization_guardrail_definition_test.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_definition_test_result.py b/src/otari/_client/models/organization_guardrail_definition_test_result.py index 3d0070fc..d430c37e 100644 --- a/src/otari/_client/models/organization_guardrail_definition_test_result.py +++ b/src/otari/_client/models/organization_guardrail_definition_test_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_definition_update.py b/src/otari/_client/models/organization_guardrail_definition_update.py index af1dbc05..50fa4a4b 100644 --- a/src/otari/_client/models/organization_guardrail_definition_update.py +++ b/src/otari/_client/models/organization_guardrail_definition_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_definitions_public.py b/src/otari/_client/models/organization_guardrail_definitions_public.py index 9c333c01..5d115ce9 100644 --- a/src/otari/_client/models/organization_guardrail_definitions_public.py +++ b/src/otari/_client/models/organization_guardrail_definitions_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_public.py b/src/otari/_client/models/organization_guardrail_public.py index 632ea2ea..72c14b01 100644 --- a/src/otari/_client/models/organization_guardrail_public.py +++ b/src/otari/_client/models/organization_guardrail_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrail_test.py b/src/otari/_client/models/organization_guardrail_test.py new file mode 100644 index 00000000..c813cc7c --- /dev/null +++ b/src/otari/_client/models/organization_guardrail_test.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class OrganizationGuardrailTest(BaseModel): + """ + Text to run one mandate's check over, as a request would. + """ # noqa: E501 + text: Annotated[str, Field(min_length=1, strict=True, max_length=10000)] = Field(description="The input to check, as a request's user text would reach it") + validate_kwargs: Optional[Dict[str, Any]] = Field(default=None, description="Per-check arguments to send in place of the stored ones; omitted sends the stored ones. A *** keeps the value stored under that name") + additional_properties: Dict[str, Any] = {} + __properties: ClassVar[List[str]] = ["text", "validate_kwargs"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OrganizationGuardrailTest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + * Fields in `self.additional_properties` are added to the output dict. + """ + excluded_fields: Set[str] = set([ + "additional_properties", + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OrganizationGuardrailTest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "text": obj.get("text"), + "validate_kwargs": obj.get("validate_kwargs") + }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + + return _obj + + diff --git a/src/otari/_client/models/organization_guardrail_test_result.py b/src/otari/_client/models/organization_guardrail_test_result.py new file mode 100644 index 00000000..83189a36 --- /dev/null +++ b/src/otari/_client/models/organization_guardrail_test_result.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class OrganizationGuardrailTestResult(BaseModel): + """ + The guardrails service's verdict on the text, in the fields a request's check reports. + """ # noqa: E501 + explanation: Optional[StrictStr] = Field(description="The service's reason, when it gives one") + score: Optional[Union[StrictFloat, StrictInt]] = Field(description="The service's score, when it gives one") + valid: Optional[StrictBool] = Field(description="False when the guardrail flagged the text, null when it gave no verdict") + __properties: ClassVar[List[str]] = ["explanation", "score", "valid"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OrganizationGuardrailTestResult from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if explanation (nullable) is None + # and model_fields_set contains the field + if self.explanation is None and "explanation" in self.model_fields_set: + _dict['explanation'] = None + + # set to None if score (nullable) is None + # and model_fields_set contains the field + if self.score is None and "score" in self.model_fields_set: + _dict['score'] = None + + # set to None if valid (nullable) is None + # and model_fields_set contains the field + if self.valid is None and "valid" in self.model_fields_set: + _dict['valid'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OrganizationGuardrailTestResult from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "explanation": obj.get("explanation"), + "score": obj.get("score"), + "valid": obj.get("valid") + }) + return _obj + + diff --git a/src/otari/_client/models/organization_guardrail_update.py b/src/otari/_client/models/organization_guardrail_update.py index c85becb6..f1652c54 100644 --- a/src/otari/_client/models/organization_guardrail_update.py +++ b/src/otari/_client/models/organization_guardrail_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_guardrails_public.py b/src/otari/_client/models/organization_guardrails_public.py index 1a4c6551..cfceb4b1 100644 --- a/src/otari/_client/models/organization_guardrails_public.py +++ b/src/otari/_client/models/organization_guardrails_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_membership_context_public.py b/src/otari/_client/models/organization_membership_context_public.py index 0170772c..50802fcd 100644 --- a/src/otari/_client/models/organization_membership_context_public.py +++ b/src/otari/_client/models/organization_membership_context_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_model_pricing_create.py b/src/otari/_client/models/organization_model_pricing_create.py index 23b051d8..c90c7e7b 100644 --- a/src/otari/_client/models/organization_model_pricing_create.py +++ b/src/otari/_client/models/organization_model_pricing_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_model_pricing_public.py b/src/otari/_client/models/organization_model_pricing_public.py index 5ba0263b..91290d21 100644 --- a/src/otari/_client/models/organization_model_pricing_public.py +++ b/src/otari/_client/models/organization_model_pricing_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_model_pricing_update.py b/src/otari/_client/models/organization_model_pricing_update.py index 1e082720..fd12099e 100644 --- a/src/otari/_client/models/organization_model_pricing_update.py +++ b/src/otari/_client/models/organization_model_pricing_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_model_pricings_public.py b/src/otari/_client/models/organization_model_pricings_public.py index 909eb5ab..84e60987 100644 --- a/src/otari/_client/models/organization_model_pricings_public.py +++ b/src/otari/_client/models/organization_model_pricings_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_public.py b/src/otari/_client/models/organization_public.py index 9f6f5399..9f492d03 100644 --- a/src/otari/_client/models/organization_public.py +++ b/src/otari/_client/models/organization_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_scoped_budget_create.py b/src/otari/_client/models/organization_scoped_budget_create.py index 99ded0be..b801cb67 100644 --- a/src/otari/_client/models/organization_scoped_budget_create.py +++ b/src/otari/_client/models/organization_scoped_budget_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_scoped_budget_public.py b/src/otari/_client/models/organization_scoped_budget_public.py index f40513b9..cfdc1ab3 100644 --- a/src/otari/_client/models/organization_scoped_budget_public.py +++ b/src/otari/_client/models/organization_scoped_budget_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_scoped_budget_update.py b/src/otari/_client/models/organization_scoped_budget_update.py index 9aacd831..99b99666 100644 --- a/src/otari/_client/models/organization_scoped_budget_update.py +++ b/src/otari/_client/models/organization_scoped_budget_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/organization_scoped_budgets_public.py b/src/otari/_client/models/organization_scoped_budgets_public.py index 058f0500..3846155d 100644 --- a/src/otari/_client/models/organization_scoped_budgets_public.py +++ b/src/otari/_client/models/organization_scoped_budgets_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/output_shape.py b/src/otari/_client/models/output_shape.py index cdc557d7..44bbb891 100644 --- a/src/otari/_client/models/output_shape.py +++ b/src/otari/_client/models/output_shape.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/overview_summary_response.py b/src/otari/_client/models/overview_summary_response.py index 18558309..9d453347 100644 --- a/src/otari/_client/models/overview_summary_response.py +++ b/src/otari/_client/models/overview_summary_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/passkey_session_response.py b/src/otari/_client/models/passkey_session_response.py index c2a839e1..3d0306b5 100644 --- a/src/otari/_client/models/passkey_session_response.py +++ b/src/otari/_client/models/passkey_session_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/password_response.py b/src/otari/_client/models/password_response.py index 9a30bd75..0e687e67 100644 --- a/src/otari/_client/models/password_response.py +++ b/src/otari/_client/models/password_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pending_organization_invitation_public.py b/src/otari/_client/models/pending_organization_invitation_public.py index 1ad2cdf4..9c447b6a 100644 --- a/src/otari/_client/models/pending_organization_invitation_public.py +++ b/src/otari/_client/models/pending_organization_invitation_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pending_organization_invitations_public.py b/src/otari/_client/models/pending_organization_invitations_public.py index bc6db523..036eadd6 100644 --- a/src/otari/_client/models/pending_organization_invitations_public.py +++ b/src/otari/_client/models/pending_organization_invitations_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_comparison_create.py b/src/otari/_client/models/playground_comparison_create.py index 8525baf4..496b8a90 100644 --- a/src/otari/_client/models/playground_comparison_create.py +++ b/src/otari/_client/models/playground_comparison_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_comparison_summary.py b/src/otari/_client/models/playground_comparison_summary.py index 05a1d87a..d355bff5 100644 --- a/src/otari/_client/models/playground_comparison_summary.py +++ b/src/otari/_client/models/playground_comparison_summary.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_comparisons_public.py b/src/otari/_client/models/playground_comparisons_public.py index 987f350f..5f522f4b 100644 --- a/src/otari/_client/models/playground_comparisons_public.py +++ b/src/otari/_client/models/playground_comparisons_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_consent_public.py b/src/otari/_client/models/playground_consent_public.py index 36adf539..116398d9 100644 --- a/src/otari/_client/models/playground_consent_public.py +++ b/src/otari/_client/models/playground_consent_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_consent_update.py b/src/otari/_client/models/playground_consent_update.py index 75ff6482..22e8a9bb 100644 --- a/src/otari/_client/models/playground_consent_update.py +++ b/src/otari/_client/models/playground_consent_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_conversation_create.py b/src/otari/_client/models/playground_conversation_create.py index f9c176bf..088a44bd 100644 --- a/src/otari/_client/models/playground_conversation_create.py +++ b/src/otari/_client/models/playground_conversation_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_conversation_summary.py b/src/otari/_client/models/playground_conversation_summary.py index 0fc121d7..11adaf4b 100644 --- a/src/otari/_client/models/playground_conversation_summary.py +++ b/src/otari/_client/models/playground_conversation_summary.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_conversations_public.py b/src/otari/_client/models/playground_conversations_public.py index 8bc033fe..bad5906e 100644 --- a/src/otari/_client/models/playground_conversations_public.py +++ b/src/otari/_client/models/playground_conversations_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_favorite_models_public.py b/src/otari/_client/models/playground_favorite_models_public.py index 217883a8..20ae9689 100644 --- a/src/otari/_client/models/playground_favorite_models_public.py +++ b/src/otari/_client/models/playground_favorite_models_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_favorite_models_update.py b/src/otari/_client/models/playground_favorite_models_update.py index f2cff470..0b5c00ab 100644 --- a/src/otari/_client/models/playground_favorite_models_update.py +++ b/src/otari/_client/models/playground_favorite_models_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_mcp_server.py b/src/otari/_client/models/playground_mcp_server.py index ba437e96..e3466922 100644 --- a/src/otari/_client/models/playground_mcp_server.py +++ b/src/otari/_client/models/playground_mcp_server.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_message_create.py b/src/otari/_client/models/playground_message_create.py index 8b4805c0..48b39211 100644 --- a/src/otari/_client/models/playground_message_create.py +++ b/src/otari/_client/models/playground_message_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_message_public.py b/src/otari/_client/models/playground_message_public.py index b5646b5c..7df3713b 100644 --- a/src/otari/_client/models/playground_message_public.py +++ b/src/otari/_client/models/playground_message_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_messages_public.py b/src/otari/_client/models/playground_messages_public.py index b1059076..7f386bab 100644 --- a/src/otari/_client/models/playground_messages_public.py +++ b/src/otari/_client/models/playground_messages_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_tool_status.py b/src/otari/_client/models/playground_tool_status.py index cd419e0c..82863a22 100644 --- a/src/otari/_client/models/playground_tool_status.py +++ b/src/otari/_client/models/playground_tool_status.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/playground_tools_response.py b/src/otari/_client/models/playground_tools_response.py index 0a4fbdf2..19719fd1 100644 --- a/src/otari/_client/models/playground_tools_response.py +++ b/src/otari/_client/models/playground_tools_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/policy_check_request.py b/src/otari/_client/models/policy_check_request.py index 409c8692..56b2a052 100644 --- a/src/otari/_client/models/policy_check_request.py +++ b/src/otari/_client/models/policy_check_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,13 +30,24 @@ class PolicyCheckRequest(BaseModel): """ A policy body plus the evidence to check it against, both caller-supplied. """ # noqa: E501 + changed_path_source: Optional[StrictStr] = Field(default=None, description="Which moment `changed_paths` was read at, matching the `runs` values a path gate declares. Only two of the five `runs` values are legal here, because only those two are moments a path can be read at: `pre_tool_use.edit_target` for a tool call's own target before it runs, and `stop.working_tree` for `git status` once the turn is over. Required whenever `changed_paths` is non-empty, and rejected with a 422 if omitted or set to any other value: either would resolve every path gate `not_applicable`, which loses enforcement without reporting anything. An empty `changed_paths` needs no source.") changed_paths: Optional[Annotated[List[StrictStr], Field(max_length=10000)]] = Field(default=None, description="Repo-relative paths the caller observed changed (e.g. `git status --porcelain`).") - check_results: Optional[Annotated[List[CheckVerdictRequest], Field(max_length=1000)]] = Field(default=None, description="Verifier verdicts the caller collected for this request's check_passed gates.") + check_results: Optional[Annotated[List[CheckVerdictRequest], Field(max_length=1000)]] = Field(default=None, description="Verifier verdicts the caller collected for this request's verifier gates.") command_scope: Optional[StrictStr] = Field(default='call', description="What `commands` covers: `call` for the single tool call about to run, `session` for every command the session has run so far.") commands: Optional[Annotated[List[StrictStr], Field(max_length=10000)]] = Field(default=None, description="Shell commands the caller observed run or is about to run.") judge_results: Optional[Annotated[List[JudgeVerdictRequest], Field(max_length=1000)]] = Field(default=None, description="Model verdicts the caller collected for this request's judge gates.") policy_yaml: Annotated[str, Field(min_length=1, strict=True, max_length=262144)] - __properties: ClassVar[List[str]] = ["changed_paths", "check_results", "command_scope", "commands", "judge_results", "policy_yaml"] + __properties: ClassVar[List[str]] = ["changed_path_source", "changed_paths", "check_results", "command_scope", "commands", "judge_results", "policy_yaml"] + + @field_validator('changed_path_source') + def changed_path_source_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['pre_tool_use.edit_target', 'pre_tool_use.command', 'stop.working_tree', 'stop.session', 'stop.verifier']): + raise ValueError("must be one of enum values ('pre_tool_use.edit_target', 'pre_tool_use.command', 'stop.working_tree', 'stop.session', 'stop.verifier')") + return value @field_validator('command_scope') def command_scope_validate_enum(cls, value): @@ -101,6 +112,11 @@ def to_dict(self) -> Dict[str, Any]: if _item_judge_results: _items.append(_item_judge_results.to_dict()) _dict['judge_results'] = _items + # set to None if changed_path_source (nullable) is None + # and model_fields_set contains the field + if self.changed_path_source is None and "changed_path_source" in self.model_fields_set: + _dict['changed_path_source'] = None + # set to None if changed_paths (nullable) is None # and model_fields_set contains the field if self.changed_paths is None and "changed_paths" in self.model_fields_set: @@ -133,6 +149,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "changed_path_source": obj.get("changed_path_source"), "changed_paths": obj.get("changed_paths"), "check_results": [CheckVerdictRequest.from_dict(_item) for _item in obj["check_results"]] if obj.get("check_results") is not None else None, "command_scope": obj.get("command_scope") if obj.get("command_scope") is not None else 'call', diff --git a/src/otari/_client/models/policy_check_response.py b/src/otari/_client/models/policy_check_response.py index 3ad5ff27..fca3a0f8 100644 --- a/src/otari/_client/models/policy_check_response.py +++ b/src/otari/_client/models/policy_check_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/policy_request.py b/src/otari/_client/models/policy_request.py index 0b0274ef..6232b2b1 100644 --- a/src/otari/_client/models/policy_request.py +++ b/src/otari/_client/models/policy_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/policy_response.py b/src/otari/_client/models/policy_response.py index 6d2a3779..17dfdc0c 100644 --- a/src/otari/_client/models/policy_response.py +++ b/src/otari/_client/models/policy_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pool_status.py b/src/otari/_client/models/pool_status.py index 72414526..f77cb569 100644 --- a/src/otari/_client/models/pool_status.py +++ b/src/otari/_client/models/pool_status.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_drift_row.py b/src/otari/_client/models/pricing_drift_row.py index 9cce7de1..54402ffc 100644 --- a/src/otari/_client/models/pricing_drift_row.py +++ b/src/otari/_client/models/pricing_drift_row.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_refresh_change_response.py b/src/otari/_client/models/pricing_refresh_change_response.py index ffe3e0a9..ec494f9e 100644 --- a/src/otari/_client/models/pricing_refresh_change_response.py +++ b/src/otari/_client/models/pricing_refresh_change_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_refresh_confirmation_response.py b/src/otari/_client/models/pricing_refresh_confirmation_response.py index 29abdd07..ef4329a2 100644 --- a/src/otari/_client/models/pricing_refresh_confirmation_response.py +++ b/src/otari/_client/models/pricing_refresh_confirmation_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_refresh_preview_response.py b/src/otari/_client/models/pricing_refresh_preview_response.py index 936bdb07..54c08875 100644 --- a/src/otari/_client/models/pricing_refresh_preview_response.py +++ b/src/otari/_client/models/pricing_refresh_preview_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_response.py b/src/otari/_client/models/pricing_response.py index b22e4e63..364978b2 100644 --- a/src/otari/_client/models/pricing_response.py +++ b/src/otari/_client/models/pricing_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_tier.py b/src/otari/_client/models/pricing_tier.py index 3bfe9616..2ff1dc49 100644 --- a/src/otari/_client/models/pricing_tier.py +++ b/src/otari/_client/models/pricing_tier.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_tiers_inner.py b/src/otari/_client/models/pricing_tiers_inner.py index f197e245..21a983a1 100644 --- a/src/otari/_client/models/pricing_tiers_inner.py +++ b/src/otari/_client/models/pricing_tiers_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/pricing_tiers_inner_any_of_value.py b/src/otari/_client/models/pricing_tiers_inner_any_of_value.py index 0b778ae1..07fd43ae 100644 --- a/src/otari/_client/models/pricing_tiers_inner_any_of_value.py +++ b/src/otari/_client/models/pricing_tiers_inner_any_of_value.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/provider_capabilities_schema.py b/src/otari/_client/models/provider_capabilities_schema.py index c6b4c894..8ce33878 100644 --- a/src/otari/_client/models/provider_capabilities_schema.py +++ b/src/otari/_client/models/provider_capabilities_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/provider_health_response.py b/src/otari/_client/models/provider_health_response.py index 4bb5cbd2..28185350 100644 --- a/src/otari/_client/models/provider_health_response.py +++ b/src/otari/_client/models/provider_health_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/provider_health_schema.py b/src/otari/_client/models/provider_health_schema.py index 0abf48ef..a6f320ce 100644 --- a/src/otari/_client/models/provider_health_schema.py +++ b/src/otari/_client/models/provider_health_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/provider_info_schema.py b/src/otari/_client/models/provider_info_schema.py index 47417e6b..9118b392 100644 --- a/src/otari/_client/models/provider_info_schema.py +++ b/src/otari/_client/models/provider_info_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/providers_response.py b/src/otari/_client/models/providers_response.py index af4efcec..3c11c97a 100644 --- a/src/otari/_client/models/providers_response.py +++ b/src/otari/_client/models/providers_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rank_request.py b/src/otari/_client/models/rank_request.py index 8995342c..508b44d1 100644 --- a/src/otari/_client/models/rank_request.py +++ b/src/otari/_client/models/rank_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rank_response.py b/src/otari/_client/models/rank_response.py index ca2de122..8f6ca96b 100644 --- a/src/otari/_client/models/rank_response.py +++ b/src/otari/_client/models/rank_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/recorded_pool.py b/src/otari/_client/models/recorded_pool.py index 633fe9c3..23ebb3b9 100644 --- a/src/otari/_client/models/recorded_pool.py +++ b/src/otari/_client/models/recorded_pool.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/reencrypt_provider_credentials_response.py b/src/otari/_client/models/reencrypt_provider_credentials_response.py index 1f355a19..0364b7a3 100644 --- a/src/otari/_client/models/reencrypt_provider_credentials_response.py +++ b/src/otari/_client/models/reencrypt_provider_credentials_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/reencrypt_search_tools_response.py b/src/otari/_client/models/reencrypt_search_tools_response.py index c3d86a7f..132307c9 100644 --- a/src/otari/_client/models/reencrypt_search_tools_response.py +++ b/src/otari/_client/models/reencrypt_search_tools_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/register_passkey_request.py b/src/otari/_client/models/register_passkey_request.py index 6111e8f5..8dd8d1bc 100644 --- a/src/otari/_client/models/register_passkey_request.py +++ b/src/otari/_client/models/register_passkey_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/request_password_reset_request.py b/src/otari/_client/models/request_password_reset_request.py index 68d5493b..438bbf42 100644 --- a/src/otari/_client/models/request_password_reset_request.py +++ b/src/otari/_client/models/request_password_reset_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/request_password_reset_response.py b/src/otari/_client/models/request_password_reset_response.py index 886ebebc..920bd64d 100644 --- a/src/otari/_client/models/request_password_reset_response.py +++ b/src/otari/_client/models/request_password_reset_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/requirement_group.py b/src/otari/_client/models/requirement_group.py index c309ab73..98081a79 100644 --- a/src/otari/_client/models/requirement_group.py +++ b/src/otari/_client/models/requirement_group.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rerank_request.py b/src/otari/_client/models/rerank_request.py index be2d53c5..cee0d325 100644 --- a/src/otari/_client/models/rerank_request.py +++ b/src/otari/_client/models/rerank_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rerank_response.py b/src/otari/_client/models/rerank_response.py index bb0723c5..f915cb27 100644 --- a/src/otari/_client/models/rerank_response.py +++ b/src/otari/_client/models/rerank_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/resend_verification_request.py b/src/otari/_client/models/resend_verification_request.py index 4e201157..e9173898 100644 --- a/src/otari/_client/models/resend_verification_request.py +++ b/src/otari/_client/models/resend_verification_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/resend_verification_response.py b/src/otari/_client/models/resend_verification_response.py index 40d69203..53bdd286 100644 --- a/src/otari/_client/models/resend_verification_response.py +++ b/src/otari/_client/models/resend_verification_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/reset_password_request.py b/src/otari/_client/models/reset_password_request.py index 507e8614..c7c39647 100644 --- a/src/otari/_client/models/reset_password_request.py +++ b/src/otari/_client/models/reset_password_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/resource.py b/src/otari/_client/models/resource.py index c899be09..c823c8aa 100644 --- a/src/otari/_client/models/resource.py +++ b/src/otari/_client/models/resource.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/resource_link.py b/src/otari/_client/models/resource_link.py index 3f54d661..01a914f5 100644 --- a/src/otari/_client/models/resource_link.py +++ b/src/otari/_client/models/resource_link.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/response_files_create_file.py b/src/otari/_client/models/response_files_create_file.py new file mode 100644 index 00000000..61934b77 --- /dev/null +++ b/src/otari/_client/models/response_files_create_file.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +from inspect import getfullargspec +import json +import pprint +import re # noqa: F401 +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Optional +from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata +from otari._client.models.open_ai_file_object import OpenAIFileObject +from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict +from typing_extensions import Literal, Self +from pydantic import Field + +RESPONSEFILESCREATEFILE_ANY_OF_SCHEMAS = ["AnthropicFileMetadata", "OpenAIFileObject"] + +class ResponseFilesCreateFile(BaseModel): + """ + ResponseFilesCreateFile + """ + + # data type: OpenAIFileObject + anyof_schema_1_validator: Optional[OpenAIFileObject] = None + # data type: AnthropicFileMetadata + anyof_schema_2_validator: Optional[AnthropicFileMetadata] = None + if TYPE_CHECKING: + actual_instance: Optional[Union[AnthropicFileMetadata, OpenAIFileObject]] = None + else: + actual_instance: Any = None + any_of_schemas: Set[str] = { "AnthropicFileMetadata", "OpenAIFileObject" } + + model_config = { + "validate_assignment": True, + "protected_namespaces": (), + } + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_anyof(cls, v): + instance = ResponseFilesCreateFile.model_construct() + error_messages = [] + # validate data type: OpenAIFileObject + if not isinstance(v, OpenAIFileObject): + error_messages.append(f"Error! Input type `{type(v)}` is not `OpenAIFileObject`") + else: + return v + + # validate data type: AnthropicFileMetadata + if not isinstance(v, AnthropicFileMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `AnthropicFileMetadata`") + else: + return v + + if error_messages: + # no match + raise ValueError("No match found when setting the actual_instance in ResponseFilesCreateFile with anyOf schemas: AnthropicFileMetadata, OpenAIFileObject. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Dict[str, Any]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + # anyof_schema_1_validator: Optional[OpenAIFileObject] = None + try: + instance.actual_instance = OpenAIFileObject.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # anyof_schema_2_validator: Optional[AnthropicFileMetadata] = None + try: + instance.actual_instance = AnthropicFileMetadata.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if error_messages: + # no match + raise ValueError("No match found when deserializing the JSON string into ResponseFilesCreateFile with anyOf schemas: AnthropicFileMetadata, OpenAIFileObject. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], AnthropicFileMetadata, OpenAIFileObject]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/src/otari/_client/models/response_files_delete_file.py b/src/otari/_client/models/response_files_delete_file.py new file mode 100644 index 00000000..4345388a --- /dev/null +++ b/src/otari/_client/models/response_files_delete_file.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +from inspect import getfullargspec +import json +import pprint +import re # noqa: F401 +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Optional +from otari._client.models.anthropic_file_deleted import AnthropicFileDeleted +from otari._client.models.open_ai_file_deleted import OpenAIFileDeleted +from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict +from typing_extensions import Literal, Self +from pydantic import Field + +RESPONSEFILESDELETEFILE_ANY_OF_SCHEMAS = ["AnthropicFileDeleted", "OpenAIFileDeleted"] + +class ResponseFilesDeleteFile(BaseModel): + """ + ResponseFilesDeleteFile + """ + + # data type: OpenAIFileDeleted + anyof_schema_1_validator: Optional[OpenAIFileDeleted] = None + # data type: AnthropicFileDeleted + anyof_schema_2_validator: Optional[AnthropicFileDeleted] = None + if TYPE_CHECKING: + actual_instance: Optional[Union[AnthropicFileDeleted, OpenAIFileDeleted]] = None + else: + actual_instance: Any = None + any_of_schemas: Set[str] = { "AnthropicFileDeleted", "OpenAIFileDeleted" } + + model_config = { + "validate_assignment": True, + "protected_namespaces": (), + } + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_anyof(cls, v): + instance = ResponseFilesDeleteFile.model_construct() + error_messages = [] + # validate data type: OpenAIFileDeleted + if not isinstance(v, OpenAIFileDeleted): + error_messages.append(f"Error! Input type `{type(v)}` is not `OpenAIFileDeleted`") + else: + return v + + # validate data type: AnthropicFileDeleted + if not isinstance(v, AnthropicFileDeleted): + error_messages.append(f"Error! Input type `{type(v)}` is not `AnthropicFileDeleted`") + else: + return v + + if error_messages: + # no match + raise ValueError("No match found when setting the actual_instance in ResponseFilesDeleteFile with anyOf schemas: AnthropicFileDeleted, OpenAIFileDeleted. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Dict[str, Any]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + # anyof_schema_1_validator: Optional[OpenAIFileDeleted] = None + try: + instance.actual_instance = OpenAIFileDeleted.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # anyof_schema_2_validator: Optional[AnthropicFileDeleted] = None + try: + instance.actual_instance = AnthropicFileDeleted.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if error_messages: + # no match + raise ValueError("No match found when deserializing the JSON string into ResponseFilesDeleteFile with anyOf schemas: AnthropicFileDeleted, OpenAIFileDeleted. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], AnthropicFileDeleted, OpenAIFileDeleted]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/src/otari/_client/models/response_files_get_file.py b/src/otari/_client/models/response_files_get_file.py new file mode 100644 index 00000000..86dd9db0 --- /dev/null +++ b/src/otari/_client/models/response_files_get_file.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +from inspect import getfullargspec +import json +import pprint +import re # noqa: F401 +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Optional +from otari._client.models.anthropic_file_metadata import AnthropicFileMetadata +from otari._client.models.open_ai_file_object import OpenAIFileObject +from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict +from typing_extensions import Literal, Self +from pydantic import Field + +RESPONSEFILESGETFILE_ANY_OF_SCHEMAS = ["AnthropicFileMetadata", "OpenAIFileObject"] + +class ResponseFilesGetFile(BaseModel): + """ + ResponseFilesGetFile + """ + + # data type: OpenAIFileObject + anyof_schema_1_validator: Optional[OpenAIFileObject] = None + # data type: AnthropicFileMetadata + anyof_schema_2_validator: Optional[AnthropicFileMetadata] = None + if TYPE_CHECKING: + actual_instance: Optional[Union[AnthropicFileMetadata, OpenAIFileObject]] = None + else: + actual_instance: Any = None + any_of_schemas: Set[str] = { "AnthropicFileMetadata", "OpenAIFileObject" } + + model_config = { + "validate_assignment": True, + "protected_namespaces": (), + } + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_anyof(cls, v): + instance = ResponseFilesGetFile.model_construct() + error_messages = [] + # validate data type: OpenAIFileObject + if not isinstance(v, OpenAIFileObject): + error_messages.append(f"Error! Input type `{type(v)}` is not `OpenAIFileObject`") + else: + return v + + # validate data type: AnthropicFileMetadata + if not isinstance(v, AnthropicFileMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `AnthropicFileMetadata`") + else: + return v + + if error_messages: + # no match + raise ValueError("No match found when setting the actual_instance in ResponseFilesGetFile with anyOf schemas: AnthropicFileMetadata, OpenAIFileObject. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Dict[str, Any]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + # anyof_schema_1_validator: Optional[OpenAIFileObject] = None + try: + instance.actual_instance = OpenAIFileObject.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # anyof_schema_2_validator: Optional[AnthropicFileMetadata] = None + try: + instance.actual_instance = AnthropicFileMetadata.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if error_messages: + # no match + raise ValueError("No match found when deserializing the JSON string into ResponseFilesGetFile with anyOf schemas: AnthropicFileMetadata, OpenAIFileObject. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], AnthropicFileMetadata, OpenAIFileObject]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/src/otari/_client/models/response_files_list_files.py b/src/otari/_client/models/response_files_list_files.py new file mode 100644 index 00000000..e59358c7 --- /dev/null +++ b/src/otari/_client/models/response_files_list_files.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + 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 + + +from __future__ import annotations +from inspect import getfullargspec +import json +import pprint +import re # noqa: F401 +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Optional +from otari._client.models.anthropic_file_list import AnthropicFileList +from otari._client.models.open_ai_file_list import OpenAIFileList +from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict +from typing_extensions import Literal, Self +from pydantic import Field + +RESPONSEFILESLISTFILES_ANY_OF_SCHEMAS = ["AnthropicFileList", "OpenAIFileList"] + +class ResponseFilesListFiles(BaseModel): + """ + ResponseFilesListFiles + """ + + # data type: OpenAIFileList + anyof_schema_1_validator: Optional[OpenAIFileList] = None + # data type: AnthropicFileList + anyof_schema_2_validator: Optional[AnthropicFileList] = None + if TYPE_CHECKING: + actual_instance: Optional[Union[AnthropicFileList, OpenAIFileList]] = None + else: + actual_instance: Any = None + any_of_schemas: Set[str] = { "AnthropicFileList", "OpenAIFileList" } + + model_config = { + "validate_assignment": True, + "protected_namespaces": (), + } + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_anyof(cls, v): + instance = ResponseFilesListFiles.model_construct() + error_messages = [] + # validate data type: OpenAIFileList + if not isinstance(v, OpenAIFileList): + error_messages.append(f"Error! Input type `{type(v)}` is not `OpenAIFileList`") + else: + return v + + # validate data type: AnthropicFileList + if not isinstance(v, AnthropicFileList): + error_messages.append(f"Error! Input type `{type(v)}` is not `AnthropicFileList`") + else: + return v + + if error_messages: + # no match + raise ValueError("No match found when setting the actual_instance in ResponseFilesListFiles with anyOf schemas: AnthropicFileList, OpenAIFileList. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Dict[str, Any]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + # anyof_schema_1_validator: Optional[OpenAIFileList] = None + try: + instance.actual_instance = OpenAIFileList.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # anyof_schema_2_validator: Optional[AnthropicFileList] = None + try: + instance.actual_instance = AnthropicFileList.from_json(json_str) + return instance + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if error_messages: + # no match + raise ValueError("No match found when deserializing the JSON string into ResponseFilesListFiles with anyOf schemas: AnthropicFileList, OpenAIFileList. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], AnthropicFileList, OpenAIFileList]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/src/otari/_client/models/responses_request.py b/src/otari/_client/models/responses_request.py index fca8f2a3..119a1cf1 100644 --- a/src/otari/_client/models/responses_request.py +++ b/src/otari/_client/models/responses_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rotate_master_key_response.py b/src/otari/_client/models/rotate_master_key_response.py index 17b037f6..db122a6b 100644 --- a/src/otari/_client/models/rotate_master_key_response.py +++ b/src/otari/_client/models/rotate_master_key_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/router_status.py b/src/otari/_client/models/router_status.py index ad277c78..c64f8bf2 100644 --- a/src/otari/_client/models/router_status.py +++ b/src/otari/_client/models/router_status.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rr_rerank_meta.py b/src/otari/_client/models/rr_rerank_meta.py index fe9a20aa..63cfb6cf 100644 --- a/src/otari/_client/models/rr_rerank_meta.py +++ b/src/otari/_client/models/rr_rerank_meta.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rr_rerank_result.py b/src/otari/_client/models/rr_rerank_result.py index b768c00a..9b32dfa1 100644 --- a/src/otari/_client/models/rr_rerank_result.py +++ b/src/otari/_client/models/rr_rerank_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/rr_rerank_usage.py b/src/otari/_client/models/rr_rerank_usage.py index ffd8c4ad..c6553551 100644 --- a/src/otari/_client/models/rr_rerank_usage.py +++ b/src/otari/_client/models/rr_rerank_usage.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/scoped_budget_response.py b/src/otari/_client/models/scoped_budget_response.py index d9985304..5083fcd4 100644 --- a/src/otari/_client/models/scoped_budget_response.py +++ b/src/otari/_client/models/scoped_budget_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/scored_example.py b/src/otari/_client/models/scored_example.py index 4917a705..25854049 100644 --- a/src/otari/_client/models/scored_example.py +++ b/src/otari/_client/models/scored_example.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/search_provider_schema.py b/src/otari/_client/models/search_provider_schema.py index 5291e307..fa4f222e 100644 --- a/src/otari/_client/models/search_provider_schema.py +++ b/src/otari/_client/models/search_provider_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/search_request.py b/src/otari/_client/models/search_request.py index 9d701e44..798d3c6b 100644 --- a/src/otari/_client/models/search_request.py +++ b/src/otari/_client/models/search_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/search_response.py b/src/otari/_client/models/search_response.py index bc5f8d70..ca2518c8 100644 --- a/src/otari/_client/models/search_response.py +++ b/src/otari/_client/models/search_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/search_result_item.py b/src/otari/_client/models/search_result_item.py index d846342d..53b25950 100644 --- a/src/otari/_client/models/search_result_item.py +++ b/src/otari/_client/models/search_result_item.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/search_tools_response.py b/src/otari/_client/models/search_tools_response.py index c3a06a51..afabc309 100644 --- a/src/otari/_client/models/search_tools_response.py +++ b/src/otari/_client/models/search_tools_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/selector_index_response.py b/src/otari/_client/models/selector_index_response.py index 1ebf3b69..a3f13673 100644 --- a/src/otari/_client/models/selector_index_response.py +++ b/src/otari/_client/models/selector_index_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/send_test_mail_request.py b/src/otari/_client/models/send_test_mail_request.py index 67fa5151..fc4cd1c2 100644 --- a/src/otari/_client/models/send_test_mail_request.py +++ b/src/otari/_client/models/send_test_mail_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/send_test_mail_response.py b/src/otari/_client/models/send_test_mail_response.py index 47236400..8fa194f2 100644 --- a/src/otari/_client/models/send_test_mail_response.py +++ b/src/otari/_client/models/send_test_mail_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/session_response.py b/src/otari/_client/models/session_response.py index 76be6e65..6a6730d9 100644 --- a/src/otari/_client/models/session_response.py +++ b/src/otari/_client/models/session_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/set_password_request.py b/src/otari/_client/models/set_password_request.py index 4023d30b..f4376a12 100644 --- a/src/otari/_client/models/set_password_request.py +++ b/src/otari/_client/models/set_password_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/set_pricing_request.py b/src/otari/_client/models/set_pricing_request.py index 38b4b61c..3776c5ca 100644 --- a/src/otari/_client/models/set_pricing_request.py +++ b/src/otari/_client/models/set_pricing_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/signup_request.py b/src/otari/_client/models/signup_request.py index fd672184..aae8c1f3 100644 --- a/src/otari/_client/models/signup_request.py +++ b/src/otari/_client/models/signup_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/signup_response.py b/src/otari/_client/models/signup_response.py index 99b4d146..2536d2a1 100644 --- a/src/otari/_client/models/signup_response.py +++ b/src/otari/_client/models/signup_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/source.py b/src/otari/_client/models/source.py index 028dc289..00bdb174 100644 --- a/src/otari/_client/models/source.py +++ b/src/otari/_client/models/source.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/source1.py b/src/otari/_client/models/source1.py index c2b2442e..dd53362b 100644 --- a/src/otari/_client/models/source1.py +++ b/src/otari/_client/models/source1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/stop.py b/src/otari/_client/models/stop.py index 484926ae..7bc8a120 100644 --- a/src/otari/_client/models/stop.py +++ b/src/otari/_client/models/stop.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/stored_provider_response.py b/src/otari/_client/models/stored_provider_response.py index 86146616..b9a04297 100644 --- a/src/otari/_client/models/stored_provider_response.py +++ b/src/otari/_client/models/stored_provider_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/stored_search_tool_schema.py b/src/otari/_client/models/stored_search_tool_schema.py index 7724281d..fbfd0283 100644 --- a/src/otari/_client/models/stored_search_tool_schema.py +++ b/src/otari/_client/models/stored_search_tool_schema.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/switch_active_organization_request.py b/src/otari/_client/models/switch_active_organization_request.py index 8a1ca3e3..62e5918b 100644 --- a/src/otari/_client/models/switch_active_organization_request.py +++ b/src/otari/_client/models/switch_active_organization_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/system.py b/src/otari/_client/models/system.py index 7c55ffc1..90304b0a 100644 --- a/src/otari/_client/models/system.py +++ b/src/otari/_client/models/system.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/task_pool.py b/src/otari/_client/models/task_pool.py index 50541da6..34fa473a 100644 --- a/src/otari/_client/models/task_pool.py +++ b/src/otari/_client/models/task_pool.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/test_provider_request.py b/src/otari/_client/models/test_provider_request.py index a6bf71ac..d534fc28 100644 --- a/src/otari/_client/models/test_provider_request.py +++ b/src/otari/_client/models/test_provider_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/test_provider_response.py b/src/otari/_client/models/test_provider_response.py index 39acd828..32878f2f 100644 --- a/src/otari/_client/models/test_provider_response.py +++ b/src/otari/_client/models/test_provider_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/test_service_request.py b/src/otari/_client/models/test_service_request.py index d76131ef..0ed30fa9 100644 --- a/src/otari/_client/models/test_service_request.py +++ b/src/otari/_client/models/test_service_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/test_service_response.py b/src/otari/_client/models/test_service_response.py index fde706a9..e67f722b 100644 --- a/src/otari/_client/models/test_service_response.py +++ b/src/otari/_client/models/test_service_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/text_content.py b/src/otari/_client/models/text_content.py index b7dd6371..629f4431 100644 --- a/src/otari/_client/models/text_content.py +++ b/src/otari/_client/models/text_content.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/text_resource_contents.py b/src/otari/_client/models/text_resource_contents.py index befb504d..df39d20d 100644 --- a/src/otari/_client/models/text_resource_contents.py +++ b/src/otari/_client/models/text_resource_contents.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/token_charge_line.py b/src/otari/_client/models/token_charge_line.py index 5e8f65a9..c5960d55 100644 --- a/src/otari/_client/models/token_charge_line.py +++ b/src/otari/_client/models/token_charge_line.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tool_calls_inner.py b/src/otari/_client/models/tool_calls_inner.py index 8b66f939..bdac489b 100644 --- a/src/otari/_client/models/tool_calls_inner.py +++ b/src/otari/_client/models/tool_calls_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tool_choice.py b/src/otari/_client/models/tool_choice.py index e2770da4..aa12e760 100644 --- a/src/otari/_client/models/tool_choice.py +++ b/src/otari/_client/models/tool_choice.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tool_choice1.py b/src/otari/_client/models/tool_choice1.py index f87b5193..c49cee4a 100644 --- a/src/otari/_client/models/tool_choice1.py +++ b/src/otari/_client/models/tool_choice1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tool_meter.py b/src/otari/_client/models/tool_meter.py index 41a6d930..1f0d2238 100644 --- a/src/otari/_client/models/tool_meter.py +++ b/src/otari/_client/models/tool_meter.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tool_setting_field.py b/src/otari/_client/models/tool_setting_field.py index 8509cd0d..49fd3ea3 100644 --- a/src/otari/_client/models/tool_setting_field.py +++ b/src/otari/_client/models/tool_setting_field.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tool_settings_response.py b/src/otari/_client/models/tool_settings_response.py index 2819b314..1fe2ff3e 100644 --- a/src/otari/_client/models/tool_settings_response.py +++ b/src/otari/_client/models/tool_settings_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/tools_response.py b/src/otari/_client/models/tools_response.py index 68453b29..bc495dc4 100644 --- a/src/otari/_client/models/tools_response.py +++ b/src/otari/_client/models/tools_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/unit_charge_line.py b/src/otari/_client/models/unit_charge_line.py index 1c8503fc..9ffb7a39 100644 --- a/src/otari/_client/models/unit_charge_line.py +++ b/src/otari/_client/models/unit_charge_line.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/units.py b/src/otari/_client/models/units.py index 00a235f4..a8d4dafe 100644 --- a/src/otari/_client/models/units.py +++ b/src/otari/_client/models/units.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/units1.py b/src/otari/_client/models/units1.py index e7b39cd9..d586672e 100644 --- a/src/otari/_client/models/units1.py +++ b/src/otari/_client/models/units1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_budget_request.py b/src/otari/_client/models/update_budget_request.py index 69dbcb93..77a2cf88 100644 --- a/src/otari/_client/models/update_budget_request.py +++ b/src/otari/_client/models/update_budget_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_key_request.py b/src/otari/_client/models/update_key_request.py index 7f2dd343..32015de0 100644 --- a/src/otari/_client/models/update_key_request.py +++ b/src/otari/_client/models/update_key_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_maintenance_mode_request.py b/src/otari/_client/models/update_maintenance_mode_request.py index 40b9f29c..d48184b3 100644 --- a/src/otari/_client/models/update_maintenance_mode_request.py +++ b/src/otari/_client/models/update_maintenance_mode_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_own_key_request.py b/src/otari/_client/models/update_own_key_request.py index 9661d4ef..050459c6 100644 --- a/src/otari/_client/models/update_own_key_request.py +++ b/src/otari/_client/models/update_own_key_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_profile_request.py b/src/otari/_client/models/update_profile_request.py index 99ddbd85..62e96c29 100644 --- a/src/otari/_client/models/update_profile_request.py +++ b/src/otari/_client/models/update_profile_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_scoped_budget_request.py b/src/otari/_client/models/update_scoped_budget_request.py index d8035f32..9521f7cd 100644 --- a/src/otari/_client/models/update_scoped_budget_request.py +++ b/src/otari/_client/models/update_scoped_budget_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_search_tool_request.py b/src/otari/_client/models/update_search_tool_request.py index f2d92610..ca86a64b 100644 --- a/src/otari/_client/models/update_search_tool_request.py +++ b/src/otari/_client/models/update_search_tool_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_settings_request.py b/src/otari/_client/models/update_settings_request.py index 68a666e3..d13ff22e 100644 --- a/src/otari/_client/models/update_settings_request.py +++ b/src/otari/_client/models/update_settings_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_stored_provider_request.py b/src/otari/_client/models/update_stored_provider_request.py index 1916b00e..7a37245f 100644 --- a/src/otari/_client/models/update_stored_provider_request.py +++ b/src/otari/_client/models/update_stored_provider_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_tool_settings_request.py b/src/otari/_client/models/update_tool_settings_request.py index 7761ee17..659f5d80 100644 --- a/src/otari/_client/models/update_tool_settings_request.py +++ b/src/otari/_client/models/update_tool_settings_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/update_user_request.py b/src/otari/_client/models/update_user_request.py index a49acd99..7003d12f 100644 --- a/src/otari/_client/models/update_user_request.py +++ b/src/otari/_client/models/update_user_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_count.py b/src/otari/_client/models/usage_count.py index 9b4e5b45..493e412e 100644 --- a/src/otari/_client/models/usage_count.py +++ b/src/otari/_client/models/usage_count.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_delete_request.py b/src/otari/_client/models/usage_delete_request.py index 25db5aa9..37457d6c 100644 --- a/src/otari/_client/models/usage_delete_request.py +++ b/src/otari/_client/models/usage_delete_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_delete_result.py b/src/otari/_client/models/usage_delete_result.py index c0fe198f..82d16e2e 100644 --- a/src/otari/_client/models/usage_delete_result.py +++ b/src/otari/_client/models/usage_delete_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_entry.py b/src/otari/_client/models/usage_entry.py index 372d68f0..2ed56e96 100644 --- a/src/otari/_client/models/usage_entry.py +++ b/src/otari/_client/models/usage_entry.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_entry_pricing_breakdown_inner.py b/src/otari/_client/models/usage_entry_pricing_breakdown_inner.py index 8caffd82..3579dd72 100644 --- a/src/otari/_client/models/usage_entry_pricing_breakdown_inner.py +++ b/src/otari/_client/models/usage_entry_pricing_breakdown_inner.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_error_code_row.py b/src/otari/_client/models/usage_error_code_row.py index adf39e46..de39a304 100644 --- a/src/otari/_client/models/usage_error_code_row.py +++ b/src/otari/_client/models/usage_error_code_row.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_group_row.py b/src/otari/_client/models/usage_group_row.py index 297b6a6c..9ada0955 100644 --- a/src/otari/_client/models/usage_group_row.py +++ b/src/otari/_client/models/usage_group_row.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_grouped_series.py b/src/otari/_client/models/usage_grouped_series.py index fbe1dd02..6f579dff 100644 --- a/src/otari/_client/models/usage_grouped_series.py +++ b/src/otari/_client/models/usage_grouped_series.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_grouped_series_point.py b/src/otari/_client/models/usage_grouped_series_point.py index 933fd4b3..d954c0ad 100644 --- a/src/otari/_client/models/usage_grouped_series_point.py +++ b/src/otari/_client/models/usage_grouped_series_point.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_log_response.py b/src/otari/_client/models/usage_log_response.py index 032aa882..7c010db7 100644 --- a/src/otari/_client/models/usage_log_response.py +++ b/src/otari/_client/models/usage_log_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_series_point.py b/src/otari/_client/models/usage_series_point.py index ee4b311a..5fe57808 100644 --- a/src/otari/_client/models/usage_series_point.py +++ b/src/otari/_client/models/usage_series_point.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_set_price_request.py b/src/otari/_client/models/usage_set_price_request.py index 1ae2db2b..939df239 100644 --- a/src/otari/_client/models/usage_set_price_request.py +++ b/src/otari/_client/models/usage_set_price_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_set_price_result.py b/src/otari/_client/models/usage_set_price_result.py index af70f19a..d29c1267 100644 --- a/src/otari/_client/models/usage_set_price_result.py +++ b/src/otari/_client/models/usage_set_price_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_summary.py b/src/otari/_client/models/usage_summary.py index 41997f73..d4c0d150 100644 --- a/src/otari/_client/models/usage_summary.py +++ b/src/otari/_client/models/usage_summary.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_tool_row.py b/src/otari/_client/models/usage_tool_row.py index 3104feb9..1020dd56 100644 --- a/src/otari/_client/models/usage_tool_row.py +++ b/src/otari/_client/models/usage_tool_row.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/usage_totals.py b/src/otari/_client/models/usage_totals.py index f86bad45..1ff64f55 100644 --- a/src/otari/_client/models/usage_totals.py +++ b/src/otari/_client/models/usage_totals.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/user_id.py b/src/otari/_client/models/user_id.py index 1ab4cd15..51ca65f0 100644 --- a/src/otari/_client/models/user_id.py +++ b/src/otari/_client/models/user_id.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/user_response.py b/src/otari/_client/models/user_response.py index 310973c8..d20943ec 100644 --- a/src/otari/_client/models/user_response.py +++ b/src/otari/_client/models/user_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/validate_invitation_request.py b/src/otari/_client/models/validate_invitation_request.py index f2cbc13b..890123a4 100644 --- a/src/otari/_client/models/validate_invitation_request.py +++ b/src/otari/_client/models/validate_invitation_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/validation_error.py b/src/otari/_client/models/validation_error.py index 19da1d0e..5147febb 100644 --- a/src/otari/_client/models/validation_error.py +++ b/src/otari/_client/models/validation_error.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/value.py b/src/otari/_client/models/value.py index 377d8006..b7018441 100644 --- a/src/otari/_client/models/value.py +++ b/src/otari/_client/models/value.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/value1.py b/src/otari/_client/models/value1.py index 6589b1ed..38b23a2c 100644 --- a/src/otari/_client/models/value1.py +++ b/src/otari/_client/models/value1.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/variant_license.py b/src/otari/_client/models/variant_license.py index 11b152de..3385df05 100644 --- a/src/otari/_client/models/variant_license.py +++ b/src/otari/_client/models/variant_license.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/verify_email_request.py b/src/otari/_client/models/verify_email_request.py index 396a2408..22f7b3fc 100644 --- a/src/otari/_client/models/verify_email_request.py +++ b/src/otari/_client/models/verify_email_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/verify_email_response.py b/src/otari/_client/models/verify_email_response.py index f8d4e3e7..215b2d3f 100644 --- a/src/otari/_client/models/verify_email_response.py +++ b/src/otari/_client/models/verify_email_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/web_authn_credential_public.py b/src/otari/_client/models/web_authn_credential_public.py index 62484c8e..75f520c4 100644 --- a/src/otari/_client/models/web_authn_credential_public.py +++ b/src/otari/_client/models/web_authn_credential_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/web_authn_credential_update.py b/src/otari/_client/models/web_authn_credential_update.py index cb4e65e1..4e45c227 100644 --- a/src/otari/_client/models/web_authn_credential_update.py +++ b/src/otari/_client/models/web_authn_credential_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/web_authn_credentials_public.py b/src/otari/_client/models/web_authn_credentials_public.py index 3b2f7732..34fce15d 100644 --- a/src/otari/_client/models/web_authn_credentials_public.py +++ b/src/otari/_client/models/web_authn_credentials_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/web_search_backend_response.py b/src/otari/_client/models/web_search_backend_response.py index 628b87ec..c7e13e4d 100644 --- a/src/otari/_client/models/web_search_backend_response.py +++ b/src/otari/_client/models/web_search_backend_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/web_search_backend_result.py b/src/otari/_client/models/web_search_backend_result.py index 138dbe1d..c87daea8 100644 --- a/src/otari/_client/models/web_search_backend_result.py +++ b/src/otari/_client/models/web_search_backend_result.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_activation_public.py b/src/otari/_client/models/workspace_activation_public.py index 0446ccdb..5c8049ab 100644 --- a/src/otari/_client/models/workspace_activation_public.py +++ b/src/otari/_client/models/workspace_activation_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_assignment_request.py b/src/otari/_client/models/workspace_assignment_request.py index 7af2d265..468fc923 100644 --- a/src/otari/_client/models/workspace_assignment_request.py +++ b/src/otari/_client/models/workspace_assignment_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_code_execution_policy_public.py b/src/otari/_client/models/workspace_code_execution_policy_public.py index c6bb3fc5..c2d5b316 100644 --- a/src/otari/_client/models/workspace_code_execution_policy_public.py +++ b/src/otari/_client/models/workspace_code_execution_policy_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_code_execution_policy_update.py b/src/otari/_client/models/workspace_code_execution_policy_update.py index 69c58e78..b352dca1 100644 --- a/src/otari/_client/models/workspace_code_execution_policy_update.py +++ b/src/otari/_client/models/workspace_code_execution_policy_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_create.py b/src/otari/_client/models/workspace_create.py index 6bcec33e..e7dc4715 100644 --- a/src/otari/_client/models/workspace_create.py +++ b/src/otari/_client/models/workspace_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_mcp_server_create.py b/src/otari/_client/models/workspace_mcp_server_create.py index 6aaa0636..83a31af1 100644 --- a/src/otari/_client/models/workspace_mcp_server_create.py +++ b/src/otari/_client/models/workspace_mcp_server_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_mcp_server_public.py b/src/otari/_client/models/workspace_mcp_server_public.py index 0e00460a..32965a07 100644 --- a/src/otari/_client/models/workspace_mcp_server_public.py +++ b/src/otari/_client/models/workspace_mcp_server_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_mcp_server_update.py b/src/otari/_client/models/workspace_mcp_server_update.py index 94bb0ba1..d27d2fb2 100644 --- a/src/otari/_client/models/workspace_mcp_server_update.py +++ b/src/otari/_client/models/workspace_mcp_server_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_mcp_servers_public.py b/src/otari/_client/models/workspace_mcp_servers_public.py index a09fc6cb..330091de 100644 --- a/src/otari/_client/models/workspace_mcp_servers_public.py +++ b/src/otari/_client/models/workspace_mcp_servers_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_member_budget_policies_public.py b/src/otari/_client/models/workspace_member_budget_policies_public.py index 251313b5..241ea688 100644 --- a/src/otari/_client/models/workspace_member_budget_policies_public.py +++ b/src/otari/_client/models/workspace_member_budget_policies_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_member_budget_policy_create.py b/src/otari/_client/models/workspace_member_budget_policy_create.py index 468523af..a6cdcbbd 100644 --- a/src/otari/_client/models/workspace_member_budget_policy_create.py +++ b/src/otari/_client/models/workspace_member_budget_policy_create.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_member_budget_policy_public.py b/src/otari/_client/models/workspace_member_budget_policy_public.py index b74b7ed4..df2b11ad 100644 --- a/src/otari/_client/models/workspace_member_budget_policy_public.py +++ b/src/otari/_client/models/workspace_member_budget_policy_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_member_budget_policy_update.py b/src/otari/_client/models/workspace_member_budget_policy_update.py index 6f9116ce..b88251e6 100644 --- a/src/otari/_client/models/workspace_member_budget_policy_update.py +++ b/src/otari/_client/models/workspace_member_budget_policy_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_member_public.py b/src/otari/_client/models/workspace_member_public.py index 5ed2a36d..9da4dafe 100644 --- a/src/otari/_client/models/workspace_member_public.py +++ b/src/otari/_client/models/workspace_member_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_members_public.py b/src/otari/_client/models/workspace_members_public.py index d36a373d..e04d7575 100644 --- a/src/otari/_client/models/workspace_members_public.py +++ b/src/otari/_client/models/workspace_members_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_provider_key_override_public.py b/src/otari/_client/models/workspace_provider_key_override_public.py index c3f438ae..642a353b 100644 --- a/src/otari/_client/models/workspace_provider_key_override_public.py +++ b/src/otari/_client/models/workspace_provider_key_override_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_provider_key_override_request.py b/src/otari/_client/models/workspace_provider_key_override_request.py index 2364a8c4..e2acff58 100644 --- a/src/otari/_client/models/workspace_provider_key_override_request.py +++ b/src/otari/_client/models/workspace_provider_key_override_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_provider_key_overrides_public.py b/src/otari/_client/models/workspace_provider_key_overrides_public.py index 9572470b..a8e3abdc 100644 --- a/src/otari/_client/models/workspace_provider_key_overrides_public.py +++ b/src/otari/_client/models/workspace_provider_key_overrides_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_provider_model_restriction_request.py b/src/otari/_client/models/workspace_provider_model_restriction_request.py index abccf26e..2b4a0a0a 100644 --- a/src/otari/_client/models/workspace_provider_model_restriction_request.py +++ b/src/otari/_client/models/workspace_provider_model_restriction_request.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_provider_model_restrictions_public.py b/src/otari/_client/models/workspace_provider_model_restrictions_public.py index dd49cef6..9b8487e6 100644 --- a/src/otari/_client/models/workspace_provider_model_restrictions_public.py +++ b/src/otari/_client/models/workspace_provider_model_restrictions_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_public.py b/src/otari/_client/models/workspace_public.py index 0ef2be29..588aff3f 100644 --- a/src/otari/_client/models/workspace_public.py +++ b/src/otari/_client/models/workspace_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_update.py b/src/otari/_client/models/workspace_update.py index 1e7ae636..1311b831 100644 --- a/src/otari/_client/models/workspace_update.py +++ b/src/otari/_client/models/workspace_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_web_search_config_public.py b/src/otari/_client/models/workspace_web_search_config_public.py index c26dd3ef..afe6ce05 100644 --- a/src/otari/_client/models/workspace_web_search_config_public.py +++ b/src/otari/_client/models/workspace_web_search_config_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspace_web_search_config_update.py b/src/otari/_client/models/workspace_web_search_config_update.py index 894101d7..a9b8e0df 100644 --- a/src/otari/_client/models/workspace_web_search_config_update.py +++ b/src/otari/_client/models/workspace_web_search_config_update.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/workspaces_public.py b/src/otari/_client/models/workspaces_public.py index e6ac4539..89d5d4f5 100644 --- a/src/otari/_client/models/workspaces_public.py +++ b/src/otari/_client/models/workspaces_public.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/models/worst_allocation_response.py b/src/otari/_client/models/worst_allocation_response.py index 3b4e046c..f1faa9aa 100644 --- a/src/otari/_client/models/worst_allocation_response.py +++ b/src/otari/_client/models/worst_allocation_response.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/otari/_client/rest.py b/src/otari/_client/rest.py index 4a9c2bbe..5d07c8de 100644 --- a/src/otari/_client/rest.py +++ b/src/otari/_client/rest.py @@ -5,7 +5,7 @@ Otari, an OpenAI-compatible LLM gateway with API key management - The version of the OpenAPI document: 0.9.0 + The version of the OpenAPI document: 0.0.0-dev Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually.