MCPcopy Create free account

hub / github.com/BerriAI/litellm / functions

Functions202,479 in github.com/BerriAI/litellm

↓ 509 callersMethodappend
(self, fragment: str)
litellm/litellm_core_utils/json_fragment_accumulator.py:31
↓ 509 callersFunctionowned_proxy_process
( gateway: Gateway, directory: Path, overrides: Mapping[str, str], *, config: Path | None
tests/integration/_support/process.py:837
↓ 504 callersMethodcall
Run one endpoint with the request's keyword payload, as ``getattr(core, op)(**request)``.
litellm/router_rust/core.py:2566
↓ 495 callersMethodpatch
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:132
↓ 491 callersFunctionget_secret_str
Guarantees response from 'get_secret' is either string or none. Used for fixing linting errors.
litellm/secret_managers/main.py:156
↓ 478 callersMethodsleep
(self, seconds: float)
tests/unit/test_router/core/scripted_host.py:326
↓ 473 callersMethodincludes
Whether a deployment serves ``model_name`` for ``team_id`` (was ``should_include_deployment``), or, without ``model_name``, whether t
litellm/router_api.py:604
↓ 462 callersMethodclear
(self)
tests/unit/integrations/test_s3_v2.py:5668
↓ 462 callersMethodmodel_copy
(self, *, update: Mapping[str, object])
tests/unit/router_strategy/complexity_router/test_jev_classifier.py:57
↓ 461 callersMethoditems
(self)
tests/unit/proxy/common_utils/test_openapi_route.py:105
↓ 456 callersMethodsetup
(self)
tests/integration/_support/wire.py:227
↓ 454 callersMethodreplace
(self, old: str, new: str, /)
litellm/integrations/weave/weave_otel.py:47
↓ 450 callersMethodskip
(self, seconds: float)
tests/unit/proxy/test_proxy_token_counter.py:2398
↓ 449 callersMethodput
(path: string, options?: RequestOptions)
ui/litellm-dashboard/src/lib/http/client.ts:130
↓ 445 callersMethodtest
(repo: str)
litellm/proxy/roi_calculator/gitlab.py:198
↓ 442 callersMethodkey
(self, **fields: JsonValue)
tests/integration/_support/client.py:171
↓ 441 callersMethodset
(self, result: Dict[str, Any])
tests/e2e/claude_code/conftest.py:92
↓ 440 callersMethodappend
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 438 callersMethodsleep
(self, seconds: float)
tests/unit/proxy/utils/prisma_and_spend/conftest.py:275
↓ 438 callersMethodteam
(self, **fields: JsonValue)
tests/integration/_support/client.py:177
↓ 433 callersMethoddebug
(self, message: str, /)
litellm/llms/ollama/completion/handler.py:28
↓ 431 callersFunctionstart
( mut driver: HostedDriver<P, S, H>, encoder: Arc<A>, )
litellm-rust/crates/host-http/src/driver.rs:77
↓ 428 callersMethodset
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 425 callersFunctionas_str_mapping
(value: object)
litellm/litellm_core_utils/core_helpers.py:104
↓ 419 callersMethodupdate
(self, *, where: Mapping[str, object], data: Mapping[str, object])
litellm/proxy/utils.py:386
↓ 412 callersMethoddrain
(self)
tests/integration/observability/test_straiker_v3_platform.py:119
↓ 412 callersFunctionmin
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 410 callersMethodforEach
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 409 callersMethodcopy
(self)
litellm/types/proxy/litellm_pre_call_utils.py:15
↓ 409 callersMethoddict
(self)
tests/unit/repositories/test_repositories.py:55
↓ 408 callersMethodexpect
(&mut self, token: &str)
litellm-rust/crates/python-compat/src/json.rs:96
↓ 398 callersFunctionpartial
(...e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:55
↓ 394 callersMethodappend
(self, value: object, /)
litellm/proxy/proxy_server.py:5903
↓ 393 callersMethodentries
()
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 393 callersFunctionlist
List all API keys
litellm/proxy/client/cli/commands/keys.py:68
↓ 384 callersMethoddeployments_called
(self, op: str | None = None)
tests/unit/test_router/core/scripted_host.py:306
↓ 380 callersMethodhas
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:1
↓ 375 callersMethodisoformat
(self)
litellm/interactions/litellm_responses_transformation/transformation.py:31
↓ 374 callersFunctionfrom
(s,o,i)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 372 callersMethodformat
(self, record)
litellm/_logging.py:800
↓ 367 callersMethodkey
(self)
tests/integration/mcp/test_mcp_akto_logging_only.py:86
↓ 366 callersMethodrun
(self, document: Document, credentials: Mapping[str, str])
tests/integration/sdk/test_ocr_matrix_sdk.py:278
↓ 365 callersMethoddefer
Register a teardown action for any resource the test just created. Whatever the action returns is discarded, so a delete that answers with a
tests/e2e/lifecycle.py:64
↓ 365 callersMethodflatMap
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 365 callersMethodjson
(self)
tests/unit/proxy/mcp_server/test_db_credentials.py:1284
↓ 364 callersMethodpush
(&self, entry: impl Into<String>)
litellm-rust/crates/host-python/tests/support/mod.rs:136
↓ 361 callersMethodkey
(self)
tests/integration/providers/test_bedrock_native_guardrail_trace_spend.py:225
↓ 359 callersFunctioncn
(...inputs: ClassValue[])
ui/litellm-dashboard/src/lib/cva.config.ts:14
↓ 358 callersMethodget_model_info
( self, model: str, api_base: str | None = None, api_key: str | None = None,
litellm/llms/ollama/common_utils.py:281
↓ 355 callersMethodflush_cache
(self)
litellm/caching/s3_cache.py:172
↓ 351 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:1935
↓ 350 callersFunctionmap
()
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 346 callersFunctionunwrap
(result: Result[R])
tests/e2e/e2e_http.py:226
↓ 343 callersMethodvalues
(self)
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:12239
↓ 341 callersMethodkey
(self)
tests/integration/sdk/test_ocr_matrix_sdk.py:263
↓ 336 callersMethodtime
(self)
tests/unit/proxy/utils/prisma_and_spend/conftest.py:272
↓ 335 callersMethodreduce
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 331 callersMethodinvoke
(self, op: str)
tests/unit/test_router/core/scripted_host.py:311
↓ 331 callersMethodtime
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 326 callersMethodfind
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 326 callersMethodinfo
Get information about API keys. Args: key (str): The key hash to get information about return_request (bool)
litellm/proxy/client/keys.py:295
↓ 325 callersMethodthen
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2hk8n3azev--d.js:1
↓ 319 callersFunctiongateway_from_environment
()
tests/integration/_support/client.py:334
↓ 319 callersMethodvalues
(self, metric: str, model_id: str)
tests/integration/_support/copilot_session_prometheus_worker.py:58
↓ 316 callersMethodis_set
Whether the router has this setting at all (some exist only in some configurations).
litellm/router_api.py:1277
↓ 314 callersMethodmax
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 313 callersMethodacompletion
( self, model: str, messages: list[AllMessageValues], stream: Literal[True], **kwargs: object
litellm/router.py:255
↓ 312 callersMethodentries
(&self)
litellm-rust/crates/redis-store/src/memory.rs:61
↓ 312 callersMethodstartsWith
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 311 callersMethodconnect
(self)
tests/unit/proxy/db/test_routing_prisma_wrapper.py:577
↓ 307 callersMethodpop
(self, index: int, /)
litellm/litellm_core_utils/core_helpers.py:453
↓ 307 callersMethodrespond
(self, request: httpx.Request)
tests/unit/integration_support/test_client.py:32
↓ 306 callersMethodinto_iter
(self)
litellm-rust/crates/core-utils/src/params.rs:99
↓ 304 callersFunctionobject
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 304 callersFunctionrenderWithProviders
(ui: React.ReactElement, options?: RenderOptions & ProviderOptions)
ui/litellm-dashboard/tests/test-utils.tsx:32
↓ 304 callersMethodtransform_request
(self, model, messages, optional_params, litellm_params, headers)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4693
↓ 303 callersMethodkeys
(self)
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:12236
↓ 300 callersMethoddict
(self)
tests/unit/proxy/proxy_server/test_streaming_helpers.py:505
↓ 298 callersFunctiononChange
(e)
litellm/proxy/_experimental/out/_next/static/chunks/1nj306n5h0tsy.js:1
↓ 296 callersMethodforEach
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 296 callersMethodsplit
Reasoning reaches `/api/generate` either in the top-level `thinking` field or inline in `<think>` tags, never both. The field wins, matching `
litellm/llms/ollama/completion/transformation.py:75
↓ 291 callersMethodparse
(value: &str)
litellm-rust/crates/http/src/settings.rs:21
↓ 291 callersMethodpush
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 291 callersMethodresolve
(self)
tests/unit/caching/test_redis_batch.py:212
↓ 289 callersMethodget_complete_url
(self, api_base, api_key, model, optional_params, litellm_params, stream=None)
tests/unit/llms/custom_httpx/test_llm_http_handler.py:4938
↓ 288 callersFunctionjoin_api_base
(api_base: str, route: str)
litellm/litellm_core_utils/url_utils.py:160
↓ 287 callersMethodaresponses
( self, **kwargs: object, # kwargs-ok: forwarded to the router endpoint as given )
litellm/router_api.py:1606
↓ 287 callersFunctionopen
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 287 callersMethodregistry
(self)
tests/unit/llms/anthropic/messages/test_safeguards.py:349
↓ 287 callersMethodvalues
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 285 callersMethodhas
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 285 callersMethodjson
(self)
litellm/proxy/auth/handle_jwt.py:164
↓ 284 callersFunctionroute_entry_points_to_stubs
Make a MagicMock router answer its entry points (``registry()``, ``settings()``, ``health()``) from per-query stubs set on the mock itself. T
tests/unit/proxy/router_entry_point_stubs.py:15
↓ 281 callersFunctionrepr
`repr(value)`.
litellm-rust/crates/python-compat/src/repr.rs:23
↓ 281 callersMethodtoString
()
litellm/proxy/_experimental/out/_next/static/chunks/2j7hjtph8n74b.js:1
↓ 280 callersMethodt
litellm/proxy/_experimental/out/_next/static/chunks/3lb5gjzjxjxem.js:1
↓ 276 callersMethoduri
(&self)
litellm-rust/crates/gateway-forward/src/settings.rs:16
↓ 273 callersFunctionrender
(ui: ReactElement)
ui/litellm-dashboard/src/components/chat/ChatShell.integration.test.tsx:9
↓ 272 callersFunctionuuid4
Return a UUID4 using the selected backend.
litellm/_uuid.py:17
↓ 270 callersFunction_keywords
(tmp_path: Path, sql: str)
tests/unit/test_check_migrations_no_data_rewrites.py:30
← previousnext →101–200 of 202,479, ranked by callers