Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Litellm dev 02 18 2025 p1 (#8630)

Krish Dholakia2b71973b17a4
diff --git a/litellm/main.py b/litellm/main.py
index 8535551646a..152c61ac376 100644
--- a/litellm/main.py
+++ b/litellm/main.py
@@ -2575,6 +2575,7 @@ def completion( # type: ignore # noqa: PLR0915
print_verbose=print_verbose,
optional_params=optional_params,
litellm_params=litellm_params,
+ timeout=timeout,
custom_prompt_dict=custom_prompt_dict,
logger_fn=logger_fn,
encoding=encoding,
diff --git a/litellm/proxy/_new_secret_config.yaml b/litellm/proxy/_new_secret_config.yaml
index 4059f6c566f..dbd566078e3 100644
--- a/litellm/proxy/_new_secret_config.yaml
+++ b/litellm/proxy/_new_secret_config.yaml
@@ -3,6 +3,7 @@ model_list:
litellm_params:
model: openai/gpt-3.5-turbo
api_key: os.environ/OPENAI_API_KEY
+ api_base: http://0.0.0.0:8090
litellm_settings:
callbacks: ["prometheus"]
diff --git a/ui/litellm-dashboard/src/components/common_components/filter.tsx b/ui/litellm-dashboard/src/components/common_components/filter.tsx
index 38f7ed6b760..3dcd96521e3 100644
--- a/ui/litellm-dashboard/src/components/common_components/filter.tsx
+++ b/ui/litellm-dashboard/src/components/common_components/filter.tsx
@@ -1,6 +1,6 @@
import React, { useState, useRef, useEffect } from 'react';
import { Button, Input, Dropdown, MenuProps } from 'antd';
-import { Card } from '@tremor/react';
+import { Card, Button as TremorButton } from '@tremor/react';
import {
FilterIcon,
XIcon,
@@ -90,15 +90,18 @@ const FilterComponent: React.FC<FilterComponentProps> = ({
return (
<div className="relative" ref={filtersRef}>
- <Button
- icon={<FilterIcon className="h-4 w-4" />}
+ <TremorButton
+ icon={FilterIcon}
onClick={() => setShowFilters(!showFilters)}
+ variant="secondary"
+ size='xs'
+ className="flex items-center pr-2"
>
{buttonLabel}
- </Button>
+ </TremorButton>
{showFilters && (
- <Card className="absolute left-0 mt-2 w-96 z-50">
+ <Card className="absolute left-0 mt-2 w-96 z-50 border border-gray-200 shadow-lg">
<div className="flex flex-col gap-4">
<div className="flex items-center gap-2">
<span className="text-sm font-medium">Where</span>
@@ -129,6 +132,7 @@ const FilterComponent: React.FC<FilterComponentProps> = ({
placeholder="Enter value..."
value={tempValues[selectedFilter] || ''}
onChange={(e) => handleFilterChange(e.target.value)}
+ className="px-3 py-1.5 border rounded-md text-sm flex-1 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
suffix={
tempValues[selectedFilter] ? (
<XIcon