@homeflare/distilled-litellm 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +77 -0
- package/dist/credentials.d.ts +27 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +67 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +92 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +72 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +135 -0
- package/dist/protocol.js.map +1 -0
- package/dist/retry.d.ts +50 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +43 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/a2a.d.ts +70 -0
- package/dist/services/a2a.d.ts.map +1 -0
- package/dist/services/a2a.js +128 -0
- package/dist/services/a2a.js.map +1 -0
- package/dist/services/a2a_registration.d.ts +43 -0
- package/dist/services/a2a_registration.d.ts.map +1 -0
- package/dist/services/a2a_registration.js +40 -0
- package/dist/services/a2a_registration.js.map +1 -0
- package/dist/services/access_groups.d.ts +192 -0
- package/dist/services/access_groups.d.ts.map +1 -0
- package/dist/services/access_groups.js +283 -0
- package/dist/services/access_groups.js.map +1 -0
- package/dist/services/adaptive_router.d.ts +15 -0
- package/dist/services/adaptive_router.d.ts.map +1 -0
- package/dist/services/adaptive_router.js +25 -0
- package/dist/services/adaptive_router.js.map +1 -0
- package/dist/services/agents.d.ts +537 -0
- package/dist/services/agents.d.ts.map +1 -0
- package/dist/services/agents.js +481 -0
- package/dist/services/agents.js.map +1 -0
- package/dist/services/alerting.d.ts +15 -0
- package/dist/services/alerting.d.ts.map +1 -0
- package/dist/services/alerting.js +25 -0
- package/dist/services/alerting.js.map +1 -0
- package/dist/services/anthropic_pass_through.d.ts +70 -0
- package/dist/services/anthropic_pass_through.d.ts.map +1 -0
- package/dist/services/anthropic_pass_through.js +114 -0
- package/dist/services/anthropic_pass_through.js.map +1 -0
- package/dist/services/anthropic_passthrough.d.ts +35 -0
- package/dist/services/anthropic_passthrough.d.ts.map +1 -0
- package/dist/services/anthropic_passthrough.js +59 -0
- package/dist/services/anthropic_passthrough.js.map +1 -0
- package/dist/services/anthropic_skills.d.ts +74 -0
- package/dist/services/anthropic_skills.d.ts.map +1 -0
- package/dist/services/anthropic_skills.js +94 -0
- package/dist/services/anthropic_skills.js.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.js +114 -0
- package/dist/services/assembly_ai_eu_pass_through.js.map +1 -0
- package/dist/services/assembly_ai_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_pass_through.js +114 -0
- package/dist/services/assembly_ai_pass_through.js.map +1 -0
- package/dist/services/assistants.d.ts +185 -0
- package/dist/services/assistants.d.ts.map +1 -0
- package/dist/services/assistants.js +331 -0
- package/dist/services/assistants.js.map +1 -0
- package/dist/services/audio.d.ts +57 -0
- package/dist/services/audio.d.ts.map +1 -0
- package/dist/services/audio.js +96 -0
- package/dist/services/audio.js.map +1 -0
- package/dist/services/audit_logging.d.ts +98 -0
- package/dist/services/audit_logging.d.ts.map +1 -0
- package/dist/services/audit_logging.js +83 -0
- package/dist/services/audit_logging.js.map +1 -0
- package/dist/services/auto_router.d.ts +286 -0
- package/dist/services/auto_router.d.ts.map +1 -0
- package/dist/services/auto_router.js +248 -0
- package/dist/services/auto_router.js.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts +36 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.js +56 -0
- package/dist/services/aws_comprehend_medical_pass_through.js.map +1 -0
- package/dist/services/azure_ai_pass_through.d.ts +70 -0
- package/dist/services/azure_ai_pass_through.d.ts.map +1 -0
- package/dist/services/azure_ai_pass_through.js +112 -0
- package/dist/services/azure_ai_pass_through.js.map +1 -0
- package/dist/services/azure_pass_through.d.ts +70 -0
- package/dist/services/azure_pass_through.d.ts.map +1 -0
- package/dist/services/azure_pass_through.js +107 -0
- package/dist/services/azure_pass_through.js.map +1 -0
- package/dist/services/batch.d.ts +165 -0
- package/dist/services/batch.d.ts.map +1 -0
- package/dist/services/batch.js +265 -0
- package/dist/services/batch.js.map +1 -0
- package/dist/services/bedrock_pass_through.d.ts +70 -0
- package/dist/services/bedrock_pass_through.d.ts.map +1 -0
- package/dist/services/bedrock_pass_through.js +114 -0
- package/dist/services/bedrock_pass_through.js.map +1 -0
- package/dist/services/beta_agents.d.ts +199 -0
- package/dist/services/beta_agents.d.ts.map +1 -0
- package/dist/services/beta_agents.js +151 -0
- package/dist/services/beta_agents.js.map +1 -0
- package/dist/services/beta_mcp.d.ts +37 -0
- package/dist/services/beta_mcp.d.ts.map +1 -0
- package/dist/services/beta_mcp.js +40 -0
- package/dist/services/beta_mcp.js.map +1 -0
- package/dist/services/budget_management.d.ts +185 -0
- package/dist/services/budget_management.d.ts.map +1 -0
- package/dist/services/budget_management.js +196 -0
- package/dist/services/budget_management.js.map +1 -0
- package/dist/services/budget_spend_tracking.d.ts +967 -0
- package/dist/services/budget_spend_tracking.d.ts.map +1 -0
- package/dist/services/budget_spend_tracking.js +1103 -0
- package/dist/services/budget_spend_tracking.js.map +1 -0
- package/dist/services/cache_settings.d.ts +96 -0
- package/dist/services/cache_settings.d.ts.map +1 -0
- package/dist/services/cache_settings.js +95 -0
- package/dist/services/cache_settings.js.map +1 -0
- package/dist/services/caching.d.ts +54 -0
- package/dist/services/caching.d.ts.map +1 -0
- package/dist/services/caching.js +78 -0
- package/dist/services/caching.js.map +1 -0
- package/dist/services/chat_completions.d.ts +656 -0
- package/dist/services/chat_completions.d.ts.map +1 -0
- package/dist/services/chat_completions.js +590 -0
- package/dist/services/chat_completions.js.map +1 -0
- package/dist/services/claude_code_marketplace.d.ts +212 -0
- package/dist/services/claude_code_marketplace.d.ts.map +1 -0
- package/dist/services/claude_code_marketplace.js +248 -0
- package/dist/services/claude_code_marketplace.js.map +1 -0
- package/dist/services/cloudzero.d.ts +117 -0
- package/dist/services/cloudzero.d.ts.map +1 -0
- package/dist/services/cloudzero.js +130 -0
- package/dist/services/cloudzero.js.map +1 -0
- package/dist/services/cohere_pass_through.d.ts +70 -0
- package/dist/services/cohere_pass_through.d.ts.map +1 -0
- package/dist/services/cohere_pass_through.js +112 -0
- package/dist/services/cohere_pass_through.js.map +1 -0
- package/dist/services/completions.d.ts +59 -0
- package/dist/services/completions.d.ts.map +1 -0
- package/dist/services/completions.js +98 -0
- package/dist/services/completions.js.map +1 -0
- package/dist/services/compliance.d.ts +66 -0
- package/dist/services/compliance.d.ts.map +1 -0
- package/dist/services/compliance.js +74 -0
- package/dist/services/compliance.js.map +1 -0
- package/dist/services/config_overrides.d.ts +157 -0
- package/dist/services/config_overrides.d.ts.map +1 -0
- package/dist/services/config_overrides.js +207 -0
- package/dist/services/config_overrides.js.map +1 -0
- package/dist/services/config_yaml.d.ts +647 -0
- package/dist/services/config_yaml.d.ts.map +1 -0
- package/dist/services/config_yaml.js +504 -0
- package/dist/services/config_yaml.js.map +1 -0
- package/dist/services/containers.d.ts +215 -0
- package/dist/services/containers.d.ts.map +1 -0
- package/dist/services/containers.js +416 -0
- package/dist/services/containers.js.map +1 -0
- package/dist/services/coordination_redis_settings.d.ts +93 -0
- package/dist/services/coordination_redis_settings.d.ts.map +1 -0
- package/dist/services/coordination_redis_settings.js +104 -0
- package/dist/services/coordination_redis_settings.js.map +1 -0
- package/dist/services/cost_tracking.d.ts +140 -0
- package/dist/services/cost_tracking.d.ts.map +1 -0
- package/dist/services/cost_tracking.js +181 -0
- package/dist/services/cost_tracking.js.map +1 -0
- package/dist/services/credential_management.d.ts +133 -0
- package/dist/services/credential_management.d.ts.map +1 -0
- package/dist/services/credential_management.js +198 -0
- package/dist/services/credential_management.js.map +1 -0
- package/dist/services/cursor_pass_through.d.ts +70 -0
- package/dist/services/cursor_pass_through.d.ts.map +1 -0
- package/dist/services/cursor_pass_through.js +112 -0
- package/dist/services/cursor_pass_through.js.map +1 -0
- package/dist/services/customer_management.d.ts +545 -0
- package/dist/services/customer_management.d.ts.map +1 -0
- package/dist/services/customer_management.js +567 -0
- package/dist/services/customer_management.js.map +1 -0
- package/dist/services/email_management.d.ts +57 -0
- package/dist/services/email_management.d.ts.map +1 -0
- package/dist/services/email_management.js +79 -0
- package/dist/services/email_management.js.map +1 -0
- package/dist/services/embeddings.d.ts +155 -0
- package/dist/services/embeddings.d.ts.map +1 -0
- package/dist/services/embeddings.js +168 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/evals.d.ts +245 -0
- package/dist/services/evals.d.ts.map +1 -0
- package/dist/services/evals.js +292 -0
- package/dist/services/evals.js.map +1 -0
- package/dist/services/experimental.d.ts +166 -0
- package/dist/services/experimental.d.ts.map +1 -0
- package/dist/services/experimental.js +265 -0
- package/dist/services/experimental.js.map +1 -0
- package/dist/services/fallback_management.d.ts +91 -0
- package/dist/services/fallback_management.d.ts.map +1 -0
- package/dist/services/fallback_management.js +86 -0
- package/dist/services/fallback_management.js.map +1 -0
- package/dist/services/files.d.ts +219 -0
- package/dist/services/files.d.ts.map +1 -0
- package/dist/services/files.js +358 -0
- package/dist/services/files.js.map +1 -0
- package/dist/services/fine_tuning.d.ts +155 -0
- package/dist/services/fine_tuning.d.ts.map +1 -0
- package/dist/services/fine_tuning.js +232 -0
- package/dist/services/fine_tuning.js.map +1 -0
- package/dist/services/gemini_agents.d.ts +68 -0
- package/dist/services/gemini_agents.d.ts.map +1 -0
- package/dist/services/gemini_agents.js +110 -0
- package/dist/services/gemini_agents.js.map +1 -0
- package/dist/services/google_ai_studio_pass_through.d.ts +70 -0
- package/dist/services/google_ai_studio_pass_through.d.ts.map +1 -0
- package/dist/services/google_ai_studio_pass_through.js +112 -0
- package/dist/services/google_ai_studio_pass_through.js.map +1 -0
- package/dist/services/google_genai_endpoints.d.ts +174 -0
- package/dist/services/google_genai_endpoints.d.ts.map +1 -0
- package/dist/services/google_genai_endpoints.js +340 -0
- package/dist/services/google_genai_endpoints.js.map +1 -0
- package/dist/services/guardrails.d.ts +1221 -0
- package/dist/services/guardrails.d.ts.map +1 -0
- package/dist/services/guardrails.js +1087 -0
- package/dist/services/guardrails.js.map +1 -0
- package/dist/services/health.d.ts +212 -0
- package/dist/services/health.d.ts.map +1 -0
- package/dist/services/health.js +309 -0
- package/dist/services/health.js.map +1 -0
- package/dist/services/images.d.ts +117 -0
- package/dist/services/images.d.ts.map +1 -0
- package/dist/services/images.js +184 -0
- package/dist/services/images.js.map +1 -0
- package/dist/services/index.d.ts +106 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +107 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/internal_user_management.d.ts +1062 -0
- package/dist/services/internal_user_management.d.ts.map +1 -0
- package/dist/services/internal_user_management.js +850 -0
- package/dist/services/internal_user_management.js.map +1 -0
- package/dist/services/invite_links.d.ts +56 -0
- package/dist/services/invite_links.d.ts.map +1 -0
- package/dist/services/invite_links.js +82 -0
- package/dist/services/invite_links.js.map +1 -0
- package/dist/services/jwt_mappings.d.ts +79 -0
- package/dist/services/jwt_mappings.d.ts.map +1 -0
- package/dist/services/jwt_mappings.js +116 -0
- package/dist/services/jwt_mappings.js.map +1 -0
- package/dist/services/key_management.d.ts +1640 -0
- package/dist/services/key_management.d.ts.map +1 -0
- package/dist/services/key_management.js +1344 -0
- package/dist/services/key_management.js.map +1 -0
- package/dist/services/langfuse_passthrough.d.ts +70 -0
- package/dist/services/langfuse_passthrough.d.ts.map +1 -0
- package/dist/services/langfuse_passthrough.js +114 -0
- package/dist/services/langfuse_passthrough.js.map +1 -0
- package/dist/services/llm_utils.d.ts +101 -0
- package/dist/services/llm_utils.d.ts.map +1 -0
- package/dist/services/llm_utils.js +110 -0
- package/dist/services/llm_utils.js.map +1 -0
- package/dist/services/logging_callbacks.d.ts +33 -0
- package/dist/services/logging_callbacks.d.ts.map +1 -0
- package/dist/services/logging_callbacks.js +46 -0
- package/dist/services/logging_callbacks.js.map +1 -0
- package/dist/services/mcp_byok_oauth.d.ts +112 -0
- package/dist/services/mcp_byok_oauth.d.ts.map +1 -0
- package/dist/services/mcp_byok_oauth.js +226 -0
- package/dist/services/mcp_byok_oauth.js.map +1 -0
- package/dist/services/mcp_discoverable.d.ts +197 -0
- package/dist/services/mcp_discoverable.d.ts.map +1 -0
- package/dist/services/mcp_discoverable.js +304 -0
- package/dist/services/mcp_discoverable.js.map +1 -0
- package/dist/services/mcp_management.d.ts +956 -0
- package/dist/services/mcp_management.d.ts.map +1 -0
- package/dist/services/mcp_management.js +1139 -0
- package/dist/services/mcp_management.js.map +1 -0
- package/dist/services/mcp_rest.d.ts +281 -0
- package/dist/services/mcp_rest.d.ts.map +1 -0
- package/dist/services/mcp_rest.js +269 -0
- package/dist/services/mcp_rest.js.map +1 -0
- package/dist/services/memory_management.d.ts +93 -0
- package/dist/services/memory_management.d.ts.map +1 -0
- package/dist/services/memory_management.js +117 -0
- package/dist/services/memory_management.js.map +1 -0
- package/dist/services/milvus_pass_through.d.ts +70 -0
- package/dist/services/milvus_pass_through.d.ts.map +1 -0
- package/dist/services/milvus_pass_through.js +112 -0
- package/dist/services/milvus_pass_through.js.map +1 -0
- package/dist/services/misc.d.ts +676 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +954 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mistral_pass_through.d.ts +70 -0
- package/dist/services/mistral_pass_through.d.ts.map +1 -0
- package/dist/services/mistral_pass_through.js +114 -0
- package/dist/services/mistral_pass_through.js.map +1 -0
- package/dist/services/model_management.d.ts +1649 -0
- package/dist/services/model_management.d.ts.map +1 -0
- package/dist/services/model_management.js +1805 -0
- package/dist/services/model_management.js.map +1 -0
- package/dist/services/moderations.d.ts +25 -0
- package/dist/services/moderations.d.ts.map +1 -0
- package/dist/services/moderations.js +39 -0
- package/dist/services/moderations.js.map +1 -0
- package/dist/services/ocr.d.ts +25 -0
- package/dist/services/ocr.d.ts.map +1 -0
- package/dist/services/ocr.js +39 -0
- package/dist/services/ocr.js.map +1 -0
- package/dist/services/open_ai_pass_through.d.ts +125 -0
- package/dist/services/open_ai_pass_through.d.ts.map +1 -0
- package/dist/services/open_ai_pass_through.js +232 -0
- package/dist/services/open_ai_pass_through.js.map +1 -0
- package/dist/services/organization_management.d.ts +664 -0
- package/dist/services/organization_management.d.ts.map +1 -0
- package/dist/services/organization_management.js +644 -0
- package/dist/services/organization_management.js.map +1 -0
- package/dist/services/plugins.d.ts +106 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +180 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +618 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +616 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/policy_engine.d.ts +483 -0
- package/dist/services/policy_engine.d.ts.map +1 -0
- package/dist/services/policy_engine.js +501 -0
- package/dist/services/policy_engine.js.map +1 -0
- package/dist/services/project_management.d.ts +356 -0
- package/dist/services/project_management.d.ts.map +1 -0
- package/dist/services/project_management.js +318 -0
- package/dist/services/project_management.js.map +1 -0
- package/dist/services/prompts.d.ts +193 -0
- package/dist/services/prompts.d.ts.map +1 -0
- package/dist/services/prompts.js +260 -0
- package/dist/services/prompts.js.map +1 -0
- package/dist/services/public.d.ts +300 -0
- package/dist/services/public.d.ts.map +1 -0
- package/dist/services/public.js +362 -0
- package/dist/services/public.js.map +1 -0
- package/dist/services/rag.d.ts +45 -0
- package/dist/services/rag.d.ts.map +1 -0
- package/dist/services/rag.js +71 -0
- package/dist/services/rag.js.map +1 -0
- package/dist/services/realtime.d.ts +91 -0
- package/dist/services/realtime.d.ts.map +1 -0
- package/dist/services/realtime.js +164 -0
- package/dist/services/realtime.js.map +1 -0
- package/dist/services/rerank.d.ts +35 -0
- package/dist/services/rerank.d.ts.map +1 -0
- package/dist/services/rerank.js +55 -0
- package/dist/services/rerank.js.map +1 -0
- package/dist/services/responses.d.ts +237 -0
- package/dist/services/responses.d.ts.map +1 -0
- package/dist/services/responses.js +445 -0
- package/dist/services/responses.js.map +1 -0
- package/dist/services/router_settings.d.ts +67 -0
- package/dist/services/router_settings.d.ts.map +1 -0
- package/dist/services/router_settings.js +63 -0
- package/dist/services/router_settings.js.map +1 -0
- package/dist/services/rust_control_plane.d.ts +52 -0
- package/dist/services/rust_control_plane.d.ts.map +1 -0
- package/dist/services/rust_control_plane.js +54 -0
- package/dist/services/rust_control_plane.js.map +1 -0
- package/dist/services/scim.d.ts +412 -0
- package/dist/services/scim.d.ts.map +1 -0
- package/dist/services/scim.js +519 -0
- package/dist/services/scim.js.map +1 -0
- package/dist/services/search.d.ts +79 -0
- package/dist/services/search.d.ts.map +1 -0
- package/dist/services/search.js +122 -0
- package/dist/services/search.js.map +1 -0
- package/dist/services/search_tools.d.ts +140 -0
- package/dist/services/search_tools.d.ts.map +1 -0
- package/dist/services/search_tools.js +201 -0
- package/dist/services/search_tools.js.map +1 -0
- package/dist/services/settings.d.ts +53 -0
- package/dist/services/settings.d.ts.map +1 -0
- package/dist/services/settings.js +67 -0
- package/dist/services/settings.js.map +1 -0
- package/dist/services/sso_settings.d.ts +239 -0
- package/dist/services/sso_settings.d.ts.map +1 -0
- package/dist/services/sso_settings.js +214 -0
- package/dist/services/sso_settings.js.map +1 -0
- package/dist/services/tag_management.d.ts +390 -0
- package/dist/services/tag_management.d.ts.map +1 -0
- package/dist/services/tag_management.js +407 -0
- package/dist/services/tag_management.js.map +1 -0
- package/dist/services/team_management.d.ts +1502 -0
- package/dist/services/team_management.d.ts.map +1 -0
- package/dist/services/team_management.js +1429 -0
- package/dist/services/team_management.js.map +1 -0
- package/dist/services/tools.d.ts +227 -0
- package/dist/services/tools.d.ts.map +1 -0
- package/dist/services/tools.js +266 -0
- package/dist/services/tools.js.map +1 -0
- package/dist/services/ui_settings.d.ts +90 -0
- package/dist/services/ui_settings.d.ts.map +1 -0
- package/dist/services/ui_settings.js +96 -0
- package/dist/services/ui_settings.js.map +1 -0
- package/dist/services/ui_theme_settings.d.ts +62 -0
- package/dist/services/ui_theme_settings.d.ts.map +1 -0
- package/dist/services/ui_theme_settings.js +79 -0
- package/dist/services/ui_theme_settings.js.map +1 -0
- package/dist/services/usage_ai.d.ts +39 -0
- package/dist/services/usage_ai.d.ts.map +1 -0
- package/dist/services/usage_ai.js +40 -0
- package/dist/services/usage_ai.js.map +1 -0
- package/dist/services/vantage.d.ts +108 -0
- package/dist/services/vantage.d.ts.map +1 -0
- package/dist/services/vantage.js +124 -0
- package/dist/services/vantage.js.map +1 -0
- package/dist/services/vector_store_management.d.ts +161 -0
- package/dist/services/vector_store_management.d.ts.map +1 -0
- package/dist/services/vector_store_management.js +191 -0
- package/dist/services/vector_store_management.js.map +1 -0
- package/dist/services/vector_stores.d.ts +342 -0
- package/dist/services/vector_stores.d.ts.map +1 -0
- package/dist/services/vector_stores.js +639 -0
- package/dist/services/vector_stores.js.map +1 -0
- package/dist/services/vertex_ai_pass_through.d.ts +180 -0
- package/dist/services/vertex_ai_pass_through.d.ts.map +1 -0
- package/dist/services/vertex_ai_pass_through.js +334 -0
- package/dist/services/vertex_ai_pass_through.js.map +1 -0
- package/dist/services/videos.d.ts +207 -0
- package/dist/services/videos.d.ts.map +1 -0
- package/dist/services/videos.js +373 -0
- package/dist/services/videos.js.map +1 -0
- package/dist/services/vllm_pass_through.d.ts +70 -0
- package/dist/services/vllm_pass_through.d.ts.map +1 -0
- package/dist/services/vllm_pass_through.js +104 -0
- package/dist/services/vllm_pass_through.js.map +1 -0
- package/dist/services/watsonx_pass_through.d.ts +70 -0
- package/dist/services/watsonx_pass_through.d.ts.map +1 -0
- package/dist/services/watsonx_pass_through.js +114 -0
- package/dist/services/watsonx_pass_through.js.map +1 -0
- package/dist/services/web_socket.d.ts +77 -0
- package/dist/services/web_socket.d.ts.map +1 -0
- package/dist/services/web_socket.js +135 -0
- package/dist/services/web_socket.js.map +1 -0
- package/dist/services/workflow_management.d.ts +140 -0
- package/dist/services/workflow_management.d.ts.map +1 -0
- package/dist/services/workflow_management.js +220 -0
- package/dist/services/workflow_management.js.map +1 -0
- package/dist/traits.d.ts +14 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +15 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.ts +97 -0
- package/src/errors.ts +108 -0
- package/src/index.ts +33 -0
- package/src/protocol.ts +160 -0
- package/src/retry.ts +74 -0
- package/src/services/a2a.ts +250 -0
- package/src/services/a2a_registration.ts +94 -0
- package/src/services/access_groups.ts +716 -0
- package/src/services/adaptive_router.ts +49 -0
- package/src/services/agents.ts +1314 -0
- package/src/services/alerting.ts +49 -0
- package/src/services/anthropic_pass_through.ts +233 -0
- package/src/services/anthropic_passthrough.ts +123 -0
- package/src/services/anthropic_skills.ts +200 -0
- package/src/services/assembly_ai_eu_pass_through.ts +237 -0
- package/src/services/assembly_ai_pass_through.ts +237 -0
- package/src/services/assistants.ts +685 -0
- package/src/services/audio.ts +189 -0
- package/src/services/audit_logging.ts +194 -0
- package/src/services/auto_router.ts +625 -0
- package/src/services/aws_comprehend_medical_pass_through.ts +109 -0
- package/src/services/azure_ai_pass_through.ts +231 -0
- package/src/services/azure_pass_through.ts +227 -0
- package/src/services/batch.ts +553 -0
- package/src/services/bedrock_pass_through.ts +229 -0
- package/src/services/beta_agents.ts +444 -0
- package/src/services/beta_mcp.ts +105 -0
- package/src/services/budget_management.ts +465 -0
- package/src/services/budget_spend_tracking.ts +2670 -0
- package/src/services/cache_settings.ts +234 -0
- package/src/services/caching.ts +175 -0
- package/src/services/chat_completions.ts +1788 -0
- package/src/services/claude_code_marketplace.ts +569 -0
- package/src/services/cloudzero.ts +297 -0
- package/src/services/cohere_pass_through.ts +227 -0
- package/src/services/completions.ts +194 -0
- package/src/services/compliance.ts +175 -0
- package/src/services/config_overrides.ts +466 -0
- package/src/services/config_yaml.ts +1537 -0
- package/src/services/containers.ts +848 -0
- package/src/services/coordination_redis_settings.ts +251 -0
- package/src/services/cost_tracking.ts +407 -0
- package/src/services/credential_management.ts +436 -0
- package/src/services/cursor_pass_through.ts +227 -0
- package/src/services/customer_management.ts +1475 -0
- package/src/services/email_management.ts +171 -0
- package/src/services/embeddings.ts +424 -0
- package/src/services/evals.ts +672 -0
- package/src/services/experimental.ts +572 -0
- package/src/services/fallback_management.ts +224 -0
- package/src/services/files.ts +732 -0
- package/src/services/fine_tuning.ts +547 -0
- package/src/services/gemini_agents.ts +227 -0
- package/src/services/google_ai_studio_pass_through.ts +227 -0
- package/src/services/google_genai_endpoints.ts +688 -0
- package/src/services/guardrails.ts +3006 -0
- package/src/services/health.ts +713 -0
- package/src/services/images.ts +430 -0
- package/src/services/index.ts +106 -0
- package/src/services/internal_user_management.ts +2574 -0
- package/src/services/invite_links.ts +167 -0
- package/src/services/jwt_mappings.ts +238 -0
- package/src/services/key_management.ts +4162 -0
- package/src/services/langfuse_passthrough.ts +231 -0
- package/src/services/llm_utils.ts +429 -0
- package/src/services/logging_callbacks.ts +104 -0
- package/src/services/mcp_byok_oauth.ts +468 -0
- package/src/services/mcp_discoverable.ts +626 -0
- package/src/services/mcp_management.ts +2915 -0
- package/src/services/mcp_rest.ts +779 -0
- package/src/services/memory_management.ts +248 -0
- package/src/services/milvus_pass_through.ts +227 -0
- package/src/services/misc.ts +2128 -0
- package/src/services/mistral_pass_through.ts +229 -0
- package/src/services/model_management.ts +4501 -0
- package/src/services/moderations.ts +80 -0
- package/src/services/ocr.ts +78 -0
- package/src/services/open_ai_pass_through.ts +462 -0
- package/src/services/organization_management.ts +1749 -0
- package/src/services/plugins.ts +367 -0
- package/src/services/policies.ts +1676 -0
- package/src/services/policy_engine.ts +1318 -0
- package/src/services/project_management.ts +938 -0
- package/src/services/prompts.ts +592 -0
- package/src/services/public.ts +880 -0
- package/src/services/rag.ts +148 -0
- package/src/services/realtime.ts +350 -0
- package/src/services/rerank.ts +111 -0
- package/src/services/responses.ts +909 -0
- package/src/services/router_settings.ts +168 -0
- package/src/services/rust_control_plane.ts +123 -0
- package/src/services/scim.ts +1243 -0
- package/src/services/search.ts +260 -0
- package/src/services/search_tools.ts +439 -0
- package/src/services/settings.ts +146 -0
- package/src/services/sso_settings.ts +626 -0
- package/src/services/tag_management.ts +1004 -0
- package/src/services/team_management.ts +3990 -0
- package/src/services/tools.ts +628 -0
- package/src/services/ui_settings.ts +237 -0
- package/src/services/ui_theme_settings.ts +173 -0
- package/src/services/usage_ai.ts +86 -0
- package/src/services/vantage.ts +283 -0
- package/src/services/vector_store_management.ts +454 -0
- package/src/services/vector_stores.ts +1321 -0
- package/src/services/vertex_ai_pass_through.ts +684 -0
- package/src/services/videos.ts +762 -0
- package/src/services/vllm_pass_through.ts +227 -0
- package/src/services/watsonx_pass_through.ts +229 -0
- package/src/services/web_socket.ts +254 -0
- package/src/services/workflow_management.ts +482 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as C from "@distilled.cloud/core/category";
|
|
5
|
+
import * as T from "../traits.ts";
|
|
6
|
+
import {
|
|
7
|
+
LitellmProtocol,
|
|
8
|
+
type LitellmOpError,
|
|
9
|
+
type LitellmOpContext,
|
|
10
|
+
} from "../protocol.ts";
|
|
11
|
+
import * as Retry from "../retry.ts";
|
|
12
|
+
|
|
13
|
+
export type { LitellmOpError, LitellmOpContext };
|
|
14
|
+
|
|
15
|
+
export class UnprocessableEntity
|
|
16
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
|
+
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
18
|
+
code: S.Number,
|
|
19
|
+
message: S.String,
|
|
20
|
+
}).pipe(C.withBadRequestError),
|
|
21
|
+
[{ status: 422 }],
|
|
22
|
+
) {}
|
|
23
|
+
|
|
24
|
+
export interface GetCacheSettingsCacheSettingsGetRequest {}
|
|
25
|
+
export const GetCacheSettingsCacheSettingsGetRequest = /*@__PURE__*/ S.suspend(
|
|
26
|
+
() =>
|
|
27
|
+
S.Struct({}).pipe(
|
|
28
|
+
T.Http({ method: "GET", uri: "/cache/settings", code: 200 }),
|
|
29
|
+
),
|
|
30
|
+
).annotate({
|
|
31
|
+
identifier: "GetCacheSettingsCacheSettingsGetRequest",
|
|
32
|
+
}) as any as S.Schema<GetCacheSettingsCacheSettingsGetRequest>;
|
|
33
|
+
|
|
34
|
+
/** Current values of cache settings */
|
|
35
|
+
export type CacheSettingsResponseCurrentValuesMap = {
|
|
36
|
+
[key: string]: unknown | undefined;
|
|
37
|
+
};
|
|
38
|
+
export const CacheSettingsResponseCurrentValuesMap = /*@__PURE__*/ S.Record(
|
|
39
|
+
S.String,
|
|
40
|
+
S.Unknown,
|
|
41
|
+
) as any as S.Schema<CacheSettingsResponseCurrentValuesMap>;
|
|
42
|
+
|
|
43
|
+
export type CacheSettingsFieldOptionsList = Array<string>;
|
|
44
|
+
export const CacheSettingsFieldOptionsList = /*@__PURE__*/ S.Array(
|
|
45
|
+
S.String,
|
|
46
|
+
) as any as S.Schema<CacheSettingsFieldOptionsList>;
|
|
47
|
+
|
|
48
|
+
export interface CacheSettingsField {
|
|
49
|
+
field_default?: unknown;
|
|
50
|
+
field_description: string;
|
|
51
|
+
field_name: string;
|
|
52
|
+
field_type: string;
|
|
53
|
+
field_value: unknown;
|
|
54
|
+
link?: string | null;
|
|
55
|
+
options?: CacheSettingsFieldOptionsList | null;
|
|
56
|
+
redis_type?: string | null;
|
|
57
|
+
ui_field_name: string;
|
|
58
|
+
}
|
|
59
|
+
export const CacheSettingsField = /*@__PURE__*/ S.suspend(() =>
|
|
60
|
+
S.Struct({
|
|
61
|
+
field_default: S.optional(S.Unknown),
|
|
62
|
+
field_description: S.String,
|
|
63
|
+
field_name: S.String,
|
|
64
|
+
field_type: S.String,
|
|
65
|
+
field_value: S.Unknown,
|
|
66
|
+
link: S.optional(S.NullOr(S.String)),
|
|
67
|
+
options: S.optional(S.NullOr(CacheSettingsFieldOptionsList)),
|
|
68
|
+
redis_type: S.optional(S.NullOr(S.String)),
|
|
69
|
+
ui_field_name: S.String,
|
|
70
|
+
}),
|
|
71
|
+
).annotate({
|
|
72
|
+
identifier: "CacheSettingsField",
|
|
73
|
+
}) as any as S.Schema<CacheSettingsField>;
|
|
74
|
+
|
|
75
|
+
/** List of all configurable cache settings with metadata */
|
|
76
|
+
export type CacheSettingsResponseFieldsList = Array<CacheSettingsField>;
|
|
77
|
+
export const CacheSettingsResponseFieldsList = /*@__PURE__*/ S.Array(
|
|
78
|
+
CacheSettingsField,
|
|
79
|
+
) as any as S.Schema<CacheSettingsResponseFieldsList>;
|
|
80
|
+
|
|
81
|
+
/** Descriptions for each Redis type option */
|
|
82
|
+
export type CacheSettingsResponseRedisTypeDescriptionsMap = {
|
|
83
|
+
[key: string]: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
export const CacheSettingsResponseRedisTypeDescriptionsMap =
|
|
86
|
+
/*@__PURE__*/ S.Record(
|
|
87
|
+
S.String,
|
|
88
|
+
S.String,
|
|
89
|
+
) as any as S.Schema<CacheSettingsResponseRedisTypeDescriptionsMap>;
|
|
90
|
+
|
|
91
|
+
export interface CacheSettingsResponse {
|
|
92
|
+
/** Current values of cache settings */
|
|
93
|
+
current_values: CacheSettingsResponseCurrentValuesMap;
|
|
94
|
+
/** List of all configurable cache settings with metadata */
|
|
95
|
+
fields: CacheSettingsResponseFieldsList;
|
|
96
|
+
/** Descriptions for each Redis type option */
|
|
97
|
+
redis_type_descriptions: CacheSettingsResponseRedisTypeDescriptionsMap;
|
|
98
|
+
}
|
|
99
|
+
export const CacheSettingsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
100
|
+
S.Struct({
|
|
101
|
+
current_values: CacheSettingsResponseCurrentValuesMap,
|
|
102
|
+
fields: CacheSettingsResponseFieldsList,
|
|
103
|
+
redis_type_descriptions: CacheSettingsResponseRedisTypeDescriptionsMap,
|
|
104
|
+
}),
|
|
105
|
+
).annotate({
|
|
106
|
+
identifier: "CacheSettingsResponse",
|
|
107
|
+
}) as any as S.Schema<CacheSettingsResponse>;
|
|
108
|
+
|
|
109
|
+
/** Cache settings to test connection with */
|
|
110
|
+
export type PostTestCacheConnectionCacheSettingsTestRequestCacheSettingsMap = {
|
|
111
|
+
[key: string]: unknown | undefined;
|
|
112
|
+
};
|
|
113
|
+
export const PostTestCacheConnectionCacheSettingsTestRequestCacheSettingsMap =
|
|
114
|
+
/*@__PURE__*/ S.Record(
|
|
115
|
+
S.String,
|
|
116
|
+
S.Unknown,
|
|
117
|
+
) as any as S.Schema<PostTestCacheConnectionCacheSettingsTestRequestCacheSettingsMap>;
|
|
118
|
+
|
|
119
|
+
export interface PostTestCacheConnectionCacheSettingsTestRequest {
|
|
120
|
+
/** Cache settings to test connection with */
|
|
121
|
+
cache_settings: PostTestCacheConnectionCacheSettingsTestRequestCacheSettingsMap;
|
|
122
|
+
}
|
|
123
|
+
export const PostTestCacheConnectionCacheSettingsTestRequest =
|
|
124
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
125
|
+
S.Struct({
|
|
126
|
+
cache_settings:
|
|
127
|
+
PostTestCacheConnectionCacheSettingsTestRequestCacheSettingsMap,
|
|
128
|
+
}).pipe(T.Http({ method: "POST", uri: "/cache/settings/test", code: 200 })),
|
|
129
|
+
).annotate({
|
|
130
|
+
identifier: "PostTestCacheConnectionCacheSettingsTestRequest",
|
|
131
|
+
}) as any as S.Schema<PostTestCacheConnectionCacheSettingsTestRequest>;
|
|
132
|
+
|
|
133
|
+
export interface CacheTestResponse {
|
|
134
|
+
/** Error message if connection failed */
|
|
135
|
+
error?: string | null;
|
|
136
|
+
/** Connection result message */
|
|
137
|
+
message: string;
|
|
138
|
+
/** Connection status: 'success' or 'failed' */
|
|
139
|
+
status: string;
|
|
140
|
+
}
|
|
141
|
+
export const CacheTestResponse = /*@__PURE__*/ S.suspend(() =>
|
|
142
|
+
S.Struct({
|
|
143
|
+
error: S.optional(S.NullOr(S.String)),
|
|
144
|
+
message: S.String,
|
|
145
|
+
status: S.String,
|
|
146
|
+
}),
|
|
147
|
+
).annotate({
|
|
148
|
+
identifier: "CacheTestResponse",
|
|
149
|
+
}) as any as S.Schema<CacheTestResponse>;
|
|
150
|
+
|
|
151
|
+
/** Cache settings to save */
|
|
152
|
+
export type UpdateCacheSettingsCacheSettingsPostRequestCacheSettingsMap = {
|
|
153
|
+
[key: string]: unknown | undefined;
|
|
154
|
+
};
|
|
155
|
+
export const UpdateCacheSettingsCacheSettingsPostRequestCacheSettingsMap =
|
|
156
|
+
/*@__PURE__*/ S.Record(
|
|
157
|
+
S.String,
|
|
158
|
+
S.Unknown,
|
|
159
|
+
) as any as S.Schema<UpdateCacheSettingsCacheSettingsPostRequestCacheSettingsMap>;
|
|
160
|
+
|
|
161
|
+
export interface UpdateCacheSettingsCacheSettingsPostRequest {
|
|
162
|
+
/** Cache settings to save */
|
|
163
|
+
cache_settings: UpdateCacheSettingsCacheSettingsPostRequestCacheSettingsMap;
|
|
164
|
+
}
|
|
165
|
+
export const UpdateCacheSettingsCacheSettingsPostRequest =
|
|
166
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
167
|
+
S.Struct({
|
|
168
|
+
cache_settings:
|
|
169
|
+
UpdateCacheSettingsCacheSettingsPostRequestCacheSettingsMap,
|
|
170
|
+
}).pipe(T.Http({ method: "POST", uri: "/cache/settings", code: 200 })),
|
|
171
|
+
).annotate({
|
|
172
|
+
identifier: "UpdateCacheSettingsCacheSettingsPostRequest",
|
|
173
|
+
}) as any as S.Schema<UpdateCacheSettingsCacheSettingsPostRequest>;
|
|
174
|
+
|
|
175
|
+
export interface UpdateCacheSettingsCacheSettingsPostResponse {
|
|
176
|
+
body: unknown;
|
|
177
|
+
}
|
|
178
|
+
export const UpdateCacheSettingsCacheSettingsPostResponse =
|
|
179
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
180
|
+
S.Struct({
|
|
181
|
+
body: S.Unknown,
|
|
182
|
+
}),
|
|
183
|
+
).annotate({
|
|
184
|
+
identifier: "UpdateCacheSettingsCacheSettingsPostResponse",
|
|
185
|
+
}) as any as S.Schema<UpdateCacheSettingsCacheSettingsPostResponse>;
|
|
186
|
+
|
|
187
|
+
export type GetCacheSettingsCacheSettingsGetError = LitellmOpError;
|
|
188
|
+
/** Get Cache Settings Get cache configuration and available settings. Returns: - fields: List of all configurable cache settings with their metadata (type, description, default, options) - current_values: Current values of cache settings from database */
|
|
189
|
+
export const getCacheSettingsCacheSettingsGet: API.OperationMethod<
|
|
190
|
+
GetCacheSettingsCacheSettingsGetRequest,
|
|
191
|
+
CacheSettingsResponse,
|
|
192
|
+
GetCacheSettingsCacheSettingsGetError,
|
|
193
|
+
LitellmOpContext
|
|
194
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
195
|
+
input: GetCacheSettingsCacheSettingsGetRequest,
|
|
196
|
+
output: CacheSettingsResponse,
|
|
197
|
+
errors: [],
|
|
198
|
+
protocol: LitellmProtocol,
|
|
199
|
+
retry: Retry.Retry,
|
|
200
|
+
}));
|
|
201
|
+
|
|
202
|
+
export type PostTestCacheConnectionCacheSettingsTestError =
|
|
203
|
+
| UnprocessableEntity
|
|
204
|
+
| LitellmOpError;
|
|
205
|
+
/** Test Cache Connection Test cache connection with provided credentials. Creates a temporary cache instance and uses its test_connection method to verify the credentials work without affecting global state. */
|
|
206
|
+
export const postTestCacheConnectionCacheSettingsTest: API.OperationMethod<
|
|
207
|
+
PostTestCacheConnectionCacheSettingsTestRequest,
|
|
208
|
+
CacheTestResponse,
|
|
209
|
+
PostTestCacheConnectionCacheSettingsTestError,
|
|
210
|
+
LitellmOpContext
|
|
211
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
212
|
+
input: PostTestCacheConnectionCacheSettingsTestRequest,
|
|
213
|
+
output: CacheTestResponse,
|
|
214
|
+
errors: [UnprocessableEntity],
|
|
215
|
+
protocol: LitellmProtocol,
|
|
216
|
+
retry: Retry.Retry,
|
|
217
|
+
}));
|
|
218
|
+
|
|
219
|
+
export type UpdateCacheSettingsCacheSettingsPostError =
|
|
220
|
+
| UnprocessableEntity
|
|
221
|
+
| LitellmOpError;
|
|
222
|
+
/** Update Cache Settings Save cache settings to database and initialize cache. This endpoint: 1. Encrypts sensitive fields (passwords, etc.) 2. Saves to LiteLLM_CacheConfig table 3. Reinitializes cache with new settings */
|
|
223
|
+
export const updateCacheSettingsCacheSettingsPost: API.OperationMethod<
|
|
224
|
+
UpdateCacheSettingsCacheSettingsPostRequest,
|
|
225
|
+
UpdateCacheSettingsCacheSettingsPostResponse,
|
|
226
|
+
UpdateCacheSettingsCacheSettingsPostError,
|
|
227
|
+
LitellmOpContext
|
|
228
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
229
|
+
input: UpdateCacheSettingsCacheSettingsPostRequest,
|
|
230
|
+
output: UpdateCacheSettingsCacheSettingsPostResponse,
|
|
231
|
+
errors: [UnprocessableEntity],
|
|
232
|
+
protocol: LitellmProtocol,
|
|
233
|
+
retry: Retry.Retry,
|
|
234
|
+
}));
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
LitellmProtocol,
|
|
7
|
+
type LitellmOpError,
|
|
8
|
+
type LitellmOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
|
|
12
|
+
export type { LitellmOpError, LitellmOpContext };
|
|
13
|
+
|
|
14
|
+
export interface CacheDeleteCacheDeletePostRequest {}
|
|
15
|
+
export const CacheDeleteCacheDeletePostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
16
|
+
S.Struct({}).pipe(
|
|
17
|
+
T.Http({ method: "POST", uri: "/cache/delete", code: 200 }),
|
|
18
|
+
),
|
|
19
|
+
).annotate({
|
|
20
|
+
identifier: "CacheDeleteCacheDeletePostRequest",
|
|
21
|
+
}) as any as S.Schema<CacheDeleteCacheDeletePostRequest>;
|
|
22
|
+
|
|
23
|
+
export interface CacheDeleteCacheDeletePostResponse {
|
|
24
|
+
body: unknown;
|
|
25
|
+
}
|
|
26
|
+
export const CacheDeleteCacheDeletePostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
27
|
+
S.Struct({
|
|
28
|
+
body: S.Unknown,
|
|
29
|
+
}),
|
|
30
|
+
).annotate({
|
|
31
|
+
identifier: "CacheDeleteCacheDeletePostResponse",
|
|
32
|
+
}) as any as S.Schema<CacheDeleteCacheDeletePostResponse>;
|
|
33
|
+
|
|
34
|
+
export interface GetCachePingCachePingRequest {}
|
|
35
|
+
export const GetCachePingCachePingRequest = /*@__PURE__*/ S.suspend(() =>
|
|
36
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/cache/ping", code: 200 })),
|
|
37
|
+
).annotate({
|
|
38
|
+
identifier: "GetCachePingCachePingRequest",
|
|
39
|
+
}) as any as S.Schema<GetCachePingCachePingRequest>;
|
|
40
|
+
|
|
41
|
+
export type CachePingResponseHealthCheckCacheParamsMap = {
|
|
42
|
+
[key: string]: unknown | undefined;
|
|
43
|
+
};
|
|
44
|
+
export const CachePingResponseHealthCheckCacheParamsMap =
|
|
45
|
+
/*@__PURE__*/ S.Record(
|
|
46
|
+
S.String,
|
|
47
|
+
S.Unknown,
|
|
48
|
+
) as any as S.Schema<CachePingResponseHealthCheckCacheParamsMap>;
|
|
49
|
+
|
|
50
|
+
export interface CachePingResponse {
|
|
51
|
+
cache_type: string;
|
|
52
|
+
health_check_cache_params?: CachePingResponseHealthCheckCacheParamsMap | null;
|
|
53
|
+
litellm_cache_params?: string | null;
|
|
54
|
+
ping_response?: boolean | null;
|
|
55
|
+
set_cache_response?: string | null;
|
|
56
|
+
status: string;
|
|
57
|
+
}
|
|
58
|
+
export const CachePingResponse = /*@__PURE__*/ S.suspend(() =>
|
|
59
|
+
S.Struct({
|
|
60
|
+
cache_type: S.String,
|
|
61
|
+
health_check_cache_params: S.optional(
|
|
62
|
+
S.NullOr(CachePingResponseHealthCheckCacheParamsMap),
|
|
63
|
+
),
|
|
64
|
+
litellm_cache_params: S.optional(S.NullOr(S.String)),
|
|
65
|
+
ping_response: S.optional(S.NullOr(S.Boolean)),
|
|
66
|
+
set_cache_response: S.optional(S.NullOr(S.String)),
|
|
67
|
+
status: S.String,
|
|
68
|
+
}),
|
|
69
|
+
).annotate({
|
|
70
|
+
identifier: "CachePingResponse",
|
|
71
|
+
}) as any as S.Schema<CachePingResponse>;
|
|
72
|
+
|
|
73
|
+
export interface GetCacheRedisInfoCacheRedisInfoRequest {}
|
|
74
|
+
export const GetCacheRedisInfoCacheRedisInfoRequest = /*@__PURE__*/ S.suspend(
|
|
75
|
+
() =>
|
|
76
|
+
S.Struct({}).pipe(
|
|
77
|
+
T.Http({ method: "GET", uri: "/cache/redis/info", code: 200 }),
|
|
78
|
+
),
|
|
79
|
+
).annotate({
|
|
80
|
+
identifier: "GetCacheRedisInfoCacheRedisInfoRequest",
|
|
81
|
+
}) as any as S.Schema<GetCacheRedisInfoCacheRedisInfoRequest>;
|
|
82
|
+
|
|
83
|
+
export interface GetCacheRedisInfoCacheRedisInfoResponse {
|
|
84
|
+
body: unknown;
|
|
85
|
+
}
|
|
86
|
+
export const GetCacheRedisInfoCacheRedisInfoResponse = /*@__PURE__*/ S.suspend(
|
|
87
|
+
() =>
|
|
88
|
+
S.Struct({
|
|
89
|
+
body: S.Unknown,
|
|
90
|
+
}),
|
|
91
|
+
).annotate({
|
|
92
|
+
identifier: "GetCacheRedisInfoCacheRedisInfoResponse",
|
|
93
|
+
}) as any as S.Schema<GetCacheRedisInfoCacheRedisInfoResponse>;
|
|
94
|
+
|
|
95
|
+
export interface PostCacheFlushallCacheFlushallRequest {}
|
|
96
|
+
export const PostCacheFlushallCacheFlushallRequest = /*@__PURE__*/ S.suspend(
|
|
97
|
+
() =>
|
|
98
|
+
S.Struct({}).pipe(
|
|
99
|
+
T.Http({ method: "POST", uri: "/cache/flushall", code: 200 }),
|
|
100
|
+
),
|
|
101
|
+
).annotate({
|
|
102
|
+
identifier: "PostCacheFlushallCacheFlushallRequest",
|
|
103
|
+
}) as any as S.Schema<PostCacheFlushallCacheFlushallRequest>;
|
|
104
|
+
|
|
105
|
+
export interface PostCacheFlushallCacheFlushallResponse {
|
|
106
|
+
body: unknown;
|
|
107
|
+
}
|
|
108
|
+
export const PostCacheFlushallCacheFlushallResponse = /*@__PURE__*/ S.suspend(
|
|
109
|
+
() =>
|
|
110
|
+
S.Struct({
|
|
111
|
+
body: S.Unknown,
|
|
112
|
+
}),
|
|
113
|
+
).annotate({
|
|
114
|
+
identifier: "PostCacheFlushallCacheFlushallResponse",
|
|
115
|
+
}) as any as S.Schema<PostCacheFlushallCacheFlushallResponse>;
|
|
116
|
+
|
|
117
|
+
export type CacheDeleteCacheDeletePostError = LitellmOpError;
|
|
118
|
+
/** Cache Delete Endpoint for deleting a key from the cache. All responses from litellm proxy have `x-litellm-cache-key` in the headers Parameters: - **keys**: *Optional[List[str]]* - A list of keys to delete from the cache. Example {"keys": ["key1", "key2"]} ```shell curl -X POST "http://0.0.0.0:4000/cache/delete" -H "Authorization: Bearer sk-1234" -d '{"keys": ["key1", "key2"]}' ``` */
|
|
119
|
+
export const cacheDeleteCacheDeletePost: API.OperationMethod<
|
|
120
|
+
CacheDeleteCacheDeletePostRequest,
|
|
121
|
+
CacheDeleteCacheDeletePostResponse,
|
|
122
|
+
CacheDeleteCacheDeletePostError,
|
|
123
|
+
LitellmOpContext
|
|
124
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
125
|
+
input: CacheDeleteCacheDeletePostRequest,
|
|
126
|
+
output: CacheDeleteCacheDeletePostResponse,
|
|
127
|
+
errors: [],
|
|
128
|
+
protocol: LitellmProtocol,
|
|
129
|
+
retry: Retry.Retry,
|
|
130
|
+
}));
|
|
131
|
+
|
|
132
|
+
export type GetCachePingCachePingError = LitellmOpError;
|
|
133
|
+
/** Cache Ping Endpoint for checking if cache can be pinged */
|
|
134
|
+
export const getCachePingCachePing: API.OperationMethod<
|
|
135
|
+
GetCachePingCachePingRequest,
|
|
136
|
+
CachePingResponse,
|
|
137
|
+
GetCachePingCachePingError,
|
|
138
|
+
LitellmOpContext
|
|
139
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
140
|
+
input: GetCachePingCachePingRequest,
|
|
141
|
+
output: CachePingResponse,
|
|
142
|
+
errors: [],
|
|
143
|
+
protocol: LitellmProtocol,
|
|
144
|
+
retry: Retry.Retry,
|
|
145
|
+
}));
|
|
146
|
+
|
|
147
|
+
export type GetCacheRedisInfoCacheRedisInfoError = LitellmOpError;
|
|
148
|
+
/** Cache Redis Info Endpoint for getting /redis/info */
|
|
149
|
+
export const getCacheRedisInfoCacheRedisInfo: API.OperationMethod<
|
|
150
|
+
GetCacheRedisInfoCacheRedisInfoRequest,
|
|
151
|
+
GetCacheRedisInfoCacheRedisInfoResponse,
|
|
152
|
+
GetCacheRedisInfoCacheRedisInfoError,
|
|
153
|
+
LitellmOpContext
|
|
154
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
155
|
+
input: GetCacheRedisInfoCacheRedisInfoRequest,
|
|
156
|
+
output: GetCacheRedisInfoCacheRedisInfoResponse,
|
|
157
|
+
errors: [],
|
|
158
|
+
protocol: LitellmProtocol,
|
|
159
|
+
retry: Retry.Retry,
|
|
160
|
+
}));
|
|
161
|
+
|
|
162
|
+
export type PostCacheFlushallCacheFlushallError = LitellmOpError;
|
|
163
|
+
/** Cache Flushall A function to flush all items from the cache. (All items will be deleted from the cache with this) Raises HTTPException if the cache is not initialized or if the cache type does not support flushing. Returns a dictionary with the status of the operation. Usage: ``` curl -X POST http://0.0.0.0:4000/cache/flushall -H "Authorization: Bearer sk-1234" ``` */
|
|
164
|
+
export const postCacheFlushallCacheFlushall: API.OperationMethod<
|
|
165
|
+
PostCacheFlushallCacheFlushallRequest,
|
|
166
|
+
PostCacheFlushallCacheFlushallResponse,
|
|
167
|
+
PostCacheFlushallCacheFlushallError,
|
|
168
|
+
LitellmOpContext
|
|
169
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
170
|
+
input: PostCacheFlushallCacheFlushallRequest,
|
|
171
|
+
output: PostCacheFlushallCacheFlushallResponse,
|
|
172
|
+
errors: [],
|
|
173
|
+
protocol: LitellmProtocol,
|
|
174
|
+
retry: Retry.Retry,
|
|
175
|
+
}));
|