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
_add_eyes_reaction
Best-effort 👀 acknowledgement on the triggering PR comment. Mirrors ``GithubManager._add_reaction``: posted once we've decided the re
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:118
↓ 1 callers
Function
_add_month
(year: int, month: int)
enterprise/server/services/org_budget_service.py:51
↓ 1 callers
Method
_add_reaction
Add a reaction to the GitHub issue, PR, or comment. Args: github_view: The GitHub view object containing issue/PR/comment info
enterprise/integrations/github/github_manager.py:79
↓ 1 callers
Method
_add_system_mcp_servers
Add system-generated MCP servers (default OpenHands server). The default server includes the Tavily search proxy if configured. Tavil
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1254
↓ 1 callers
Function
_append_email_mode_hint
(system_message_suffix: str | None, host: str)
enterprise/integrations/jira_dc/jira_dc_conversation_secret_enricher.py:57
↓ 1 callers
Function
_append_jira_dc_hint
(system_message_suffix: str | None)
enterprise/integrations/jira_dc/jira_dc_conversation_secret_enricher.py:73
↓ 1 callers
Function
_archive_prefix
()
openhands/app_server/sandbox/workspace_archive.py:95
↓ 1 callers
Function
_archive_request_params
Query params for GET /api/file/archive. The tar.gz is the SELF-CONTAINED full capture, so disable the endpoint's default excludes for it: oth
openhands/app_server/sandbox/workspace_archive.py:61
↓ 1 callers
Function
_archive_store_type
()
openhands/app_server/sandbox/workspace_archive.py:155
↓ 1 callers
Function
_archive_timeout
()
openhands/app_server/sandbox/workspace_archive.py:147
↓ 1 callers
Method
_archive_workspace
Archive one workspace via the in-pod agent-server; return may-proceed. Returns True when the workspace was captured, when there was nothing t
openhands/app_server/sandbox/remote_sandbox_service.py:675
↓ 1 callers
Method
_ask_question
( self, httpx_client: httpx.AsyncClient, agent_server_url: str, conversation_i
enterprise/integrations/bitbucket_data_center/bitbucket_dc_v1_callback_processor.py:106
↓ 1 callers
Method
_ask_question
( self, httpx_client: httpx.AsyncClient, agent_server_url: str, conversation_i
enterprise/integrations/azure_devops/azure_devops_v1_callback_processor.py:116
↓ 1 callers
Method
_ask_question
Send a message to the agent server via the V1 API and return response text.
enterprise/integrations/jira_dc/jira_dc_v1_callback_processor.py:164
↓ 1 callers
Method
_ask_question
Send a message to the agent server via the V1 API and return response text.
enterprise/integrations/gitlab/gitlab_v1_callback_processor.py:144
↓ 1 callers
Method
_ask_question
( self, httpx_client: httpx.AsyncClient, agent_server_url: str, conversation_i
enterprise/integrations/bitbucket/bitbucket_v1_callback_processor.py:106
↓ 1 callers
Function
_async_cm_factory
Return a callable that yields ``value`` as an async context manager. Mirrors ``get_*_service(state)``, which is used as ``async with get_x(st
tests/unit/app_server/test_remote_sandbox_service.py:1410
↓ 1 callers
Function
_attachment_extension
(title: str)
enterprise/integrations/slack/slack_attachments.py:289
↓ 1 callers
Function
_attachment_mimetype
(file_info: dict[str, Any], title: str)
enterprise/integrations/slack/slack_attachments.py:281
↓ 1 callers
Function
_authenticate
(reg: MarketplaceRegistration)
openhands/app_server/app_conversation/skill_loader.py:455
↓ 1 callers
Function
_backfill_existing_resend_contacts
Backfill the synced_users table with contacts already in Resend. This ensures that users who were added to Resend before the tracking table e
enterprise/sync/resend_keycloak.py:324
↓ 1 callers
Function
_basic_auth_secret
(authorization: str | None)
enterprise/server/routes/integration/azure_devops.py:72
↓ 1 callers
Method
_build_final_data_structure
Build the final data structure for JSON storage
enterprise/integrations/github/data_collector.py:391
↓ 1 callers
Function
_build_org_agent_settings
(row: Mapping[str, Any])
enterprise/migrations/versions/108_add_agent_settings_to_enterprise_settings.py:103
↓ 1 callers
Function
_build_org_conversation_settings
(row: Mapping[str, Any])
enterprise/migrations/versions/108_add_agent_settings_to_enterprise_settings.py:122
↓ 1 callers
Function
_build_org_member_agent_settings_diff
(row: Mapping[str, Any])
enterprise/migrations/versions/108_add_agent_settings_to_enterprise_settings.py:82
↓ 1 callers
Function
_build_org_member_conversation_settings_diff
( row: Mapping[str, Any], )
enterprise/migrations/versions/108_add_agent_settings_to_enterprise_settings.py:96
↓ 1 callers
Method
_build_response
( model_names: list[str], hidden_model_names: list[str] | None = None, hidden_model_ca
enterprise/server/verified_models/litellm_proxy_model_router.py:159
↓ 1 callers
Function
_build_test_user_agent_settings
(user: SimpleNamespace)
tests/unit/app_server/test_live_status_app_conversation_service.py:80
↓ 1 callers
Function
_build_user_agent_settings
(row: Mapping[str, Any])
enterprise/migrations/versions/108_add_agent_settings_to_enterprise_settings.py:52
↓ 1 callers
Function
_build_user_conversation_settings
(row: Mapping[str, Any])
enterprise/migrations/versions/108_add_agent_settings_to_enterprise_settings.py:71
↓ 1 callers
Function
_bundled_default_image
Image URL of the bundled agent-server: ``<repo>:<version>-python``.
openhands/app_server/sandbox/sandbox_spec_service.py:33
↓ 1 callers
Method
_byok_enabled
Whether BYOK is on. Read from the resolved web-client config so discovery and the UI gate agree on the same value.
enterprise/server/verified_models/litellm_proxy_model_router.py:178
↓ 1 callers
Function
_candidate_repo_paths
Return the global skill-repo paths for an owner, by provider convention. GitHub-style providers expose two independent repos (``.openhands`` and
openhands/app_server/app_conversation/skill_loader.py:200
↓ 1 callers
Function
_carry_omitted_mcp_secrets
( incoming_server: dict[str, Any], existing_server: Mapping[str, Any], submitted_fields: tuple[str
openhands/app_server/settings/settings_models.py:409
↓ 1 callers
Method
_check_agent_server_alive
Check if the agent server is responding to health checks. Args: sandbox: The sandbox info containing exposed URLs htt
openhands/app_server/sandbox/sandbox_service.py:142
↓ 1 callers
Method
_check_openhands_author
(self, name, login)
enterprise/integrations/github/data_collector.py:140
↓ 1 callers
Function
_check_token_type
Returns error message if token type doesn't match, None otherwise.
openhands/app_server/secrets/secrets_router.py:47
↓ 1 callers
Method
_check_tos
(self, request: Request)
enterprise/server/middleware.py:115
↓ 1 callers
Function
_chunked
(values: list[str], size: int)
enterprise/run_budget_maintenance.py:16
↓ 1 callers
Method
_claim_form_interaction
Atomically claim a repo selection form interaction. Slack can deliver multiple button click payloads when a user clicks the form repe
enterprise/integrations/slack/slack_manager.py:217
↓ 1 callers
Function
_classify_error_type
Classify conversation error into broad categories for dashboard filtering. Categories: budget_exceeded, model_error, runtime_error, timeout, user
openhands/app_server/event_callback/webhook_router.py:85
↓ 1 callers
Function
_clean
(repo: str)
enterprise/integrations/utils.py:222
↓ 1 callers
Method
_clean_old_requests
(self, key: str)
openhands/app_server/middleware.py:90
↓ 1 callers
Method
_cleanup_empty_diff
Drop empty nested diffs and collapse empty diff payloads to ``None``.
enterprise/server/routes/org_models.py:345
↓ 1 callers
Method
_clear_org_scoped_caches
Clear cached data that depends on the effective organization.
enterprise/server/auth/saas_user_auth.py:111
↓ 1 callers
Function
_client_for_user
Yield a TestClient scoped to a specific user_id + settings store. Used by multi-user isolation tests; the module-level ``test_client`` fixtur
tests/unit/app_server/test_profiles_api.py:132
↓ 1 callers
Function
_coerce
Validate a raw entry into a model, or None (logged) if invalid.
openhands/app_server/settings/marketplace_composition.py:195
↓ 1 callers
Function
_coerce_dict_secrets
Recursively coerce SecretStr / MCPConfig leaves to plain values.
openhands/app_server/settings/settings_models.py:269
↓ 1 callers
Function
_collect_file_attachment_content
( slack_client: WebClient, bot_access_token: str, file_info: dict[str, Any], )
enterprise/integrations/slack/slack_attachments.py:111
↓ 1 callers
Function
_collect_semantic_split_lines
Walk the AST to find 0-indexed line numbers where splitting is appropriate. A "split-after" line is the last line of a top-level AST child: split
openhands/app_server/utils/chunk_localizer.py:43
↓ 1 callers
Function
_comment_addresses_openhands
(comment: str, bot_ids: set[str] | None)
enterprise/integrations/jira_dc/jira_dc_manager.py:122
↓ 1 callers
Method
_commenter_has_write_access
Check commenter permissions using the installer's Bitbucket DC token. The check confirms whether the commenter has ``REPO_WRITE`` or
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:74
↓ 1 callers
Method
_common_properties
Build the base property dict included on every event.
openhands/analytics/analytics_service.py:550
↓ 1 callers
Method
_configure_llm
Configure LLM settings. Starts from the user's saved LLM configuration and overrides only the fields that the server needs to resolve
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1215
↓ 1 callers
Function
_configured_jira_dc_workspace_name
()
enterprise/server/routes/integration/jira_dc.py:216
↓ 1 callers
Method
_confirm_incoming_source_type
(self, message: Message)
enterprise/integrations/slack/slack_manager.py:84
↓ 1 callers
Function
_consume_remaining
Consume the remaining items from an async iterator
openhands/app_server/app_conversation/app_conversation_router.py:1659
↓ 1 callers
Method
_conversation_export_lock_key
(self, conversation_id: UUID)
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2589
↓ 1 callers
Method
_conversation_export_lock_refresh_interval
(self)
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2592
↓ 1 callers
Method
_conversation_export_lock_required
(self)
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2597
↓ 1 callers
Method
_count_conversations_by_sandbox_id
(self, sandbox_id: str)
enterprise/server/services/org_conversation_service.py:183
↓ 1 callers
Method
_count_events_no_filter
Count all event files in the conversation directory without filtering.
openhands/app_server/event/event_service_base.py:184
↓ 1 callers
Method
_count_openhands_activity
Count OpenHands commits, review comments, and general PR comments
enterprise/integrations/github/data_collector.py:344
↓ 1 callers
Method
_create_agent_with_skills
Create or update agent with skills in its context. Args: agent: The agent to update skills: List of Skill objects to
openhands/app_server/app_conversation/app_conversation_service_base.py:179
↓ 1 callers
Method
_create_async_gcp_engine
(self)
openhands/app_server/services/db_session_injector.py:145
↓ 1 callers
Method
_create_authorization
Create a new user authorization rule.
enterprise/storage/user_authorization_store.py:118
↓ 1 callers
Function
_create_chunks_from_tree_sitter
Create semantically-aware chunks from a tree-sitter parse tree. Args: tree: A tree_sitter.Tree returned by parser.parse(). text:
openhands/app_server/utils/chunk_localizer.py:80
↓ 1 callers
Method
_create_gcp_db_connection
(self)
openhands/app_server/services/db_session_injector.py:76
↓ 1 callers
Method
_create_gcp_engine
(self)
openhands/app_server/services/db_session_injector.py:122
↓ 1 callers
Method
_create_github_issue
Create a GithubIssue instance for testing.
enterprise/tests/unit/test_github_view.py:126
↓ 1 callers
Method
_create_github_v1_callback_processor
Create a V1 callback processor for GitHub integration.
enterprise/integrations/github/github_view.py:247
↓ 1 callers
Method
_create_gitlab_v1_callback_processor
Create a V1 callback processor for GitLab integration.
enterprise/integrations/gitlab/gitlab_view.py:191
↓ 1 callers
Method
_create_jira_dc_v1_callback_processor
Create a V1 callback processor for Jira DC integration.
enterprise/integrations/jira_dc/jira_dc_view.py:161
↓ 1 callers
Method
_create_member_litellm_api_key
Provision org-scoped LiteLLM access and return the member API key.
enterprise/storage/default_org_service.py:274
↓ 1 callers
Function
_create_mock_event
Create a mock event that is not a ConversationStateUpdateEvent.
enterprise/tests/unit/integrations/slack/test_slack_v1_callback_processor.py:34
↓ 1 callers
Method
_create_provider_handler
Build a ProviderHandler for the user, or None if no provider is linked.
enterprise/integrations/jira_dc/jira_dc_manager.py:202
↓ 1 callers
Method
_create_provider_handler
Create a ProviderHandler for the user.
enterprise/integrations/jira/jira_view.py:330
↓ 1 callers
Method
_create_role
(name: str, rank: int, session: AsyncSession)
enterprise/storage/role_store.py:17
↓ 1 callers
Method
_create_slack_v1_callback_processor
Create a SlackV1CallbackProcessor for V1 conversation handling.
enterprise/integrations/slack/slack_view.py:213
↓ 1 callers
Method
_create_v1_conversation
Create conversation using the V1 app conversation system.
enterprise/integrations/jira_dc/jira_dc_view.py:105
↓ 1 callers
Method
_create_v1_conversation
Create conversation using the new V1 app conversation system.
enterprise/integrations/gitlab/gitlab_view.py:129
↓ 1 callers
Method
_create_v1_conversation
Create conversation using the new V1 app conversation system.
enterprise/integrations/slack/slack_view.py:251
↓ 1 callers
Method
_create_v1_conversation
Create conversation using the new V1 app conversation system.
enterprise/integrations/jira/jira_view.py:215
↓ 1 callers
Method
_decrypt_fernet_value
Attempt Fernet decryption using every known key. The legacy Fernet key is derived as ``b64encode(sha256(secret).digest())``, matching
openhands/app_server/services/jwt_service.py:279
↓ 1 callers
Function
_decrypt_json
(value: str)
enterprise/migrations/versions/137_encrypt_member_mcp_config.py:212
↓ 1 callers
Method
_deduplicate_repositories
Remove duplicate repositories based on full_name.
openhands/app_server/integrations/provider.py:396
↓ 1 callers
Method
_delete_authorization
Delete an authorization rule by ID.
enterprise/storage/user_authorization_store.py:165
↓ 1 callers
Method
_delete_sub_conversations
Delete all sub-conversations of a parent conversation. This method handles errors gracefully, continuing to delete remaining sub-conv
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2477
↓ 1 callers
Function
_derive_name_from_source
Best-effort marketplace name from a source string. ``github:owner/repo`` / ``.../owner/repo`` -> ``repo``. Falls back to the raw source when
openhands/app_server/settings/marketplace_composition.py:78
↓ 1 callers
Function
_down_revisions
(value: Any, path: Path, errors: list[str])
scripts/check_enterprise_migration_integrity.py:39
↓ 1 callers
Function
_download_slack_file
(bot_access_token: str, url: str)
enterprise/integrations/slack/slack_attachments.py:198
↓ 1 callers
Function
_effective_org_matches
( *, workspace_id: int, workspace_org_id: UUID, user_context: UserContext, )
enterprise/integrations/jira_dc/jira_dc_conversation_secret_enricher.py:96
↓ 1 callers
Function
_email_mode_hint
(host: str)
enterprise/integrations/jira_dc/jira_dc_conversation_secret_enricher.py:39
↓ 1 callers
Function
_encrypt_json
(value: dict[str, Any])
enterprise/migrations/versions/137_encrypt_member_mcp_config.py:206
↓ 1 callers
Function
_ensure_azure_devops_webhook_secret
()
enterprise/server/routes/integration/azure_devops.py:148
↓ 1 callers
Method
_ensure_membership
( org: Org, user: User, auto_add_users: bool, )
enterprise/storage/default_org_service.py:229
↓ 1 callers
Method
_ensure_url_scheme
(self, secure: bool, url: str | None)
openhands/app_server/file_store/s3.py:196
↓ 1 callers
Function
_enumerate_owners_for_provider
Collect skill-repo owners for a provider: the user's login plus their orgs. Failures are swallowed so that a single provider error never prevents
openhands/app_server/app_conversation/skill_loader.py:221
↓ 1 callers
Function
_env_truthy
(name: str, *aliases: str, default: str = 'false')
enterprise/storage/default_org_service.py:49
← previous
next →
1,901–2,000 of 10,924, ranked by callers