MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions231,079 in github.com/BerriAI/litellm

↓ 24,994 callersMethodget
(path: string, options?: RequestOptions)
litellm/ui/litellm-dashboard/src/lib/http/client.ts:127
↓ 13,867 callersFunctionlen
`str` operations that count code points the way Python does, where Rust counts bytes. `len(text)`: the number of code points.
litellm/rust/crates/python-compat/src/pystr.rs:4
↓ 9,462 callersFunctionstr
`str(value)`, what the sync `RedisCache.set_cache` writes.
litellm/rust/crates/redis-store/src/codec.rs:32
↓ 6,313 callersFunctionpatch
( url: URL, *, headers: BaseModel, json: BaseModel, response_type: type[R], timeout: f
tests/e2e/e2e_http.py:652
↓ 6,227 callersMethoddumps
(self)
litellm/harness/types.py:192
↓ 5,905 callersMethodpost
(path: string, options?: RequestOptions)
litellm/ui/litellm-dashboard/src/lib/http/client.ts:129
↓ 5,665 callersMethodloads
(cls, data: bytes)
litellm/harness/types.py:204
↓ 5,164 callersMethodscenario
(self)
tests/integration/_support/client.py:161
↓ 4,819 callersMethodjoin
(e,t=1)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 4,606 callersFunctiondict
(py: Python<'py>, source: &str)
litellm/rust/crates/host-python/src/argument.rs:112
↓ 3,865 callersMethodencode
(&self, text: &str)
litellm/rust/crates/token-counter-tiktoken/src/lib.rs:61
↓ 3,645 callersMethodobject
(&self, py: Python<'_>)
litellm/rust/crates/python-bridge/src/auth/host.rs:31
↓ 3,591 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:207
↓ 3,559 callersMethodrequest
(method: HttpMethod, path: string, options?: RequestOptions)
litellm/ui/litellm-dashboard/src/lib/http/client.ts:126
↓ 2,939 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:906
↓ 2,826 callersMethodappend
(self, change: Change)
tests/unit/proxy/control_plane/store/support.py:71
↓ 2,651 callersMethodunwrap
(e,t,r=this._client.webhookSecret,s=300)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:14
↓ 2,469 callersFunctionnext
(u)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 2,108 callersFunctionsorted
(xs: readonly string[])
litellm/ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mountedServerFields.test.ts:222
↓ 2,092 callersMethodmap
(self, convert: Callable[[_T], _U])
litellm/redis/stores/_route.py:28
↓ 2,041 callersMethoddebug
(s,...o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 2,015 callersFunctionall
(records: Vec<P>)
litellm/rust/crates/python-bridge/src/redis/store/rate_limits.rs:152
↓ 2,005 callersMethodmap
(self, map: impl FnOnce(T) -> U)
litellm/rust/crates/auth-types/src/lib.rs:44
↓ 1,989 callersFunctiont
(server_id: string, tool_name: string)
litellm/ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/toolsetSelection.test.ts:12
↓ 1,900 callersMethoddecode
(self, surface: &str)
litellm/rust/crates/cache-response/src/service.rs:167
↓ 1,893 callersFunctionset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 1,715 callersFunctionobject_value
(value: JsonValue)
tests/integration/_support/client.py:24
↓ 1,642 callersFunctioneventually
( read: Callable[[], T], satisfied: Callable[[T], bool], seconds: float = 10, return_last_on_t
tests/integration/_support/client.py:45
↓ 1,632 callersMethodfilter
(self, mask: Sequence[bool], /)
litellm/integrations/ternary/export_engine.py:53
↓ 1,611 callersFunctionint
`int(text)` in base 10, or `None` where Python raises `ValueError`.
litellm/rust/crates/python-compat/src/number.rs:15
↓ 1,492 callersMethoditems
(self)
tests/unit/test_router/test_router.py:16228
↓ 1,466 callersMethodclone
(&self)
litellm/rust/crates/cache/src/codec.rs:18
↓ 1,464 callersFunctiondefault
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 1,404 callersMethodmap
(t,n)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 1,398 callersMethodendswith
(self, suffix: str, /)
litellm/litellm_core_utils/prompt_templates/factory.py:2280
↓ 1,398 callersMethodjson
(self)
tests/unit/proxy/client/cli/test_pi.py:35
↓ 1,397 callersMethodstartswith
(self, prefix: str)
tests/unit/litellm_core_utils/test_litellm_logging.py:555
↓ 1,396 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,313 callersMethodjson
(self)
tests/e2e/e2e_http.py:416
↓ 1,300 callersMethodcollect
( &self, descriptors: &[Descriptor], skip_tpm_check: bool, )
litellm/rust/crates/callbacks-parallel-request-limiter/src/engine.rs:310
↓ 1,293 callersMethoddrain
(self)
tests/integration/providers/test_vertex_passthrough_wire.py:105
↓ 1,217 callersMethodwarning
The warning a set value earns, or `None` when the setting is read, refused or already met.
litellm/rust/crates/redis-resolve/src/keys.rs:130
↓ 1,171 callersMethodstartswith
( self, prefix: str | tuple[str, ...], start: SupportsIndex | None = None, end
tests/unit/test_utils.py:5753
↓ 1,139 callersFunctionsum
`sum(values)` over floats: CPython 3.12+ adds them with Neumaier compensation, so the result can differ from a plain left fold in the last bit.
litellm/rust/crates/python-compat/src/number.rs:56
↓ 1,108 callersFunctionstring_value
(value: JsonValue)
tests/integration/_support/client.py:28
↓ 1,090 callersFunctiondescribe
(config: LabelConfig, outcome: LabelOutcome)
litellm/scripts/label-issue.ts:147
↓ 1,088 callersFunctionit
({className:e,...t})
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 1,070 callersMethodstrip
(self, payload: StandardLoggingPayload)
litellm/integrations/s3_v2.py:234
↓ 1,069 callersFunctionfloat
`float(text)`, or `None` where Python raises `ValueError`.
litellm/rust/crates/python-compat/src/number.rs:50
↓ 1,049 callersMethodtrim
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 1,042 callersMethoderror
(self)
litellm/proxy/client/cli/commands/debug.py:98
↓ 1,022 callersMethodstartswith
(self, prefix: str, /)
litellm/proxy/db/exception_handler.py:113
↓ 999 callersMethodmodel_validate
(self, obj: Mapping[str, object])
litellm/llms/volcengine/responses/transformation.py:48
↓ 985 callersFunctionread_rows
( query: str, parameters: tuple[str, ...], *, database_url: str | None = None )
tests/integration/_support/database.py:16
↓ 974 callersFunctiondatetime
(py: Python<'_>, epoch_seconds: f64)
litellm/rust/crates/callbacks-legacy-python/src/adapter.rs:88
↓ 943 callersMethodpop
(self, key: str, default: None, /)
litellm/batches/main.py:71
↓ 934 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:475
↓ 922 callersMethoddrain
(self)
tests/integration/_support/wire.py:90
↓ 914 callersMethodfilter
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 899 callersMethodstringify
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 896 callersMethodmodel
(self)
tests/integration/providers/_idle_upstream_support.py:552
↓ 892 callersMethodisArray
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 892 callersMethodslice
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 877 callersMethoditer
(&self)
litellm/rust/crates/cost/src/price.rs:201
↓ 876 callersMethoditems
(self)
litellm/llms/ollama/common_utils.py:29
↓ 875 callersMethodmodel
( self, *, name: str | None = None, model_info: Mapping[str, JsonValue] | None = None, **parameters: J
tests/integration/_support/client.py:283
↓ 828 callersMethodgather
( self, dataplanes: tuple[Dataplane, ...], fetch: Callable[[Dataplane], Awaitable[T | Failure]] )
litellm/proxy/control_plane/common/fanout.py:62
↓ 827 callersMethodrstrip
(self)
litellm/litellm_core_utils/tokenizer.py:408
↓ 810 callersMethoddelete
(path: string, options?: RequestOptions)
litellm/ui/litellm-dashboard/src/lib/http/client.ts:131
↓ 806 callersMethodmodel_validate
(cls, value)
tests/unit/responses/test_streaming_iterator.py:2562
↓ 784 callersFunctionmax
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 756 callersMethodlower
(self)
tests/unit/test_utils.py:5762
↓ 752 callersMethodsleep
(self, seconds: float)
tests/unit/proxy/db/test_native_database.py:177
↓ 749 callersMethodapply_guardrail
( self, inputs: GenericGuardrailAPIInputs, request_data: dict, input_type: Lit
tests/unit/proxy/guardrails/guardrail_hooks/test_straiker.py:242
↓ 743 callersMethodwait_for
(self, count: int)
tests/test_litellm_rust/messages/test_bedrock.py:1539
↓ 733 callersMethodexception
(&self)
litellm/rust/crates/callbacks/src/host.rs:86
↓ 709 callersMethodcompletion
( self, model: str, messages: list, api_base: str, custom_prompt_dict:
tests/unit/llms/test_custom_llm.py:98
↓ 697 callersFunctionfrom
(s,o,i)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 688 callersMethodcreate
(self)
tests/integration/mcp/test_mcp_lifecycle.py:413
↓ 684 callersFunctionowned_proxy
( gateway: Gateway, directory: Path, overrides: Mapping[str, str], *, config: Path | None
tests/integration/_support/process.py:437
↓ 658 callersFunctionas_str_mapping
(value: object)
litellm/litellm_core_utils/core_helpers.py:117
↓ 650 callersMethodnow
(self)
litellm/router_utils/dynamic_queue.py:146
↓ 643 callersMethodpush
({key:e,query:r,options:s},n=i.timeMs)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 640 callersMethodanswer
Script the calls to ``model`` from now on.
tests/unit/test_router/core/scripted_host.py:295
↓ 625 callersMethodreplace
(self, *args, **kwargs)
tests/unit/litellm_core_utils/test_safe_json_dumps.py:208
↓ 624 callersMethodcallback
(self)
tests/integration/authorization/test_team_admin_gate.py:107
↓ 623 callersMethodmap_openai_params
(self, non_default_params, optional_params, model, drop_params)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4742
↓ 617 callersMethoderror
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 606 callersFunctionhash_token
(token: str)
litellm/proxy/utils.py:8755
↓ 592 callersMethodsplit
(self, _sep)
tests/unit/llms/bedrock/batches/test_handler.py:82
↓ 591 callersMethodnow
(self)
tests/unit/proxy/hooks/test_model_capacity_native.py:94
↓ 586 callersMethodpatch
(path: string, options?: RequestOptions)
litellm/ui/litellm-dashboard/src/lib/http/client.ts:132
↓ 577 callersMethodmodel_copy
(self, *, update: Mapping[str, object])
tests/unit/router_strategy/complexity_router/test_jev_classifier.py:57
↓ 574 callersMethodwait
(self)
tests/unit/harness/sandbox/test_docker.py:41
↓ 569 callersMethodcompile
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 565 callersMethoditems
(self)
tests/unit/proxy/common_utils/test_openapi_route.py:105
↓ 563 callersFunctionstart
Starts the counter step for `step` as an execution the proxy drives.
litellm/rust/crates/python-bridge/src/budget_counters.rs:48
↓ 557 callersMethodas_ref
(&self)
litellm/rust/crates/llms-types/src/formats/messages/streaming.rs:132
↓ 555 callersMethodfail
()
tests/unit/proxy/db/test_pgbouncer.py:793
↓ 541 callersMethodtoLowerCase
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
next →1–100 of 231,079, ranked by callers