diff --git a/litellm/main.py b/litellm/main.py index 8535551646..152c61ac37 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 4059f6c566..dbd566078e 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 38f7ed6b76..3dcd96521e 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 = ({ return (
- + {showFilters && ( - +
Where @@ -129,6 +132,7 @@ const FilterComponent: React.FC = ({ 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] ? (