Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiteLLM-Labs/litellm-rust
/ functions
Functions
696 in github.com/LiteLLM-Labs/litellm-rust
⨍
Functions
696
◇
Types & classes
151
↓ 52 callers
Function
cn
(...inputs: ClassValue[])
src/ui/src/lib/utils.ts:4
↓ 49 callers
Method
is_empty
(&self)
src/mcp/registry.rs:55
↓ 44 callers
Method
get
(&self, id: &str)
src/sdk/providers/transform.rs:56
↓ 43 callers
Function
req
(path: string, init?: RequestInit)
src/ui/src/lib/api.ts:59
↓ 24 callers
Function
db
(state: &'a AppState, headers: &HeaderMap)
src/http/managed_agents/mod.rs:17
↓ 23 callers
Function
get
( State(state): State<Arc<AppState>>, headers: HeaderMap, Path((agent_id, path)): Path<(String, St
src/http/managed_agents/files/get.rs:13
↓ 19 callers
Function
jsonOrThrow
(res: Response)
src/ui/src/lib/api.ts:79
↓ 17 callers
Method
len
(&self)
src/mcp/registry.rs:51
↓ 17 callers
Function
request_json
( app: axum::Router, method: &str, uri: &str, body: Option<Value>, )
tests/managed_agents_support/mod.rs:68
↓ 15 callers
Method
as_str
(&self)
src/proxy/mcp_config.rs:55
↓ 14 callers
Function
router
(state: Arc<AppState>)
src/http/routes.rs:23
↓ 13 callers
Function
require_any_gateway_key
(headers: &HeaderMap, state: &AppState)
src/proxy/auth/master_key.rs:20
↓ 12 callers
Method
delete
(&self, id: &str)
src/proxy/auth/api_keys.rs:73
↓ 12 callers
Function
require_non_empty
( name: &str, value: String, )
src/cli/parser.rs:148
↓ 12 callers
Method
status
(&self)
src/errors.rs:73
↓ 11 callers
Function
load
()
src/ui/src/app/agents/page.tsx:86
↓ 10 callers
Function
load_config
(path: &Path)
src/proxy/config.rs:53
↓ 10 callers
Function
write_config
(contents: &str)
tests/config_loader.rs:6
↓ 9 callers
Function
expand_env_value
(value: &str)
src/proxy/config.rs:74
↓ 9 callers
Function
isAlwaysOn
(memory: Memory)
src/ui/src/app/agents/detail/page.tsx:54
↓ 7 callers
Function
build_state
(config: &GatewayConfig)
tests/mcp.rs:85
↓ 7 callers
Method
decode
(&mut self, bytes: Bytes)
src/agents/sandboxes/e2b/connect.rs:25
↓ 7 callers
Function
now_ms
()
src/db/managed_agents/mod.rs:18
↓ 7 callers
Function
slackConfig
(ag: Agent | null)
src/ui/src/app/agents/slack-app-flow.tsx:68
↓ 6 callers
Method
lock
(&self)
src/proxy/auth/api_keys.rs:87
↓ 6 callers
Function
next_option_value
( option: &str, raw_args: &mut impl Iterator<Item = OsString>, )
src/cli/parser.rs:135
↓ 6 callers
Function
normalize_base_url
(raw: &str)
src/cli/credentials.rs:79
↓ 6 callers
Function
pick
(...keys: string[])
src/ui/src/components/message-block.tsx:330
↓ 6 callers
Method
resolve
(&self, model: &str)
src/sdk/router.rs:92
↓ 6 callers
Method
runs
(&self)
src/agents/runs.rs:183
↓ 5 callers
Function
commit
(patch: Partial<ParsedSchedule>, nextTimezone = tz)
src/ui/src/components/schedule-editor.tsx:115
↓ 5 callers
Function
config_with_mcp_server
( api_base: String, url: String, auth_type: McpAuthType, auth_value: Option<&str>, static_
tests/mcp.rs:50
↓ 5 callers
Function
id
(prefix: &str)
src/db/managed_agents/mod.rs:14
↓ 5 callers
Method
id
(&self)
src/agents/config.rs:132
↓ 5 callers
Function
ok_tools
()
tests/mcp.rs:97
↓ 5 callers
Function
saveIntegrationKey
( envKey: string, value: string, )
src/ui/src/lib/api.ts:377
↓ 5 callers
Function
send_mcp
(app: axum::Router, headers: Vec<(&str, &str)>)
tests/mcp.rs:103
↓ 5 callers
Function
storeMemory
( agentId: string, key: string, value: string, alwaysOn?: boolean, )
src/ui/src/lib/api.ts:602
↓ 5 callers
Method
transform_request
( &self, mut body: Value, deployment: &Deployment, inbound_headers: &HeaderMap
src/sdk/providers/openai/transformation.rs:29
↓ 4 callers
Method
create
(&self, label: Option<String>)
src/proxy/auth/api_keys.rs:50
↓ 4 callers
Function
createSession
(title?: string, agent?: string)
src/ui/src/lib/api.ts:96
↓ 4 callers
Function
deleteMemory
(agentId: string, key: string)
src/ui/src/lib/api.ts:616
↓ 4 callers
Function
load_credentials
( path: &Path, )
src/cli/credentials.rs:31
↓ 4 callers
Function
parse_claude_args
( raw_args: impl IntoIterator<Item = OsString>, )
src/cli/parser.rs:12
↓ 4 callers
Function
print_credential_hint
(message: &str)
src/cli/ui.rs:69
↓ 4 callers
Function
providerIdFor
(agentId: string)
src/ui/src/app/agents/slack-app-flow.tsx:59
↓ 4 callers
Function
request_raw
( app: axum::Router, method: &str, uri: &str, body: Option<String>, content_type: &str,
tests/managed_agents_support/mod.rs:93
↓ 4 callers
Function
save_credentials
( path: &Path, url: &str, key: &str, )
src/cli/credentials.rs:42
↓ 4 callers
Function
toTime
(hour: string, minute: string)
src/ui/src/components/schedule-editor.tsx:51
↓ 4 callers
Function
updateAgent
(id: string, fields: Partial<Agent>)
src/ui/src/lib/api.ts:556
↓ 3 callers
Function
bearer_config
(api_base: String, mcp_url: String)
tests/mcp.rs:74
↓ 3 callers
Function
build_state
(config: &GatewayConfig)
tests/messages.rs:96
↓ 3 callers
Function
clearStoredMasterKey
()
src/ui/src/lib/api.ts:42
↓ 3 callers
Function
credential_name
(provider_id: &str)
src/proxy/provider_credentials.rs:40
↓ 3 callers
Function
credentials_path_for
(tool: &str)
src/cli/credentials.rs:23
↓ 3 callers
Function
decode_output_delta
(delta: &str)
src/agents/sandboxes/e2b/connect.rs:137
↓ 3 callers
Function
deleteIntegrationKey
(envKey: string)
src/ui/src/lib/api.ts:396
↓ 3 callers
Function
deployment
()
src/sdk/providers/openai/transformation.rs:92
↓ 3 callers
Function
encoding_for_path
(path: &str)
src/db/managed_agents/files/repository.rs:11
↓ 3 callers
Function
ensure_lite_schedule_skill
( root: &Path, )
src/cli/skills.rs:10
↓ 3 callers
Function
headers
(name: &'static str, value: &str)
src/proxy/auth/master_key.rs:56
↓ 3 callers
Function
invalid_encrypted_value
()
src/proxy/credential_crypto.rs:60
↓ 3 callers
Method
is_terminal
(self)
src/agents/runs.rs:27
↓ 3 callers
Function
listMemory
(agentId: string)
src/ui/src/lib/api.ts:596
↓ 3 callers
Function
load
()
src/ui/src/components/api-keys-dialog.tsx:32
↓ 3 callers
Function
loadMemories
(agentId = id)
src/ui/src/app/agents/detail/page.tsx:120
↓ 3 callers
Function
loadMemory
(agentId: string)
src/ui/src/app/agents/page.tsx:133
↓ 3 callers
Function
now_millis
()
src/agents/runs.rs:196
↓ 3 callers
Function
parse_codex_args
( raw_args: impl IntoIterator<Item = OsString>, )
src/cli/parser.rs:75
↓ 3 callers
Function
presented_key
(headers: &HeaderMap)
src/proxy/auth/master_key.rs:36
↓ 3 callers
Function
print_brand_header
(subtitle: &str)
src/cli/ui.rs:77
↓ 3 callers
Method
push_event
(&self, run_id: &str, event: &str, data: impl Serialize)
src/agents/runs.rs:143
↓ 3 callers
Function
push_harness_events
(store: &AgentRunStore, run_id: &str, events: Vec<HarnessEvent>)
src/http/agents.rs:197
↓ 3 callers
Function
refresh
()
src/ui/src/app/vault/page.tsx:45
↓ 3 callers
Method
register
( &mut self, id: &'static str, default_api_base: &'static str, handler: impl T
src/sdk/providers/transform.rs:41
↓ 3 callers
Function
require_admin
(state: &AppState, headers: &HeaderMap)
src/http/provider_credentials.rs:129
↓ 3 callers
Function
require_master_key
( headers: &HeaderMap, configured: Option<&str>, )
src/proxy/auth/master_key.rs:5
↓ 3 callers
Function
reset
()
src/ui/src/components/integration-dialog.tsx:33
↓ 3 callers
Method
resolved_harness
(&self)
src/agents/config.rs:140
↓ 3 callers
Function
scheduleLabel
(cron?: string | null, timezone?: string | null)
src/ui/src/lib/schedule.ts:4
↓ 3 callers
Method
start
( &self, session: &SandboxSession, command: SandboxCommand, )
src/agents/sandboxes/mod.rs:126
↓ 3 callers
Function
test_config
(api_base: String)
tests/messages.rs:26
↓ 3 callers
Function
timeAgo
(ms: number)
src/ui/src/app/agents/detail/page.tsx:45
↓ 3 callers
Function
tools_list
()
tests/mcp.rs:93
↓ 3 callers
Method
transform_response_headers
(&self, upstream: &HeaderMap, stream: bool)
src/sdk/providers/openai/transformation.rs:66
↓ 2 callers
Function
acceptApproval
( id: string, args?: Record<string, unknown>, )
src/ui/src/lib/api.ts:272
↓ 2 callers
Method
api_key
(&self)
src/agents/sandboxes/e2b.rs:159
↓ 2 callers
Function
build_auth_header
Build the upstream auth header for an MCP server, mirroring LiteLLM's managed-transport `MCPClient._get_auth_headers`. `none` yields no header; `oauth
src/mcp/registry.rs:83
↓ 2 callers
Function
build_response
(upstream: UpstreamResponse, headers: HeaderMap)
src/http/llm.rs:21
↓ 2 callers
Function
bulkSetAlwaysOn
(alwaysOn: boolean)
src/ui/src/app/agents/detail/page.tsx:360
↓ 2 callers
Function
catalog_entry
(provider_id: &str)
src/proxy/provider_credentials.rs:44
↓ 2 callers
Function
cipher
(signing_key: &str)
src/proxy/credential_crypto.rs:55
↓ 2 callers
Function
collect_output_chunks
(value: &Value, chunks: &mut Vec<AgentOutputChunk>)
src/agents/sandboxes/e2b/connect.rs:107
↓ 2 callers
Function
connect
(database_url: &str)
src/db/managed_agents/pool.rs:5
↓ 2 callers
Function
content_size
(content: &str, encoding: &str)
src/db/managed_agents/files/repository.rs:171
↓ 2 callers
Function
createSkill
(input: { name: string; content: string; description?: string | null; })
src/ui/src/lib/api.ts:448
↓ 2 callers
Function
create_agent
(fixture: &AppFixture)
tests/managed_agents_support/flows.rs:7
↓ 2 callers
Function
decide_approval
( pool: &PgPool, item_id: &str, decision: &str, feedback: Option<String>, arguments: Optio
src/db/managed_agents/inbox/repository.rs:86
↓ 2 callers
Function
decode_process_payload
(bytes: &[u8])
src/agents/sandboxes/e2b/connect.rs:65
↓ 2 callers
Function
decrypt_field
( values: &serde_json::Map<String, Value>, field: &str, key: &str, )
src/proxy/provider_credentials.rs:97
next →
1–100 of 696, ranked by callers