Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
10,856 in github.com/OpenHands/OpenHands
⨍
Functions
10,856
◇
Types & classes
2,162
↳
Endpoints
725
↓ 4 callers
Function
getProviderName
(gitProvider: Provider)
frontend/src/utils/utils.ts:201
↓ 4 callers
Function
getRateLimitRetryDelayMs
(error: unknown)
frontend/src/utils/rate-limit-retry.ts:39
↓ 4 callers
Function
getRenderedV1Events
( events: ReadonlyArray<OpenHandsEvent | OpenHandsParsedEvent>, )
frontend/src/components/v1/chat/event-content-helpers/should-render-event.ts:94
↓ 4 callers
Function
getSettingValue
( settings: Settings, key: string, source: SettingsValueSource = "agent_settings", )
frontend/src/utils/sdk-settings-schema.ts:74
↓ 4 callers
Method
get_app_conversation_start_task
Get a single start task, returning None if missing.
openhands/app_server/app_conversation/app_conversation_start_task_service.py:38
↓ 4 callers
Method
get_claim_by_provider_and_git_org
Check if a Git organization is already claimed. Args: provider: Git provider name git_organization: Name of the Git o
enterprise/storage/org_git_claim_store.py:63
↓ 4 callers
Method
get_config
(self)
enterprise/server/config.py:143
↓ 4 callers
Method
get_conversation_settings_from_org
(org: Org)
enterprise/storage/org_store.py:89
↓ 4 callers
Method
get_default_sandbox_spec
(self)
tests/unit/app_server/test_process_sandbox_service.py:32
↓ 4 callers
Function
get_default_sandbox_specs
()
openhands/app_server/sandbox/remote_sandbox_spec_service.py:21
↓ 4 callers
Function
get_engine
(db_url: str)
enterprise/scripts/standalone_server.py:85
↓ 4 callers
Method
get_github_organizations
(self)
openhands/app_server/integrations/provider.py:247
↓ 4 callers
Method
get_issue_or_pr_title_and_body
Get the title and body of an issue. Args: repository: Repository name in format 'owner/repo' issue_number: The issue
openhands/app_server/integrations/github/service/resolver.py:19
↓ 4 callers
Method
get_jwt_service
(self)
openhands/app_server/services/jwt_service.py:314
↓ 4 callers
Method
get_latest_token
Get the latest token for the provider type given
openhands/app_server/user/user_context.py:81
↓ 4 callers
Method
get_latest_token
(self)
enterprise/integrations/azure_devops/azure_devops_service.py:41
↓ 4 callers
Method
get_model
Get a model by its composite key (model_name, provider). Args: model_name: The model identifier provider: The provide
enterprise/server/verified_models/verified_model_service.py:127
↓ 4 callers
Function
get_or_create_api_key_for_user
Get or create an API key for a user on behalf of the automations service. If a key with the given name already exists for the user/org and i
enterprise/server/routes/service.py:112
↓ 4 callers
Function
get_or_create_install_id
Return a stable install UUID for an OSS installation. On first call, generates a new UUID4, writes it to ``{persistence_dir}/analytics_id.txt
openhands/analytics/oss_install_id.py:11
↓ 4 callers
Method
get_org_by_id
Get organization by ID with membership validation. This method verifies that the user is a member of the organization before
enterprise/storage/org_service.py:697
↓ 4 callers
Method
get_org_by_name
Get organization by name.
enterprise/storage/org_store.py:191
↓ 4 callers
Function
get_project_dir_for_hooks
Get the project directory path for loading hooks. When a repository is selected, hooks are loaded from {working_dir}/{repo_name}/.openhands/h
openhands/app_server/app_conversation/hook_loader.py:19
↓ 4 callers
Function
get_sandbox_spec_service
( state: InjectorState, request: Request | None = None )
openhands/app_server/config.py:460
↓ 4 callers
Method
get_suggested_tasks
Get suggested tasks from providers
openhands/app_server/integrations/provider.py:313
↓ 4 callers
Method
get_team_bot_token
Get a team's bot access token by team_id
enterprise/storage/slack_team_store.py:12
↓ 4 callers
Function
get_top_k_chunk_matches
Get the top k chunks in the text that match the query. The query could be a string of draft code edits. Args: text: The text to sear
openhands/app_server/utils/chunk_localizer.py:184
↓ 4 callers
Method
get_user_app_settings
Get user app settings. User ID is obtained from the injected user_context. Returns: UserAppSettingsResponse: The user's
enterprise/server/services/user_app_settings_service.py:32
↓ 4 callers
Method
get_user_emails
Fetch the authenticated user's email addresses from GitHub. Calls GET /user/emails which returns a list of email objects, each contai
openhands/app_server/integrations/github/service/base.py:124
↓ 4 callers
Method
get_user_settings_store
(self)
enterprise/server/auth/saas_user_auth.py:589
↓ 4 callers
Method
get_webhook_secret
Gets webhook secret given the webhook uuid and admin keycloak user id
enterprise/storage/gitlab_webhook_store.py:199
↓ 4 callers
Method
get_workspace_name_from_payload
Extract workspace name from Jira webhook payload. This method is used by the route for signature verification.
enterprise/integrations/jira/jira_manager.py:397
↓ 4 callers
Function
gitlab_events
( request: Request, x_gitlab_token: str = Header(None), x_openhands_webhook_id: str = Header(None)
enterprise/server/routes/integration/gitlab.py:83
↓ 4 callers
Method
grant_super_admin
Grant the instance-level super-admin role to an existing user. Sets ``user.role_id`` to the ``admin`` role row. Idempotent: if the us
enterprise/storage/user_store.py:920
↓ 4 callers
Function
handleEventForUI
( event: OpenHandsEvent, uiEvents: OpenHandsEvent[], )
frontend/src/utils/handle-event-for-ui.ts:293
↓ 4 callers
Method
has_contribute_access
Whether the caller has GenericContribute (write) on the repo. Fails closed: missing ids or any error returns False.
enterprise/integrations/azure_devops/azure_devops_service.py:130
↓ 4 callers
Function
has_plus_modifier
Check if an email address contains a + modifier. Args: email: The email address to check Returns: True if email contains + b
enterprise/server/auth/email_validation.py:35
↓ 4 callers
Method
hash_account_id
Hash email using SHA256-HMAC for Account Defender. Args: email: The user's email address. Returns: Hex-encod
enterprise/server/auth/recaptcha_service.py:45
↓ 4 callers
Function
inferInitialView
( settings: Settings, schemaOverride?: SettingsSchema | null, source: SettingsValueSource = "agent_setti
frontend/src/utils/sdk-settings-schema.ts:241
↓ 4 callers
Function
init_analytics_service
Create and store the module-level AnalyticsService singleton. Returns the newly created instance. Subsequent calls to :func:`get_analytics_se
openhands/analytics/__init__.py:28
↓ 4 callers
Method
initialize_new_conversation
Initialize a new conversation and return the conversation ID. This method resolves the target organization and generates a new conver
enterprise/integrations/types.py:58
↓ 4 callers
Method
inject
( self, state: InjectorState, request: Request | None = None )
openhands/app_server/config_api/default_llm_model_service.py:274
↓ 4 callers
Method
inject
( self, state: InjectorState, request: Request | None = None )
enterprise/server/sharing/google_cloud_shared_event_service.py:138
↓ 4 callers
Function
invalidateProfileCaches
( queryClient: ReturnType<typeof useQueryClient>, orgId: string | null | undefined, )
frontend/src/hooks/mutation/use-org-llm-profile-mutations.ts:13
↓ 4 callers
Function
isAgentErrorEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:71
↓ 4 callers
Function
isMessageEvent
(event: OpenHandsEvent)
frontend/src/types/v1/type-guards.ts:85
↓ 4 callers
Function
isRateLimitError
(error: unknown)
frontend/src/utils/rate-limit-retry.ts:34
↓ 4 callers
Function
isTaskConversationId
(conversationId: string)
frontend/src/utils/conversation-local-storage.ts:72
↓ 4 callers
Function
isUserMessageEvent
( event: OpenHandsEvent, )
frontend/src/types/v1/type-guards.ts:95
↓ 4 callers
Function
isValidEmail
(email: string)
frontend/src/utils/input-validation.ts:9
↓ 4 callers
Function
is_custom_sandbox_spec
True when the sandbox spec differs from the bundled release default (e.g. a custom image registered via runtime-api). The bundled spec always matc
openhands/app_server/sandbox/sandbox_spec_service.py:141
↓ 4 callers
Method
is_pending
Check if the device code is still pending authorization.
enterprise/storage/device_code.py:69
↓ 4 callers
Method
is_pr_open
Check if a PR is still active (not closed/merged). Args: repository: Repository name in format 'owner/repo' pr_number
openhands/app_server/integrations/service_types.py:323
↓ 4 callers
Function
is_valid_env_var_name
Check if a name is valid for use as an environment variable.
openhands/app_server/utils/env_var_validation.py:9
↓ 4 callers
Function
jira_events
Handle Jira webhook events.
enterprise/server/routes/integration/jira.py:283
↓ 4 callers
Function
loadFeatureFlag
( flagName: string, defaultValue: boolean = false, )
frontend/src/utils/feature-flags.ts:1
↓ 4 callers
Method
load_org_token
Load a GitHub App installation token. Args: installation_id: GitHub installation ID (integer or string) Returns:
enterprise/server/auth/token_manager.py:1006
↓ 4 callers
Function
mark_openhands_comment
(comment: str)
enterprise/integrations/azure_devops/azure_devops_view.py:45
↓ 4 callers
Function
markdown_to_jira_markup
Convert markdown text to Jira Wiki Markup format. This function handles common markdown elements and converts them to their Jira Wiki Mar
enterprise/integrations/utils.py:290
↓ 4 callers
Function
marketplace_plugin_loading_enabled
Whether composed marketplaces are sent to the agent-server at conversation start so their ``auto_load`` plugins are loaded. Enabled by defaul
openhands/app_server/settings/marketplace_composition.py:41
↓ 4 callers
Function
next_task
(session)
enterprise/run_maintenance_tasks.py:62
↓ 4 callers
Function
normalized_lcs
Calculate the normalized Longest Common Subsequence (LCS) to compare file chunk with the query (e.g. edit draft). We normalize Longest Common Sub
openhands/app_server/utils/chunk_localizer.py:170
↓ 4 callers
Function
onTabChange
(value: ConversationTab | null)
frontend/src/hooks/use-select-conversation-tab.ts:26
↓ 4 callers
Function
openhands_headers
()
scripts/issue_duplicate_check_openhands.py:87
↓ 4 callers
Function
openhands_headers
()
scripts/issue_good_first_issue_check_openhands.py:87
↓ 4 callers
Method
pull_missing_specs
(self)
openhands/app_server/sandbox/docker_sandbox_spec_service.py:78
↓ 4 callers
Method
record_login
Record a successful login for a user.
enterprise/storage/user_store.py:206
↓ 4 callers
Method
remove_user_from_org
Remove a user from an organization.
enterprise/storage/org_member_store.py:135
↓ 4 callers
Function
renderManageOrganizationMembers
()
frontend/__tests__/routes/manage-organization-members.test.tsx:162
↓ 4 callers
Function
resolveAgentChip
( agentKind: AgentKind | undefined, llmModel: string | null | undefined, acpServer?: string | null, ac
frontend/src/utils/agent-display-label.ts:65
↓ 4 callers
Function
resolve_llm_base_url
Resolve the ``base_url`` to persist for an LLM configuration. Single source of truth for two code paths that otherwise duplicated the same lo
openhands/app_server/utils/llm.py:118
↓ 4 callers
Function
saas_user_auth_from_cookie
(request: Request)
enterprise/server/auth/saas_user_auth.py:809
↓ 4 callers
Method
saveProfile
( name: string, request: SaveLlmProfileRequest = {}, )
frontend/src/api/settings-service/profiles-service.api.ts:36
↓ 4 callers
Method
search_llm_models
Search models with optional filtering and pagination. Args: query: Case-insensitive substring match on the model name.
openhands/app_server/config_api/llm_model_service.py:19
↓ 4 callers
Function
session_maker
(engine)
enterprise/tests/unit/test_models.py:24
↓ 4 callers
Function
should_use_direct_llm_defaults
Whether defaults should point directly at an OpenAI-compatible endpoint.
enterprise/server/constants.py:174
↓ 4 callers
Method
store_org_token
Store a GitHub App installation token. Args: installation_id: GitHub installation ID (integer or string) installation
enterprise/server/auth/token_manager.py:977
↓ 4 callers
Function
table
({ children, }: React.ClassAttributes<HTMLTableElement> & React.TableHTMLAttributes<HTMLTableElement> &
frontend/src/components/features/markdown/table.tsx:5
↓ 4 callers
Method
update_org
Update organization details from a validated OrgUpdate payload.
enterprise/storage/org_store.py:361
↓ 4 callers
Method
update_org_app_settings
Update organization app settings. Only updates fields that are explicitly provided in update_data. User ID is obtained from the injec
enterprise/server/services/org_app_settings_service.py:85
↓ 4 callers
Method
update_org_defaults_async
Backward-compatible wrapper for org-defaults updates.
enterprise/storage/org_store.py:871
↓ 4 callers
Method
update_user_app_settings
Update user app settings. Only updates fields that are explicitly provided in update_data. User ID is obtained from the injected user
enterprise/server/services/user_app_settings_service.py:60
↓ 4 callers
Method
update_verified_model
Update an existing verified model. Args: model_name: The model name to update provider: The provider name
enterprise/server/verified_models/verified_model_service.py:182
↓ 4 callers
Method
update_webhook
Update a webhook entry based on project_id or group_id. Args: webhook: GitlabWebhook object containing the updated fields and eit
enterprise/storage/gitlab_webhook_store.py:78
↓ 4 callers
Method
update_workspace
Update an existing Jira workspace with encrypted sensitive data.
enterprise/storage/jira_integration_store.py:47
↓ 4 callers
Method
upsert_webhook_enrollment
( self, *, project_key: str, repo_slug: str, user_id: str, web
enterprise/storage/bitbucket_dc_webhook_store.py:134
↓ 4 callers
Function
useAuthUrl
(config: UseAuthUrlConfig)
frontend/src/hooks/use-auth-url.ts:10
↓ 4 callers
Function
useBreakpoint
(breakpoint: number = MOBILE_BREAKPOINT)
frontend/src/hooks/use-breakpoint.ts:13
↓ 4 callers
Function
useClientAnalytics
()
frontend/src/hooks/use-client-analytics.ts:12
↓ 4 callers
Function
useConversationLocalStorageState
(conversationId: string)
frontend/src/utils/conversation-local-storage.ts:153
↓ 4 callers
Function
useDebounce
(value: T, delay: number)
frontend/src/hooks/use-debounce.ts:3
↓ 4 callers
Function
useHandleBuildPlanClick
()
frontend/src/hooks/use-handle-build-plan-click.ts:13
↓ 4 callers
Function
useInvitation
()
frontend/src/hooks/use-invitation.ts:38
↓ 4 callers
Function
useIsCreatingConversation
()
frontend/src/hooks/use-is-creating-conversation.ts:4
↓ 4 callers
Function
useScrollToBottom
(scrollRef: RefObject<HTMLDivElement | null>)
frontend/src/hooks/use-scroll-to-bottom.ts:3
↓ 4 callers
Function
useShouldHideOrgSelector
()
frontend/src/hooks/use-should-hide-org-selector.ts:4
↓ 4 callers
Function
useSubConversationTaskPolling
( taskId: string | null, parentConversationId: string | null, )
frontend/src/hooks/query/use-sub-conversation-task-polling.ts:22
↓ 4 callers
Function
useTaskList
()
frontend/src/hooks/use-task-list.ts:50
↓ 4 callers
Function
useUnifiedPauseConversationSandbox
()
frontend/src/hooks/mutation/use-unified-stop-conversation.ts:19
↓ 4 callers
Function
useUserConversation
( cid: string | null, refetchInterval?: RefetchInterval, )
frontend/src/hooks/query/use-user-conversation.ts:23
↓ 4 callers
Function
validate_env_var_name
Validate that a name is valid for use as an environment variable. Raises: ValueError: If the name is invalid.
openhands/app_server/utils/env_var_validation.py:14
← previous
next →
901–1,000 of 10,856, ranked by callers