Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
10,924 in github.com/OpenHands/OpenHands
⨍
Functions
10,924
◇
Types & classes
2,163
↳
Endpoints
725
↓ 1 callers
Method
authenticate
* Authenticate with GitHub token * @param appMode The application mode (saas or oss) * @returns Response with authentication status and user inf
frontend/src/api/auth-service/auth-service.api.ts:14
↓ 1 callers
Method
authenticate_user
Authenticate Jira DC user and get their OpenHands user auth.
enterprise/integrations/jira_dc/jira_dc_manager.py:152
↓ 1 callers
Function
authorize_permission
Enforce that ``user_id`` has ``permission`` in the request's target org. Raises ``HTTPException(403)`` otherwise. Programmatic counterpart to
enterprise/server/auth/authorization.py:359
↓ 1 callers
Method
authorize_user
Determine whether the info given is permitted.
enterprise/server/auth/user/user_authorizer.py:24
↓ 1 callers
Function
autoLoadChanged
(mp: MarketplaceRegistration)
frontend/src/routes/skills-settings.tsx:348
↓ 1 callers
Method
batchGetSandboxes
* Batch get V1 sandboxes by their IDs * Returns null for any missing sandboxes
frontend/src/api/sandbox-service/sandbox-service.api.ts:47
↓ 1 callers
Method
batch_get_app_conversation_info
Get a batch of conversation info, return None for any missing.
openhands/app_server/app_conversation/app_conversation_info_service.py:53
↓ 1 callers
Method
batch_get_app_conversation_start_tasks
Get a batch of start tasks, return None for any missing.
openhands/app_server/app_conversation/sql_app_conversation_start_task_service.py:189
↓ 1 callers
Method
batch_get_app_conversations
Get a batch of sandboxed conversations, returning None for any missing.
openhands/app_server/app_conversation/app_conversation_service.py:70
↓ 1 callers
Method
batch_get_events
Given a list of ids, get events (Or none for any which were not found).
openhands/app_server/event/event_service.py:64
↓ 1 callers
Method
batch_get_sandbox_specs
Get a batch of sandbox specs, returning None for any not found.
openhands/app_server/sandbox/sandbox_spec_service.py:64
↓ 1 callers
Function
batch_get_shared_events
Get a batch of events for a shared conversation given their ids, returning null for any missing event.
enterprise/server/sharing/shared_event_router.py:167
↓ 1 callers
Function
bg_task
()
tests/unit/utils/test_async_utils.py:125
↓ 1 callers
Function
buildEmailIdentity
( email?: string | null, )
frontend/src/hooks/use-reo-tracking.ts:26
↓ 1 callers
Function
buildField
( overrides: Partial<SettingsFieldSchema> = {}, )
frontend/__tests__/components/features/settings/sdk-settings/schema-field.test.tsx:16
↓ 1 callers
Function
buildJiraDcEventsUrl
(workspaceId?: number, serverEventsUrl?: string)
frontend/src/components/features/settings/project-management/configure-modal.tsx:60
↓ 1 callers
Function
buildJiraDcEventsUrl
(workspaceId?: number, serverEventsUrl?: string)
frontend/src/components/features/settings/project-management/jira-dc-integration-panel.tsx:30
↓ 1 callers
Function
buildModelId
(provider: string | null, model: string | null)
frontend/src/routes/llm-settings.tsx:64
↓ 1 callers
Function
buildOrgId
(provider: string, name: string)
frontend/src/hooks/organizations/use-git-conversation-routing.ts:10
↓ 1 callers
Function
buildProviders
( overrides: Partial<Record<Provider, ProviderToken>> = {}, )
frontend/__tests__/hooks/mutation/use-add-git-providers.test.tsx:21
↓ 1 callers
Function
buildRenderedItem
( item: SettingsNavItem, )
frontend/src/hooks/use-settings-nav-items.ts:110
↓ 1 callers
Function
buildReoIdentity
( user: { login: string; email?: string | null; name?: string | null; company?: string | nul
frontend/src/hooks/use-reo-tracking.ts:66
↓ 1 callers
Function
buildSavableSettings
()
frontend/__tests__/components/features/settings/sdk-settings/sdk-section-page.test.tsx:44
↓ 1 callers
Function
buildSettings
(overrides: Partial<Settings> = {})
frontend/__tests__/routes/verification-settings.test.tsx:22
↓ 1 callers
Function
buildSettings
(overrides: Partial<Settings> = {})
frontend/__tests__/routes/mcp-settings.test.tsx:15
↓ 1 callers
Function
buildSettingsWithAdvancedToggle
( overrides: Partial<Settings> = {}, )
frontend/__tests__/routes/llm-settings.test.tsx:188
↓ 1 callers
Method
build_invitation_url
Build the absolute acceptance URL for an invitation token. WEB_HOST may be configured as a bare hostname (the OHE chart sets it that
enterprise/server/services/smtp_email_service.py:117
↓ 1 callers
Function
build_litellm_proxy_model_path
Build the LiteLLM proxy model path based on model name. Args: model_name: The base model name (e.g., 'claude-3-7-sonnet-20250219') R
enterprise/server/constants.py:151
↓ 1 callers
Function
build_prompt
(repository: str, issue: dict[str, Any])
scripts/issue_duplicate_check_openhands.py:142
↓ 1 callers
Function
build_prompt
(repository: str, issue: dict[str, Any])
scripts/issue_good_first_issue_check_openhands.py:160
↓ 1 callers
Function
canAssignUserRole
(member: OrganizationMember)
frontend/src/routes/manage-organization-members.tsx:141
↓ 1 callers
Function
canFitTerminal
( terminalInstance: Terminal | null, fitAddonInstance: FitAddon | null, containerElement: HTMLDivElement
frontend/src/hooks/use-terminal.ts:37
↓ 1 callers
Function
cancelEditing
()
frontend/src/components/features/budgets/budgets.tsx:332
↓ 1 callers
Function
capitalize
(s: string)
frontend/src/utils/format-llm-model.ts:1
↓ 1 callers
Function
changeMemberRole
( memberElement: HTMLElement, currentRole: string, newRole: string, )
frontend/__tests__/routes/manage-organization-members.test.tsx:200
↓ 1 callers
Function
checkForEmailVerificationError
(data: any)
frontend/src/api/open-hands-axios.ts:9
↓ 1 callers
Function
checkOverflow
()
openhands-ui/components/tabs/hooks/use-element-overflow.tsx:16
↓ 1 callers
Function
check_group_webhook
(group)
enterprise/server/routes/integration/gitlab.py:182
↓ 1 callers
Function
check_migration_integrity
(versions_dir: Path = DEFAULT_VERSIONS_DIR)
scripts/check_enterprise_migration_integrity.py:57
↓ 1 callers
Function
check_project_webhook
(project)
enterprise/server/routes/integration/gitlab.py:175
↓ 1 callers
Method
check_rate_limit
Check if the client is polling too fast. Returns: tuple: (is_too_fast, current_interval) - is_too_fast: True if c
enterprise/storage/device_code.py:91
↓ 1 callers
Method
check_resource_exists
Check if resource exists and the user has access to it. Args: resource_type: The type of resource resource_i
enterprise/integrations/gitlab/gitlab_service.py:326
↓ 1 callers
Method
clean_old_convos
Clean up proactive conversation records that are older than the specified time. Args: older_than_minutes: Number of minu
enterprise/storage/proactive_conversation_store.py:130
↓ 1 callers
Function
clear
()
frontend/src/components/shared/modals/settings/model-selector.tsx:133
↓ 1 callers
Function
clearEnterpriseFormData
(formType: EnterpriseFormType)
frontend/src/utils/local-storage.ts:118
↓ 1 callers
Function
clearFileInput
(element: HTMLInputElement | null)
frontend/src/components/features/chat/utils/chat-input.utils.ts:44
↓ 1 callers
Function
clearLoadingStates
(validFiles: File[], validImages: File[])
frontend/src/components/features/chat/interactive-chat-box.tsx:107
↓ 1 callers
Function
clearTextContent
(element: HTMLDivElement | null)
frontend/src/components/features/chat/utils/chat-input.utils.ts:35
↓ 1 callers
Function
clickOnEditButton
( user: UserEvent, container?: HTMLElement, )
frontend/__tests__/components/features/conversation-panel/utils.ts:4
↓ 1 callers
Method
client
Lazily initialize the reCAPTCHA client to avoid credential errors at import time.
enterprise/server/auth/recaptcha_service.py:39
↓ 1 callers
Function
clientLoader
({ request }: { request: Request })
frontend/src/routes/onboarding-form.tsx:66
↓ 1 callers
Function
clientLoader
({ request }: Route.ClientLoaderArgs)
frontend/src/routes/settings.tsx:53
↓ 1 callers
Method
clone_or_init_git_repo
( self, task: AppConversationStartTask, workspace: AsyncRemoteWorkspace, sandb
openhands/app_server/app_conversation/app_conversation_service_base.py:342
↓ 1 callers
Function
closeDropdown
()
frontend/__tests__/routes/manage-organization-members.test.tsx:311
↓ 1 callers
Function
close_issue_as_duplicate
( repository: str, issue_number: int, canonical_issue_number: int, *, dry_run: bool, )
scripts/auto_close_duplicate_issues.py:293
↓ 1 callers
Function
combine_lifespans
(*lifespans)
openhands/app_server/app.py:36
↓ 1 callers
Method
commit
(self)
enterprise/tests/unit/test_maintenance_task_runner_standalone.py:424
↓ 1 callers
Function
compareVersions
(v1, v2)
frontend/scripts/detect-node-version.js:5
↓ 1 callers
Function
constructBranchUrl
( provider: Provider, repositoryName: string, branchName: string, host?: string | null, )
frontend/src/utils/utils.ts:282
↓ 1 callers
Function
constructRepositoryUrl
( provider: Provider, repositoryName: string, host?: string | null, )
frontend/src/utils/utils.ts:255
↓ 1 callers
Function
containsPRUrl
(text: string)
frontend/src/utils/parse-pr-url.ts:45
↓ 1 callers
Function
conversationWebSocketTestSetup
()
frontend/__tests__/helpers/msw-websocket-setup.ts:43
↓ 1 callers
Function
convertImageToBase64
(file: File)
frontend/src/utils/convert-image-to-base-64.ts:1
↓ 1 callers
Function
convert_yaml_to_env
Converts a YAML file into .env file format for specified target parameters under 'stringData' and 'data'. :param yaml_file: Path to the YAML file
enterprise/enterprise_local/convert_to_env.py:8
↓ 1 callers
Function
coro_with_args
(a, b, multiplier=1)
tests/unit/utils/test_async_utils.py:308
↓ 1 callers
Method
count_app_conversation_start_tasks
Count conversation start tasks.
openhands/app_server/app_conversation/sql_app_conversation_start_task_service.py:158
↓ 1 callers
Method
count_pending_messages
Count pending messages for a conversation.
openhands/app_server/pending_messages/pending_message_service.py:58
↓ 1 callers
Method
createApiKey
* Create a new API key * @param input - Key name, optional active-window bounds, and optional * org binding (see ``CreateApiKeyInput.org_id``)
frontend/src/api/api-keys.ts:62
↓ 1 callers
Function
createAxiosError
( status: number, statusText: string, data: unknown, )
frontend/test-utils.tsx:142
↓ 1 callers
Function
createAxiosError
(status: number, headers?: unknown)
frontend/__tests__/utils/rate-limit-retry.test.ts:8
↓ 1 callers
Function
createBashActionEvent
( id: string, command: string, thoughtText: string, )
frontend/__tests__/components/v1/chat/event-message-think-action.test.tsx:57
↓ 1 callers
Method
createCheckoutSession
* Create a Stripe checkout session for credit purchase * @param amount The amount to charge in dollars * @returns The redirect URL for the check
frontend/src/api/billing-service/billing-service.api.ts:12
↓ 1 callers
Function
createConfig
( featureFlagOverrides: Partial<WebClientConfig["feature_flags"]> = {}, )
frontend/__tests__/utils/billing-visibility.test.ts:6
↓ 1 callers
Function
createConversation
()
frontend/__tests__/hooks/query/use-user-conversation.test.tsx:10
↓ 1 callers
Function
createConversation
()
frontend/__tests__/hooks/mutation/use-unified-resume-conversation-sandbox.test.tsx:20
↓ 1 callers
Function
createDragEndHandler
( isMobile: boolean, handleDragMove: (event: MouseEvent | TouchEvent) => void, )
frontend/src/hooks/use-drag-resize.ts:72
↓ 1 callers
Function
createDragMoveHandler
(startY: number, startHeight: number)
frontend/src/hooks/use-drag-resize.ts:33
↓ 1 callers
Function
createMinimalOrg
( id: string, name: string, is_personal?: boolean, )
frontend/__tests__/hooks/query/use-organizations.test.tsx:30
↓ 1 callers
Function
createMockBrowserNavigateActionEvent
( url: string = "https://example.com", )
frontend/src/mocks/mock-ws-helpers.ts:217
↓ 1 callers
Function
createMockBrowserObservationEvent
( screenshotData: string | null = "base64-screenshot-data", output: string = "Browser action completed",
frontend/src/mocks/mock-ws-helpers.ts:195
↓ 1 callers
Function
createMockChatInputRef
(initialContent = "")
frontend/__tests__/hooks/use-draft-persistence.test.tsx:22
↓ 1 callers
Function
createMockConfig
( overrides: Omit<Partial<WebClientConfig>, "feature_flags"> & { feature_flags?: Partial<WebClientConfig
frontend/__tests__/components/features/sidebar/sidebar.test.tsx:16
↓ 1 callers
Function
createMockConversation
(overrides: Partial<V1AppConversation> = {})
frontend/__tests__/components/features/conversation-panel/conversation-panel.test.tsx:23
↓ 1 callers
Function
createMockConversationErrorEvent
( overrides: Partial<ConversationErrorEvent> = {}, )
frontend/src/mocks/mock-ws-helpers.ts:248
↓ 1 callers
Function
createMockExecuteBashActionEvent
( command: string = "ls -la", )
frontend/src/mocks/mock-ws-helpers.ts:139
↓ 1 callers
Function
createMockExecuteBashObservationEvent
( content: string = "total 24\ndrwxr-xr-x 5 user staff 160 Jan 10 12:00 .", command: string = "ls -la",
frontend/src/mocks/mock-ws-helpers.ts:171
↓ 1 callers
Function
createMockMessageEvent
( overrides: Partial<MessageEvent> = {}, )
frontend/src/mocks/mock-ws-helpers.ts:88
↓ 1 callers
Function
createMockRequest
(pathname: string = "/settings/billing")
frontend/__tests__/utils/permission-guard.test.ts:50
↓ 1 callers
Function
createMockRequest
(pathname: string)
frontend/__tests__/routes/settings.test.tsx:1064
↓ 1 callers
Function
createMockScrollElement
* Creates a mock scroll element with a trackable scrollTop setter. * * state.scrollTop can be set directly (bypassing the spy) to position * the el
frontend/__tests__/hooks/use-scroll-to-bottom.test.ts:12
↓ 1 callers
Function
createMockSecretsPage
( secrets: CustomSecretWithoutValue[], )
frontend/__tests__/routes/secrets-settings.test.tsx:30
↓ 1 callers
Function
createMockServerErrorEvent
( overrides: Partial<ServerErrorEvent> = {}, )
frontend/src/mocks/mock-ws-helpers.ts:264
↓ 1 callers
Function
createMockTask
( status: V1AppConversationStartTask["status"], appConversationId: string | null = null, )
frontend/__tests__/hooks/query/use-sub-conversation-task-polling.test.tsx:33
↓ 1 callers
Function
createMockUser
( overrides: Partial<OrganizationMember> = {}, )
frontend/__tests__/routes/billing.test.tsx:90
↓ 1 callers
Function
createMockUser
( overrides: Partial<OrganizationMember> = {}, )
frontend/__tests__/routes/secrets-settings.test.tsx:83
↓ 1 callers
Function
createMockUserMessageEvent
( overrides: Partial<MessageEvent> = {}, )
frontend/src/mocks/mock-ws-helpers.ts:106
↓ 1 callers
Function
createOrg
(overrides: Partial<GitOrg> = {})
frontend/__tests__/components/features/org/claim-button.test.tsx:11
↓ 1 callers
Function
createOrg
(overrides: Partial<GitOrg> = {})
frontend/__tests__/components/features/org/git-org-row.test.tsx:7
↓ 1 callers
Function
createOtherActionEvent
(id: string)
frontend/test-utils.tsx:196
↓ 1 callers
Function
createOtherObservationEvent
(id: string)
frontend/__tests__/components/v1/chat/hooks/use-plan-preview-events.test.ts:52
← previous
next →
2,301–2,400 of 10,924, ranked by callers