MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions68,141 in github.com/BerriAI/litellm

↓ 9,302 callersMethodget
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:76
↓ 2,415 callersMethodappend
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,881 callersMethodmap
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,798 callersMethoddebug
(s,...o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,201 callersMethodpost
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:77
↓ 1,096 callersMethodpop
()
litellm/proxy/_experimental/out/_next/static/chunks/101az3fsw7lje.js:1
↓ 1,086 callersMethodnow
(self)
tests/test_litellm/proxy/hooks/test_dynamic_rate_limiter_v3.py:30
↓ 1,083 callersMethoditems
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,021 callersMethodjson
(self, **kwargs)
litellm/types/utils.py:1252
↓ 963 callersMethodsplit
(self, _sep)
tests/test_litellm/llms/bedrock/batches/test_handler.py:76
↓ 841 callersMethodreplace
(self, *args, **kwargs)
tests/test_litellm/litellm_core_utils/test_safe_json_dumps.py:188
↓ 785 callersMethodfail
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/101az3fsw7lje.js:1
↓ 750 callersMethodincludes
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 736 callersMethodsleep
(self, seconds: float)
tests/test_litellm/proxy/utils/prisma_and_spend/conftest.py:265
↓ 682 callersFunctionset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 676 callersMethodisArray
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 674 callersMethodfilter
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 672 callersMethodpush
(e)
litellm/proxy/_experimental/out/_next/static/chunks/101az3fsw7lje.js:1
↓ 668 callersMethodslice
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/101az3fsw7lje.js:1
↓ 633 callersMethodupdate
Update an existing API key's parameters. Args: models: Optional[List[str]] = None, aliases: Optional[Dict[st
litellm/proxy/client/keys.py:228
↓ 616 callersMethodstringify
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/101az3fsw7lje.js:1
↓ 601 callersMethodtime
(self)
tests/test_litellm/proxy/utils/prisma_and_spend/conftest.py:262
↓ 534 callersMethodencode
(self, token: OAuthToken)
litellm/proxy/_experimental/mcp_server/outbound_credentials/token_cache_codec.py:27
↓ 517 callersMethoddecode
(e)
litellm/proxy/_experimental/out/_next/static/chunks/16.oisvgwzo8s.js:4
↓ 494 callersMethodjson
(self)
tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio.py:50
↓ 467 callersMethodentries
()
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 462 callersMethodforEach
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 449 callersFunctionlist
List vector stores. Args: after: A cursor for use in pagination. before: A cursor for use in pagination. limit: A li
litellm/vector_stores/main.py:656
↓ 424 callersMethodkeys
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 424 callersMethodset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 412 callersMethoddelete
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:79
↓ 403 callersMethodconcat
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 403 callersMethodpush
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 402 callersFunctionit
(t)
litellm/proxy/_experimental/out/_next/static/chunks/03~yq9q893hmn.js:1
↓ 399 callersMethodkeys
()
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 365 callersFunctionget_secret_str
Guarantees response from 'get_secret' is either string or none. Used for fixing linting errors.
litellm/secret_managers/main.py:109
↓ 357 callersMethoddict
(self)
tests/test_litellm/repositories/test_repositories.py:39
↓ 349 callersMethodmodel_dump
(self, **kwargs)
litellm/types/llms/base.py:73
↓ 346 callersFunctionopen
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 344 callersMethodcopy
(self)
litellm/types/proxy/litellm_pre_call_utils.py:13
↓ 337 callersMethodfrom
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 335 callersMethodcompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/local_testing/test_custom_llm.py:115
↓ 329 callersFunctioncompletion
Perform a completion() using any of litellm supported llms (example gpt-4, gpt-3.5-turbo, claude-2, command-nightly) Parameters: mode
litellm/main.py:4705
↓ 328 callersMethodadd
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 318 callersMethodapply_guardrail
(self, inputs, request_data, input_type, **kwargs)
tests/test_litellm/proxy/guardrails/guardrail_hooks/unified_guardrails/test_unified_guardrail.py:46
↓ 312 callersMethodapply
Apply metadata to the response object
litellm/litellm_core_utils/llm_response_utils/response_metadata.py:160
↓ 306 callersMethodfilter
(self, record: logging.LogRecord)
litellm/_logging.py:51
↓ 296 callersMethoditems
(self)
tests/test_litellm/passthrough/test_passthrough_main.py:219
↓ 288 callersMethodadd
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0n.a~e5dwfnkn.js:1
↓ 284 callersMethodforEach
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 281 callersFunctionget_async_httpx_client
Retrieves the async HTTP client from the cache If not present, creates a new client Caches the new client and returns it.
litellm/llms/custom_httpx/http_handler.py:1367
↓ 278 callersMethodtoString
()
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 277 callersMethodformat
(self, record)
litellm/proxy/_logging.py:19
↓ 276 callersMethodmap_openai_params
( self, image_edit_optional_params: ImageEditOptionalRequestParams, model: str,
tests/test_litellm/images/test_image_edit_utils.py:17
↓ 270 callersMethodacompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/local_testing/test_custom_llm.py:140
↓ 270 callersMethodfind_unique
(self, where: Dict[str, Any])
tests/test_litellm/repositories/test_repositories.py:58
↓ 264 callersMethodreduce
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 263 callersMethodjson
(self)
tests/image_gen_tests/test_image_edits.py:258
↓ 262 callersMethodsort
()
litellm/proxy/_experimental/out/_next/static/chunks/07.fwfv-sinb5.js:1
↓ 258 callersFunctionsetTimeout
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/15.9ylrtxojbj.js:1
↓ 247 callersMethodraise_for_status
Raise exception for error status codes.
litellm/integrations/mock_client_factory.py:78
↓ 241 callersMethodfind
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 241 callersMethodfind
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0n.a~e5dwfnkn.js:1
↓ 239 callersFunctionnext
(u)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 235 callersMethodhas
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 233 callersMethoddirname
()
litellm/proxy/_experimental/out/_next/static/chunks/101az3fsw7lje.js:1
↓ 233 callersMethodparse
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 228 callersMethodbind
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0ivj_wax-joap.js:1
↓ 226 callersFunctions
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/0_rk9sxkapt-r.js:1
↓ 225 callersMethodpatch
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:80
↓ 223 callersMethoddict
(self)
tests/test_litellm/proxy/proxy_server/test_streaming_helpers.py:115
↓ 222 callersMethodformat
(self, record)
litellm/_logging.py:159
↓ 219 callersMethodkeys
(self)
tests/pass_through_unit_tests/test_pass_through_unit_tests.py:55
↓ 219 callersMethodpre_call
(self, input, api_key, model=None, additional_args={})
litellm/litellm_core_utils/litellm_logging.py:925
↓ 216 callersMethodinfo
Get information about API keys. Args: key (str): The key hash to get information about return_request (bool)
litellm/proxy/client/keys.py:288
↓ 216 callersMethodresolve
( self, hashed_token: str, *, auth_method: AuthMethod = AuthMethod.API_KEY,
litellm/proxy/auth/resolvers/store.py:73
↓ 210 callersMethodthen
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/16.oisvgwzo8s.js:4
↓ 205 callersMethodextend
(self, key: str, token: str, ttl_seconds: float)
litellm/proxy/_experimental/mcp_server/outbound_credentials/redis_refresh_coordinator.py:55
↓ 200 callersFunctionlist
List all API keys
litellm/proxy/client/cli/commands/keys.py:42
↓ 192 callersFunctionrender
(config: dict, survivors: list[str], stats: dict | None)
scripts/mutation_report.py:225
↓ 191 callersMethodclear
(self)
tests/logging_callback_tests/test_amazing_s3_logs.py:37
↓ 184 callersMethodformat
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 183 callersFunctiont
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0~-ovi6c4wjt1.js:1
↓ 181 callersMethodtext
Return response text.
litellm/integrations/mock_client_factory.py:61
↓ 180 callersMethodsearch
Sync Search handler.
litellm/llms/custom_httpx/llm_http_handler.py:1681
↓ 179 callersMethodfind_many
Find multiple records matching the criteria.
litellm/repositories/base_repository.py:68
↓ 178 callersMethodasync_pre_call_hook
(self, **kwargs)
tests/test_litellm/proxy/utils/proxy_logging/test_pre_call_hook.py:110
↓ 177 callersMethodinfo
(self)
litellm/caching/redis_cache.py:1262
↓ 176 callersMethodcompile
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 173 callersMethodi
()
litellm/proxy/_experimental/out/_next/static/chunks/0bqafy~83g2md.js:8
↓ 172 callersFunctionhash_token
(token: str)
litellm/proxy/utils.py:5032
↓ 172 callersMethods
()
litellm/proxy/_experimental/out/_next/static/chunks/02813b2b-kz98.js:8
↓ 169 callersMethodcatch
(e)
litellm/proxy/_experimental/out/_next/static/chunks/16.oisvgwzo8s.js:4
↓ 167 callersMethodget_complete_url
( self, *, api_base: str | None, model: str, optional_params: dict[str
tests/test_litellm/ocr/test_rust_bridge.py:174
↓ 162 callersMethodparse
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/00p.gft-l.6p..js:1
↓ 159 callersFunctione
(e)
litellm/proxy/_experimental/out/_next/static/chunks/01_xjyxcb1uco.js:1
↓ 150 callersFunction_get_httpx_client
Retrieves the HTTP client from the cache If not present, creates a new client Caches the new client and returns it.
litellm/llms/custom_httpx/http_handler.py:1420
↓ 142 callersFunctiona
(e,t,a,l)
litellm/proxy/_experimental/out/_next/static/chunks/0rdv7_7_95b-1.js:1
↓ 142 callersMethodset
(e)
litellm/proxy/_experimental/out/_next/static/chunks/15.9ylrtxojbj.js:1
↓ 140 callersMethodhas
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
next →1–100 of 68,141, ranked by callers