MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 22,240 callersMethodget
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:127
↓ 8,565 callersFunctionstr
`str(value)`, what the sync `RedisCache.set_cache` writes.
litellm-rust/crates/redis-store/src/codec.rs:32
↓ 6,363 callersFunctionpatch
( url: URL, *, headers: BaseModel, json: BaseModel, response_type: type[R], timeout: f
tests/e2e/e2e_http.py:652
↓ 5,701 callersMethoddumps
(self)
litellm/harness/types.py:189
↓ 5,075 callersMethodloads
(cls, data: bytes)
litellm/harness/types.py:201
↓ 4,950 callersMethodpost
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:129
↓ 4,870 callersMethodscenario
(self)
tests/integration/_support/client.py:161
↓ 4,449 callersMethodjoin
(e,t=1)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3,911 callersFunctiondict
(py: Python<'py>, source: &str)
litellm-rust/crates/host-python/src/argument.rs:112
↓ 3,643 callersMethodobject
(&self, py: Python<'py>)
litellm-rust/crates/callbacks-legacy-python/src/logger.rs:20
↓ 3,394 callersMethodencode
(&self, text: &str)
litellm-rust/crates/token-counter-tiktoken/src/lib.rs:61
↓ 3,363 callersFunctionwire_server
Owned TCP peer; requests traverse the real HTTP client and serialization. With `keep_alive` the peer honours HTTP/1.1 persistent connections so `c
tests/integration/_support/wire.py:205
↓ 3,183 callersMethodrequest
(method: HttpMethod, path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:126
↓ 2,766 callersMethodappend
(self, _item)
tests/unit/integrations/pointfive/test_logger.py:409
↓ 2,667 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:690
↓ 2,121 callersFunctionnext
(u)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,964 callersFunctionsorted
(xs: readonly string[])
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mountedServerFields.test.ts:222
↓ 1,868 callersMethodmap
(self, convert: Callable[[_T], _U])
litellm/redis/stores/_route.py:28
↓ 1,848 callersFunctionset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,812 callersFunctionall
(records: Vec<P>)
litellm-rust/crates/python-bridge/src/redis/store/rate_limits.rs:152
↓ 1,806 callersMethodunwrap
(e,t,r=this._client.webhookSecret,s=300)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:14
↓ 1,802 callersFunctiont
(server_id: string, tool_name: string)
ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/toolsetSelection.test.ts:12
↓ 1,663 callersMethoddecode
(self, surface: &str)
litellm-rust/crates/cache-response/src/service.rs:163
↓ 1,612 callersFunctionobject_value
(value: JsonValue)
tests/integration/_support/client.py:24
↓ 1,608 callersMethoddebug
(s,...o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,543 callersFunctioneventually
( read: Callable[[], T], satisfied: Callable[[T], bool], seconds: float = 10, return_last_on_t
tests/integration/_support/client.py:45
↓ 1,404 callersMethodmap
(t,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 1,384 callersMethodstrip
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 1,344 callersFunctionmake_core
``make_core(**router_arguments)``: the core under test, on the ``host`` fixture. Every test that uses it runs once per core in ``CORE_BUILDERS``.
tests/unit/test_router/core/conftest.py:17
↓ 1,330 callersMethodwarning
(self, message: str, /)
litellm/llms/ollama/completion/handler.py:32
↓ 1,325 callersMethoditems
(self)
tests/unit/test_router/test_router.py:15429
↓ 1,284 callersMethodstartswith
(self, prefix: str)
tests/unit/litellm_core_utils/test_litellm_logging.py:131
↓ 1,217 callersMethoddrain
(self)
tests/integration/providers/test_vertex_passthrough_wire.py:105
↓ 1,206 callersMethodjson
(self)
tests/e2e/e2e_http.py:416
↓ 1,195 callersMethodjson
(self)
tests/unit/proxy/client/cli/test_pi.py:35
↓ 1,165 callersMethodnow
(self)
tests/unit/proxy/hooks/test_model_max_budget_limiter.py:215
↓ 1,141 callersMethodfilter
(self, record: logging.LogRecord)
litellm/_logging.py:295
↓ 1,128 callersMethoditems
(self)
litellm/llms/ollama/common_utils.py:29
↓ 1,127 callersMethodstartswith
( self, prefix: str | tuple[str, ...], start: SupportsIndex | None = None, end
tests/unit/test_utils.py:5340
↓ 1,096 callersMethodclone
(&self)
litellm-rust/crates/cache/src/codec.rs:18
↓ 1,084 callersMethoderror
(self)
litellm/proxy/client/cli/commands/debug.py:98
↓ 1,053 callersMethodpop
(self)
litellm/router_rust/surface/indexes.py:225
↓ 1,046 callersFunctionstring_value
(value: JsonValue)
tests/integration/_support/client.py:28
↓ 1,038 callersFunctionint
`int(text)` in base 10, or `None` where Python raises `ValueError`.
litellm-rust/crates/python-compat/src/number.rs:6
↓ 1,027 callersFunctiondescribe
(config: LabelConfig, outcome: LabelOutcome)
scripts/label-issue.ts:147
↓ 1,023 callersFunctionit
({className:e,...t})
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 1,016 callersMethodmap
(self, map: impl FnOnce(T) -> U)
litellm-rust/crates/auth-types/src/lib.rs:44
↓ 997 callersFunctionsum
(rows: readonly ClientLog[], value: (row: ClientLog) => number)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/hooks/clientUsageData.ts:130
↓ 971 callersMethodstartswith
(self, prefix: str, /)
litellm/proxy/litellm_pre_call_utils.py:3586
↓ 960 callersFunctionfloat
`float(text)`, or `None` where Python raises `ValueError`.
litellm-rust/crates/python-compat/src/number.rs:11
↓ 959 callersMethodtrim
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 943 callersMethodlower
(self)
litellm/proxy/proxy_server.py:16946
↓ 935 callersFunctionread_rows
( query: str, parameters: tuple[str, ...], *, database_url: str | None = None )
tests/integration/_support/database.py:16
↓ 914 callersMethodfilter
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 901 callersMethodwait
(self)
tests/unit/harness/sandbox/test_docker.py:45
↓ 891 callersFunctiondeployment
One ``model_list`` entry; ``model`` defaults to ``openai/<deployment_id>`` so each deployment answers its own script.
tests/unit/test_router/core/scripted_host.py:469
↓ 883 callersMethodisArray
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 867 callersMethodstringify
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 862 callersMethoddrain
(self)
tests/integration/_support/wire.py:88
↓ 851 callersMethodmodel
(self)
tests/integration/providers/_idle_upstream_support.py:552
↓ 844 callersMethodslice
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 843 callersMethodcompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/unit/llms/test_custom_llm.py:97
↓ 834 callersMethodmodel
( self, *, name: str | None = None, model_info: Mapping[str, JsonValue] | None = None, **parameters: J
tests/integration/_support/client.py:283
↓ 807 callersMethodmodel_validate
(self, obj: Mapping[str, object])
litellm/llms/volcengine/responses/transformation.py:48
↓ 800 callersFunctiondatetime
(py: Python<'_>, epoch_seconds: f64)
litellm-rust/crates/callbacks-legacy-python/src/adapter.rs:64
↓ 774 callersMethoditems
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 768 callersFunctiondefault
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 767 callersMethodrstrip
(self)
litellm/litellm_core_utils/tokenizer.py:412
↓ 742 callersMethoddelete
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:131
↓ 736 callersMethodsplit
(e,t=1,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 717 callersMethodlower
(self)
tests/unit/test_utils.py:5294
↓ 709 callersMethodcreate
(self)
tests/integration/mcp/test_mcp_lifecycle.py:413
↓ 692 callersFunctionmax
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 671 callersMethodapply_guardrail
( self, inputs: GenericGuardrailAPIInputs, request_data: dict, input_type: str
tests/unit/proxy/guardrails/guardrail_hooks/test_crowdstrike_aidr.py:1795
↓ 669 callersMethodcollect
(page: int, previous: tuple[_T, ...])
litellm/proxy/roi_calculator/gitlab.py:165
↓ 662 callersFunctionint
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 643 callersMethodpush
({key:e,query:r,options:s},n=i.timeMs)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 633 callersFunctionowned_proxy
( gateway: Gateway, directory: Path, overrides: Mapping[str, str], *, config: Path | None
tests/integration/_support/process.py:431
↓ 628 callersMethodkeys
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 627 callersMethodmodel_validate
(cls, value)
tests/unit/responses/test_streaming_iterator.py:2145
↓ 627 callersMethodwait_for
(self, name: str, count: int = 1, timeout: float = 10)
tests/test_litellm_rust/support/callback_recorder.py:68
↓ 617 callersMethoderror
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 601 callersMethodreplace
(e,t,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 590 callersMethodcallback
(self)
tests/integration/authorization/test_team_admin_gate.py:107
↓ 589 callersMethodanswer
Script the calls to ``model`` from now on.
tests/unit/test_router/core/scripted_host.py:295
↓ 575 callersMethodmap_openai_params
(self, non_default_params, optional_params, model, drop_params)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4685
↓ 571 callersMethodfind
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 570 callersMethodsplit
The window that ends now; the next one starts from this window's last sample. The boundary sample is carried into the next window so its CPU
tests/e2e/perf/proxy_usage.py:155
↓ 569 callersMethoditer
(&self)
litellm-rust/crates/cost/src/price.rs:201
↓ 566 callersMethodfail
()
tests/unit/proxy/db/test_pgbouncer.py:793
↓ 544 callersMethodcompile
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 544 callersFunctionhash_token
(token: str)
litellm/proxy/utils.py:8479
↓ 542 callersMethodsplit
(self, _sep)
tests/unit/llms/bedrock/batches/test_handler.py:82
↓ 538 callersMethodreplace
(self, *args, **kwargs)
tests/unit/litellm_core_utils/test_safe_json_dumps.py:208
↓ 533 callersMethodtoLowerCase
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 532 callersMethodincludes
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 526 callersMethodacompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/unit/llms/test_custom_llm.py:122
↓ 526 callersMethodnow
(&self)
litellm-rust/crates/redis-store/src/dual_cache/mod.rs:81
↓ 523 callersMethodfrom
(t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 514 callersFunctionunique_marker
A short unique token per call/run, so concurrent runs and the shared response cache never collide on prompts, tags, or customer ids. In record
tests/e2e/e2e_config.py:290
next →1–100 of 202,479, ranked by callers