Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
6,870 in github.com/OpenHands/OpenHands
⨍
Functions
6,870
◇
Types & classes
1,427
↓ 3 callers
Function
collectRequiredRouterModelNames
(config: { classifier_model?: string | null; model_table?: string | null; })
src/components/features/settings/meta-llm-profiles/router-profiles.ts:55
↓ 3 callers
Function
colorUtility
( classList: string, kind: "bg" | "text" | "border", variant = "", )
__tests__/themes/theme-color-resolver.ts:210
↓ 3 callers
Function
commit
(next: string)
src/hooks/use-streamed-text.ts:43
↓ 3 callers
Function
complete
(url, messages, max_tokens=100)
tests/e2e/mock-llm/scripts/test_mock_llm_server.py:37
↓ 3 callers
Function
contrast
(a: Rgb, b: Rgb)
__tests__/themes/theme-color-resolver.ts:253
↓ 3 callers
Function
convertImageToBase64
(file: File)
src/utils/convert-image-to-base-64.ts:1
↓ 3 callers
Function
convertRawProvidersToList
( raw: Partial<Record<Provider, string | null>> | undefined, )
src/utils/convert-raw-providers-to-list.ts:8
↓ 3 callers
Method
create
( cls, conv_state=None, # noqa: ARG003 **params, # noqa: ARG003 )
tools/canvas_ui_tool.py:123
↓ 3 callers
Function
createChatMessage
( message: string, image_urls: string[], file_urls: string[], timestamp: string, )
src/services/chat-service.ts:3
↓ 3 callers
Function
createCloudAppConversation
( request: AppConversationStartRequest, // Defaults to the active backend. The typed launch action passes
src/api/cloud/conversation-service.api.ts:153
↓ 3 callers
Method
createCustomWebhook
( body: CustomWebhookCreateRequest, )
src/api/automation-service/automation-service.api.ts:1008
↓ 3 callers
Function
createEncryptedFileStore
({ dir, secretKey })
scripts/mars-secret-store.mjs:214
↓ 3 callers
Method
createLocalPlanningConversation
( parentConversationId: string, initialMessage?: string, )
src/api/conversation-service/agent-server-conversation-service.api.ts:843
↓ 3 callers
Function
createMarsApiClient
({ getToken, baseUrl = DEFAULT_MARS_API_BASE_URL, deviceId = null, fetchImpl = globalThis.fetch, })
scripts/mars-api.mjs:156
↓ 3 callers
Function
createPlanComponents
(extraClassName?: string)
src/components/features/markdown/plan-components.tsx:21
↓ 3 callers
Function
createProfileViaUI
( page: Page, options: { profileName: string; model: string; apiKey?: string; baseUrl?: st
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:657
↓ 3 callers
Function
createProxyHandlers
({ label = "proxy", timeout = DEFAULT_PROXY_TIMEOUT_MS, proxyTimeout = DEFAULT_PROXY_TIMEOUT_MS, xfwd
scripts/proxy-utils.mjs:286
↓ 3 callers
Function
createRouter
(routes, defaultBackend = null)
scripts/proxy-utils.mjs:22
↓ 3 callers
Method
createSecret
* Create or update a custom secret (upsert by name). * Uses the agent-server API endpoint: PUT /api/settings/secrets * * @param name - Secret
src/api/secrets-service.ts:60
↓ 3 callers
Function
createTitleFromKey
( key: string, values: Readonly<Record<string, unknown>>, )
src/components/conversation-events/chat/event-content-helpers/get-event-content.tsx:41
↓ 3 callers
Function
decrypt
(connection)
scripts/mars-credentials.mjs:183
↓ 3 callers
Method
deleteSecret
* Delete a custom secret by name. * Uses the agent-server API endpoint: DELETE /api/settings/secrets/{name} * * @param name - Secret name to
src/api/secrets-service.ts:130
↓ 3 callers
Method
deleteServerDraft
(draftId: string)
src/api/automation-service/automation-service.api.ts:1194
↓ 3 callers
Function
deriveAutomationHealth
( automation: Automation, state: RunSummaryState | undefined, )
src/manifests/automation-insights.ts:126
↓ 3 callers
Function
deriveErrorMap
( entry: SetupEntry, selectedTrigger?: string | null, selectedAction?: string | null, )
src/manifests/automation-setup.ts:703
↓ 3 callers
Function
deriveName
* The created automation's name. * * One repository is worth naming; several are not, so the count stands in * rather than a list of names that wou
src/manifests/automation-setup.ts:223
↓ 3 callers
Function
dismiss
()
src/components/features/sidebar/use-sidebar-onboarding-checklist.ts:149
↓ 3 callers
Method
dispatchAutomation
(id: string)
src/api/automation-service/automation-service.api.ts:784
↓ 3 callers
Method
dispatchServerDraft
* Test-dispatch a dispatchable draft. The service materializes the draft * body into a disabled automation and starts a manual run; the draft row
src/api/automation-service/automation-service.api.ts:1241
↓ 3 callers
Method
downloadConversation
(conversationId: string)
src/api/conversation-service/agent-server-conversation-service.api.ts:1121
↓ 3 callers
Function
durable
(event: unknown, seq = nextSeq++)
__tests__/contexts/conversation-websocket-context.test.tsx:59
↓ 3 callers
Function
echoSavedDraft
( request: { endpoint?: AutomationDraftApiResponse["endpoint"]; name?: string | null;
__tests__/components/automations/automation-setup-panel.test.tsx:2443
↓ 3 callers
Function
enabledMcpServerRefs
( settings: Settings | undefined, )
src/hooks/mutation/sync-agent-profiles.ts:224
↓ 3 callers
Function
encodeRepositoryPath
(repositoryName: string)
src/utils/utils.ts:307
↓ 3 callers
Function
enqueue
Run profile writes one at a time, so each reads the previous one's result.
src/hooks/mutation/sync-agent-profiles.ts:75
↓ 3 callers
Function
ensureCursorVisible
(element: HTMLElement | null)
src/components/features/chat/utils/chat-input.utils.ts:125
↓ 3 callers
Function
extractModelAndProvider
(model: string)
src/utils/extract-model-and-provider.ts:12
↓ 3 callers
Function
extractSettings
( formData: FormData, )
src/utils/settings-utils.ts:18
↓ 3 callers
Function
failure
(error: string, guidance: string)
src/services/child-conversation-launch.ts:95
↓ 3 callers
Method
fetchSettingsFromApi
* Fetch settings from the agent server API with retry logic. * * @param exposeSecrets - Controls how secrets are returned: * - undefined: S
src/api/settings-service/settings-service.api.ts:584
↓ 3 callers
Function
finalizeMcpTestResponse
* Display-boundary post-processing shared by the test and OAuth probes: * scrub secrets from error/tool-result text, then let the catalog entry's *
src/api/mcp-service/mcp-service.api.ts:108
↓ 3 callers
Function
findAutomationCommand
( automation: Pick<RecommendedAutomation, "id" | "skill">, )
src/utils/automation-catalog.ts:449
↓ 3 callers
Function
findFreePort
(preferredPort, host = "127.0.0.1")
scripts/dev-safe.mjs:218
↓ 3 callers
Function
findRepoPickerField
The repository input, which supplies `repos` and an event trigger's source.
src/manifests/automation-setup.ts:197
↓ 3 callers
Function
finish
(afterToken: number, outcome: ContextCompactionOutcome)
src/hooks/use-await-context-compaction.ts:86
↓ 3 callers
Function
finish
(busy)
scripts/dev-safe.mjs:1381
↓ 3 callers
Function
flushPendingTaskAttachments
( taskId: string, conversationId: string, )
src/utils/flush-pending-task-attachments.ts:17
↓ 3 callers
Function
flushRun
(size = minSize)
src/components/conversation-events/chat/group-events.ts:268
↓ 3 callers
Function
formatCommand
(command: readonly string[])
src/utils/acp-command.ts:176
↓ 3 callers
Function
formatCompactTokenCount
(value: number)
src/utils/format-token-count.ts:2
↓ 3 callers
Function
formatConversationTagTooltip
( key: string, value: string, t: (key: I18nKey) => string, )
src/components/features/conversation-panel/conversation-card/conversation-tag-display.ts:144
↓ 3 callers
Function
formatDate
(dateStr: string, locale: string)
src/utils/format-relative-time.ts:3
↓ 3 callers
Function
formatEventOn
(on: string | string[] | undefined)
src/utils/automation-schedule.ts:73
↓ 3 callers
Function
formatTagFacetLabel
( facet: string, t?: (key: I18nKey) => string, )
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:322
↓ 3 callers
Function
getACPToolCallContent
(event: ACPToolCallEvent)
src/components/conversation-events/chat/event-content-helpers/get-acp-tool-call-content.ts:185
↓ 3 callers
Function
getACPToolCallResult
( event: ACPToolCallEvent, )
src/components/conversation-events/chat/event-content-helpers/get-observation-result.ts:14
↓ 3 callers
Function
getAcpProvidersForBackend
( kind: BackendKind, )
src/constants/acp-providers.ts:181
↓ 3 callers
Function
getActionContent
(event: ActionEvent)
src/components/conversation-events/chat/event-content-helpers/get-action-content.ts:218
↓ 3 callers
Function
getActiveCloudBackend
()
src/api/cloud/mcp-service.api.ts:16
↓ 3 callers
Function
getActiveCloudBackend
()
src/api/cloud/secrets-service.api.ts:14
↓ 3 callers
Function
getApiOrConnectionErrorMessage
( error: unknown, fallback: string, )
src/utils/api-error-message.ts:163
↓ 3 callers
Function
getAutomationIcon
( automation: RecommendedAutomation, )
src/utils/automation-catalog.ts:39
↓ 3 callers
Function
getAutomationLaunchPrompt
( automation: RecommendedAutomation, )
src/utils/automation-catalog.ts:466
↓ 3 callers
Function
getAutomationRunDurationMs
( run: AutomationRun, nowMs: number = Date.now(), )
src/components/features/home/featured-automations/automation-run-activity-metrics.ts:23
↓ 3 callers
Function
getAutomationRunFinishToolResponse
( run: AutomationRun, )
src/utils/automation-run-display.ts:55
↓ 3 callers
Function
getAutomationsByPopularity
( catalog: RecommendedAutomation[], )
src/utils/recommended-automation-rail.ts:10
↓ 3 callers
Function
getCachedAgentServerInfo
(options?: { host?: string | null; })
src/api/agent-server-compatibility.ts:135
↓ 3 callers
Function
getCachedAgentServerVersion
( host?: string | null, )
src/api/agent-server-compatibility.ts:195
↓ 3 callers
Function
getCloudOrganizations
( backend?: Backend, )
src/api/cloud/organization-service.api.ts:46
↓ 3 callers
Function
getCloudRepositoryBranches
(args: { provider: Provider; repository: string; query?: string; pageId?: string; limit?: number;
src/api/cloud/git-service.api.ts:112
↓ 3 callers
Function
getCloudTelemetryProperties
( context: CloudTelemetryContextInput | null = null, )
src/services/telemetry-context.ts:69
↓ 3 callers
Function
getColorThemeCss
(key: ColorThemeKey)
src/themes/color-theme/runtime.ts:72
↓ 3 callers
Function
getConnectStage
( connecting: MarsConnectingState | null, session: MarsSession, )
src/components/features/backends/managed-agents/use-session-meta.ts:23
↓ 3 callers
Function
getContextFillTone
(usagePercentage: number)
src/components/features/conversation/usage-panel/context-meter.tsx:14
↓ 3 callers
Function
getConversationServerInfo
( overrides: AgentServerClientOverrides = {}, )
src/api/conversation-workspace.ts:37
↓ 3 callers
Function
getConversationTagIcon
( key: string, value: string, )
src/components/features/conversation-panel/conversation-card/conversation-tag-icons.ts:154
↓ 3 callers
Function
getConversationTagValueLabel
( key: string, value: string, t: (key: I18nKey) => string, )
src/components/features/conversation-panel/conversation-card/conversation-tag-display.ts:131
↓ 3 callers
Function
getCookieAuthCloudHost
()
src/api/agent-server-config.ts:85
↓ 3 callers
Function
getCreateNewBranchPrompt
()
src/utils/utils.ts:453
↓ 3 callers
Function
getCurrentCloudApiKey
( backend?: Backend, )
src/api/cloud/organization-service.api.ts:69
↓ 3 callers
Function
getDashboardSpec
()
src/manifests/automation-interface.ts:241
↓ 3 callers
Function
getDefaultMcpConnectionOption
( entry: MarketplaceEntry, )
src/utils/mcp-marketplace-utils.ts:39
↓ 3 callers
Function
getDefaultMcpTransport
( entry: MarketplaceEntry, )
src/utils/mcp-marketplace-utils.ts:103
↓ 3 callers
Function
getDesktopShell
()
src/utils/desktop-shell.ts:21
↓ 3 callers
Function
getDisablementReasonDisplay
( automation: Pick< Automation, "enabled" | "disabled_reason" | "disabled_detail" >, t: (key: I1
src/utils/automation-disabled-reason.ts:53
↓ 3 callers
Function
getDraftRevisionKey
(conversationId: string)
src/utils/conversation-local-storage.ts:258
↓ 3 callers
Function
getFieldOptions
( name: string, field: SetupFormField, overrides: SetupFieldOverrides = {}, )
src/manifests/manifest-local-validation.ts:153
↓ 3 callers
Function
getFirstAvailablePath
( featureFlags: WebClientFeatureFlags | undefined, )
src/utils/settings-utils.ts:49
↓ 3 callers
Function
getFolderBrowserRootPath
(targetPath: string)
tests/e2e/mock-llm/utils/folder-workspace-paths.ts:30
↓ 3 callers
Function
getGroupConversationPreview
( conversations: readonly AppConversation[], options: GroupConversationPreviewOptions, )
src/components/features/conversation-panel/conversation-panel-list-helpers.ts:132
↓ 3 callers
Method
getHooks
* Hooks of the workspace a local conversation runs in, re-read on each call * so the dialog's Refresh picks up `.openhands/hooks.json` edits. Cloud
src/api/conversation-service/agent-server-conversation-service.api.ts:1136
↓ 3 callers
Function
getInstallableMcpConnectionOptions
( entry: MarketplaceEntry, )
src/utils/mcp-marketplace-utils.ts:86
↓ 3 callers
Function
getIntegrationLogoId
(name: string)
src/utils/automation-catalog.ts:100
↓ 3 callers
Function
getLanguageFromPath
(path: string)
src/utils/get-language-from-path.ts:1
↓ 3 callers
Function
getMockLLMRequests
( request: APIRequestContext, )
tests/e2e/mock-llm/utils/mock-llm-helpers.ts:914
↓ 3 callers
Function
getObservationContent
(event: ObservationEvent)
src/components/conversation-events/chat/event-content-helpers/get-observation-content.ts:388
↓ 3 callers
Function
getOrganizationSuspension
( backendId: string, orgId: string | null, )
src/api/cloud/organization-suspension-store.ts:44
↓ 3 callers
Function
getPR
(isGitLab: boolean)
src/utils/utils.ts:230
↓ 3 callers
Function
getPendingLocalTelemetryRevocationId
()
src/services/telemetry.ts:522
↓ 3 callers
Function
getPlatformSpec
(arch = ARCH, platform = PLATFORM)
scripts/download-uv.mjs:51
← previous
next →
701–800 of 6,870, ranked by callers