MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions71,069 in github.com/BerriAI/litellm

↓ 9,525 callersMethodget
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:76
↓ 2,461 callersMethodappend
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,813 callersMethoddebug
(s,...o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,225 callersMethodpost
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:77
↓ 1,128 callersMethodpop
()
litellm/proxy/_experimental/out/_next/static/chunks/11ibt3khr2hk3.js:1
↓ 1,127 callersMethodnow
(self)
tests/test_litellm/proxy/hooks/test_dynamic_rate_limiter_v3.py:30
↓ 1,102 callersMethoditems
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,097 callersMethodinsert
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 1,084 callersMethodmap
(t,r)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 1,028 callersMethodjson
(self, **kwargs)
litellm/types/utils.py:1252
↓ 1,009 callersMethodsplit
(self, _sep)
tests/test_litellm/llms/bedrock/batches/test_handler.py:76
↓ 903 callersMethodreplace
(self, *args, **kwargs)
tests/test_litellm/litellm_core_utils/test_safe_json_dumps.py:188
↓ 858 callersMethodmap
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 790 callersMethodfail
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/11ibt3khr2hk3.js:1
↓ 774 callersMethodincludes
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 753 callersMethodsleep
(self, seconds: float)
tests/test_litellm/proxy/utils/prisma_and_spend/conftest.py:265
↓ 726 callersMethodpush
(e)
litellm/proxy/_experimental/out/_next/static/chunks/11ibt3khr2hk3.js:1
↓ 713 callersMethodisArray
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 699 callersFunctionset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 693 callersMethodslice
(t,r)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 637 callersMethodupdate
Update an existing API key's parameters. Args: models: Optional[List[str]] = None, aliases: Optional[Dict[st
litellm/proxy/client/keys.py:228
↓ 607 callersMethodfilter
(t,r)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 605 callersMethodtime
(self)
tests/test_litellm/proxy/utils/prisma_and_spend/conftest.py:262
↓ 594 callersMethodindexOf
(e)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 594 callersMethodstringify
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/11ibt3khr2hk3.js:1
↓ 565 callersMethoddecode
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0piozaeodiue..js:4
↓ 551 callersMethodencode
(self, token: OAuthToken)
litellm/proxy/_experimental/mcp_server/outbound_credentials/token_cache_codec.py:27
↓ 507 callersMethodjson
(self)
tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio.py:50
↓ 479 callersMethodentries
()
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 475 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
↓ 461 callersMethodforEach
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 431 callersMethoddelete
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:79
↓ 430 callersMethodkeys
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 427 callersMethodconcat
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 426 callersMethodset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 418 callersMethodkeys
()
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 409 callersFunctionit
(t)
litellm/proxy/_experimental/out/_next/static/chunks/03~yq9q893hmn.js:1
↓ 406 callersMethodpush
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 371 callersFunctionget_secret_str
Guarantees response from 'get_secret' is either string or none. Used for fixing linting errors.
litellm/secret_managers/main.py:109
↓ 368 callersMethoddict
(self)
tests/test_litellm/repositories/test_repositories.py:39
↓ 351 callersMethodmodel_dump
(self, **kwargs)
litellm/types/llms/base.py:73
↓ 350 callersFunctionopen
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 345 callersMethodfrom
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 344 callersMethodcopy
(self)
litellm/types/proxy/litellm_pre_call_utils.py:13
↓ 341 callersMethodcompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/local_testing/test_custom_llm.py:115
↓ 338 callersMethodapply
Apply metadata to the response object
litellm/litellm_core_utils/llm_response_utils/response_metadata.py:160
↓ 331 callersMethodapply_guardrail
(self, inputs, request_data, input_type, **kwargs)
tests/test_litellm/proxy/guardrails/guardrail_hooks/unified_guardrails/test_unified_guardrail.py:46
↓ 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:4746
↓ 324 callersMethodadd
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 318 callersMethodfilter
(self, record: logging.LogRecord)
litellm/_logging.py:51
↓ 310 callersMethodsome
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 305 callersMethodtoString
()
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 304 callersMethoditems
(self)
tests/test_litellm/passthrough/test_passthrough_main.py:219
↓ 301 callersMethodadd
(e)
litellm/proxy/_experimental/out/_next/static/chunks/08yy42xvwaak6.js:1
↓ 284 callersMethodforEach
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 282 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
↓ 281 callersMethodmap_openai_params
( self, image_edit_optional_params: ImageEditOptionalRequestParams, model: str,
tests/test_litellm/images/test_image_edit_utils.py:17
↓ 278 callersMethodformat
(self, record)
litellm/proxy/_logging.py:19
↓ 278 callersFunctionnext
(u)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 274 callersMethodfind_unique
(self, where: Dict[str, Any])
tests/test_litellm/repositories/test_repositories.py:58
↓ 273 callersFunctionsetTimeout
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/15.9ylrtxojbj.js:1
↓ 270 callersMethodacompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/local_testing/test_custom_llm.py:140
↓ 270 callersMethodsort
()
litellm/proxy/_experimental/out/_next/static/chunks/07.fwfv-sinb5.js:1
↓ 266 callersMethodhas
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0pidya1qvuvx8.js:1
↓ 266 callersMethodjson
(self)
tests/image_gen_tests/test_image_edits.py:258
↓ 245 callersMethodfind
(e)
litellm/proxy/_experimental/out/_next/static/chunks/08yy42xvwaak6.js:1
↓ 245 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
↓ 240 callersMethodpatch
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:80
↓ 235 callersMethodbind
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0ivj_wax-joap.js:1
↓ 235 callersMethoddirname
()
litellm/proxy/_experimental/out/_next/static/chunks/11ibt3khr2hk3.js:1
↓ 235 callersMethodparse
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 227 callersMethodkeys
(self)
tests/pass_through_unit_tests/test_pass_through_unit_tests.py:55
↓ 226 callersMethoddict
(self)
tests/test_litellm/proxy/proxy_server/test_streaming_helpers.py:115
↓ 226 callersMethodthen
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/0piozaeodiue..js:4
↓ 224 callersMethodresolve
( self, hashed_token: str, *, auth_method: AuthMethod = AuthMethod.API_KEY,
litellm/proxy/auth/resolvers/store.py:73
↓ 221 callersMethodformat
(self, record)
litellm/_logging.py:159
↓ 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
↓ 215 callersFunctions
(t,e,r)
litellm/proxy/_experimental/out/_next/static/chunks/03~yq9q893hmn.js:1
↓ 213 callersMethodextend
(self, key: str, token: str, ttl_seconds: float)
litellm/proxy/_experimental/mcp_server/outbound_credentials/redis_refresh_coordinator.py:55
↓ 205 callersFunctionlist
List all API keys
litellm/proxy/client/cli/commands/keys.py:42
↓ 204 callersMethodasync_pre_call_hook
(self, **kwargs)
tests/test_litellm/proxy/utils/proxy_logging/test_pre_call_hook.py:110
↓ 201 callersMethodclear
(self)
tests/logging_callback_tests/test_amazing_s3_logs.py:37
↓ 197 callersFunctionrender
(config: dict, survivors: list[str], stats: dict | None)
scripts/mutation_report.py:225
↓ 186 callersFunctione
()
litellm/proxy/_experimental/out/_next/static/chunks/0zam.8alu6_vj.js:1
↓ 185 callersMethodformat
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 184 callersMethods
litellm/proxy/_experimental/out/_next/static/chunks/0-0c4mv4-mc9n.js:1
↓ 184 callersMethodsearch
Sync Search handler.
litellm/llms/custom_httpx/llm_http_handler.py:1684
↓ 183 callersMethodparse
(e,t,r)
litellm/proxy/_experimental/out/_next/static/chunks/1339tsypbt0.4.js:1
↓ 183 callersMethodtext
Return response text.
litellm/integrations/mock_client_factory.py:61
↓ 182 callersMethodfind_many
Find multiple records matching the criteria.
litellm/repositories/base_repository.py:68
↓ 182 callersMethodi
litellm/proxy/_experimental/out/_next/static/chunks/175kj4ldzcv5l.js:1
↓ 180 callersMethodcompile
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 179 callersMethodinfo
(self)
litellm/caching/redis_cache.py:1262
↓ 178 callersMethodcatch
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0piozaeodiue..js:4
↓ 177 callersMethodreduce
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/02ax9y70kcggv.js:1
↓ 173 callersFunctiont
(e)
litellm/proxy/_experimental/out/_next/static/chunks/00fcsizkvc4hx.js:1
↓ 172 callersFunctionhash_token
(token: str)
litellm/proxy/utils.py:5041
↓ 169 callersMethodget_complete_url
( self, *, api_base: str | None, model: str, optional_params: dict[str
tests/test_litellm/ocr/test_rust_bridge.py:174
next →1–100 of 71,069, ranked by callers