Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentCloud/Octop
/ functions
Functions
12,485 in github.com/TencentCloud/Octop
⨍
Functions
12,485
◇
Types & classes
1,527
↳
Endpoints
468
Function
test_browser_probe_stays_offline
()
tests/unit/test_voice_probe.py:64
Function
test_browser_profile_blocks_placeholder_user_zero
(monkeypatch)
tests/unit/agents/test_browser_profile_middleware.py:66
Function
test_browser_profile_blocks_when_user_missing
(monkeypatch)
tests/unit/agents/test_browser_profile_middleware.py:53
Function
test_browser_profile_is_forced_from_current_user
(monkeypatch)
tests/unit/agents/test_browser_profile_middleware.py:19
Method
test_build_answer_decisions
(self)
tests/unit/gateway/test_hitl_ask_user.py:244
Function
test_build_chat_model_includes_provider_id_and_model_name
()
tests/unit/test_provider_probe.py:16
Function
test_build_codex_headers_includes_account_id
()
tests/unit/providers/test_codex_oauth.py:90
Function
test_build_composer_context_includes_model_override
()
tests/unit/api/test_chat_composer_context.py:58
Function
test_build_composer_context_omits_default_model
()
tests/unit/api/test_chat_composer_context.py:43
Function
test_build_content_from_file_part_uses_resolved_path
()
tests/unit/api/test_attachments.py:215
Function
test_build_content_reads_media_backend_key
(tmp_path: Path)
tests/unit/gateway/test_message_build.py:42
Function
test_build_content_text_only
()
tests/unit/gateway/test_message_build.py:19
Function
test_build_content_with_image_data
()
tests/unit/gateway/test_message_build.py:30
Function
test_build_content_with_image_url
()
tests/unit/gateway/test_message_build.py:23
Function
test_build_dashboard_inbound_uses_content_parts_not_messages_meta
()
tests/unit/gateway/test_attachment_hints.py:302
Function
test_build_dida365_remote_spec
()
tests/unit/test_connectors.py:158
Function
test_build_gateway_langchain_tools
()
tests/unit/test_connectors.py:734
Function
test_build_gateway_mcp_spec
()
tests/unit/test_connectors.py:720
Function
test_build_harness_config_accepts_memory_extract_settings
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:170
Function
test_build_harness_config_active_model_ignored_when_unusable
Active model pointing at a disabled/removed provider falls back to first.
tests/unit/agents/test_agent_manager.py:743
Function
test_build_harness_config_applies_usable_aux_model
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:772
Function
test_build_harness_config_auto_expert_falls_back_to_first_model
AUTO expert still gets a concrete default_model so the memory aux LLM works.
tests/unit/agents/test_agent_manager.py:714
Function
test_build_harness_config_defaults_local_shell_backend
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:253
Function
test_build_harness_config_enables_bootstrap_for_expert_template
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:274
Function
test_build_harness_config_explicit_default_wins_over_active
Pinned expert default takes precedence over the global active model.
tests/unit/agents/test_agent_manager.py:753
Function
test_build_harness_config_ignores_stale_aux_model
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:781
Function
test_build_harness_config_includes_cronjob_tools_when_cron_manager_set
( manager: AgentManager, tmp_path: Path, )
tests/unit/agents/test_agent_manager.py:203
Function
test_build_harness_config_includes_existing_skill_package_dirs
(manager: AgentManager)
tests/unit/agents/test_agent_skill_packages.py:205
Function
test_build_harness_config_includes_search_knowledge_without_cron
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:242
Function
test_build_harness_config_keeps_fs_permissions_for_local_shell_guard
local_shell keeps permissions on config; harness mounts FilesystemGuard. Octop must not re-mount the guard (or ModelSettings) via cfg.middleware.
tests/unit/agents/test_agent_manager.py:679
Function
test_build_harness_config_keeps_memory_after_bootstrap
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:304
Function
test_build_harness_config_keeps_system_prompt_after_bootstrap
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:321
Function
test_build_harness_config_no_providers_leaves_default_model_unset
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:765
Function
test_build_harness_config_passes_default_model_without_embedded_providers
default_model is forwarded; providers stay on HarnessAgentManager, not per-agent config.
tests/unit/agents/test_agent_manager.py:793
Function
test_build_harness_config_respects_config_json_backend
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:651
Function
test_build_harness_config_suppresses_system_prompt_while_bootstrap_pending
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:287
Function
test_build_harness_config_tolerates_bad_config_json
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:812
Function
test_build_harness_config_uses_active_model_before_first
AUTO expert default_model follows the global active model when usable.
tests/unit/agents/test_agent_manager.py:724
Function
test_build_harness_config_without_default_model
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:707
Function
test_build_harness_configs_infers_vision_from_model_id
(store: ProviderStore)
tests/unit/agents/test_provider_store.py:254
Function
test_build_harness_configs_maps_context_window_to_max_input_tokens
( store: ProviderStore, )
tests/unit/agents/test_provider_store.py:125
Function
test_build_harness_configs_maps_kind_to_protocol
(store: ProviderStore)
tests/unit/agents/test_provider_store.py:113
Function
test_build_harness_configs_skips_disabled
(store: ProviderStore)
tests/unit/agents/test_provider_store.py:61
Function
test_build_harness_configs_skips_missing_credentials
(store: ProviderStore)
tests/unit/agents/test_provider_store.py:81
Function
test_build_harness_request_with_messages_override
()
tests/unit/gateway/test_message_build.py:81
Function
test_build_install_commands_prefers_uv
(monkeypatch)
tests/unit/utils/test_runtime_packages.py:27
Function
test_build_instance_config_json_includes_description
()
tests/unit/connectors/test_default_open.py:47
Function
test_build_instance_config_json_includes_when_true
()
tests/unit/connectors/test_default_open.py:35
Function
test_build_instance_config_json_omits_when_false
()
tests/unit/connectors/test_default_open.py:23
Function
test_build_log_handler_uses_daily_rotation_and_retention
(tmp_path: Path)
tests/unit/test_logging.py:58
Function
test_build_mcp_configs_merges_enabled_custom
(svc: ConnectorService, db: SqlitePool)
tests/unit/connectors/test_custom_mcp.py:277
Function
test_build_mcp_configs_registers_gateway_without_transport
Gateway connectors register a name-only placeholder; tools inject in-process.
tests/unit/agents/test_agent_manager.py:1331
Function
test_build_mcp_configs_shared_agent_uses_connector_user_override
Shared agents (user_id=NULL) need connector_user_override to resolve connectors.
tests/unit/agents/test_agent_manager.py:1364
Function
test_build_mobile_tools_empty_when_disabled
()
tests/unit/mobile/test_mobile_tools.py:45
Function
test_build_mobile_tools_registers_when_adb_present
()
tests/unit/mobile/test_mobile_tools.py:51
Function
test_build_notion_remote_spec
()
tests/unit/test_connectors.py:103
Function
test_build_plugin_tools_respects_enabled_flag
()
tests/unit/test_plugins.py:39
Function
test_build_plugin_tools_then_sanitize_keeps_config_keys_original
()
tests/unit/test_plugins.py:168
Function
test_build_protected_resource_metadata_urls_path_and_root
()
tests/unit/connectors/test_oauth_discovery.py:26
Function
test_build_protected_resource_metadata_urls_prefers_www_auth_header
()
tests/unit/connectors/test_oauth_discovery.py:34
Function
test_build_redirect_uri_accepts_oauth_callback_path
()
tests/unit/auth/test_public_base.py:48
Function
test_build_redirect_uri_uses_oidc_callback_path
()
tests/unit/auth/test_public_base.py:41
Function
test_build_runtime_picks_user_scope_for_non_root
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/infra/setup/test_service.py:784
Function
test_build_runtime_root_always_system_scope
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/infra/setup/test_service.py:710
Function
test_build_shared_services
(tmp_path: Path)
tests/unit/test_shared.py:15
Function
test_build_status_failure_via_check_keeps_error_code
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_update_router.py:293
Function
test_build_status_success_reports_source
(monkeypatch: pytest.MonkeyPatch)
tests/unit/api/test_update_router.py:281
Function
test_build_team_tools_exposes_list_and_ask
()
tests/unit/agents/test_agent_tools.py:19
Function
test_build_tencent_ardot_remote_spec
()
tests/unit/test_connectors.py:1147
Function
test_build_tencent_lexiang_remote_spec
()
tests/unit/test_connectors.py:1338
Function
test_build_tencent_meeting_remote_spec
()
tests/unit/test_connectors.py:1132
Function
test_build_tencent_remote_spec
()
tests/unit/test_connectors.py:44
Function
test_build_turn_start_emits_explicit_empty_skills_allowlist
()
tests/unit/trajectory/test_turn_context.py:71
Function
test_build_turn_start_includes_system_and_memory_skills_mcp
()
tests/unit/trajectory/test_turn_context.py:20
Function
test_build_turn_start_skips_empty_system_prompt
Empty DB/config prompt must not invent a SYSTEM row.
tests/unit/trajectory/test_turn_context.py:57
Function
test_build_turn_start_skips_system_when_already_present
()
tests/unit/trajectory/test_turn_context.py:44
Function
test_build_upgrade_command_green_packages_target
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/cli/test_update_cmd.py:109
Function
test_build_upgrade_command_pins_stable_without_pre
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/infra/setup/test_self_update.py:70
Function
test_build_upgrade_command_pins_version
()
tests/unit/cli/test_update_cmd.py:101
Function
test_build_upgrade_command_prerelease_flags
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/infra/setup/test_self_update.py:55
Function
test_build_upgrade_command_uses_managed_venv_python
()
tests/unit/cli/test_update_cmd.py:89
Function
test_build_weiyun_remote_spec
()
tests/unit/test_connectors.py:58
Function
test_build_youdao_remote_spec
()
tests/unit/test_connectors.py:1271
Function
test_builtin_tool_available_gates
()
tests/unit/agents/test_tool_catalog.py:69
Function
test_bundled_avatar_ids_discovered_from_public_dir
()
tests/unit/agents/test_expert_catalog.py:73
Function
test_bundled_install_script_exists
()
tests/unit/desktop/test_setup.py:311
Function
test_bundled_install_script_ships_with_package
()
tests/unit/mobile/test_docker_install.py:299
Function
test_bundled_library_en_path_exists
The migration produced ``library/en/`` with 217 agent files.
tests/unit/agents/test_subagent_catalog.py:199
Function
test_bundled_library_non_empty
()
tests/unit/agents/test_subagent_catalog.py:191
Function
test_bundled_library_zh_path_exists
The migration produced ``library/zh/`` with placeholder files.
tests/unit/agents/test_subagent_catalog.py:208
Function
test_bundled_office_automation_discovers_skills
()
tests/unit/agents/test_expert_catalog.py:235
Function
test_bundled_plugin_dirs_have_manifest_and_ui
()
tests/unit/test_bundled_plugins_layout.py:28
Function
test_call_tool_humanizes_errors
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
tests/unit/connectors/test_wecom_cli_errors.py:41
Function
test_callback_bind_links_current_user
(service: SsoService)
tests/unit/auth/test_sso_service.py:403
Function
test_callback_bind_rejects_identity_owned_by_another_user
( service: SsoService, )
tests/unit/auth/test_sso_service.py:426
Function
test_callback_error_redirect_prefers_dashboard_origin
(service: SsoService)
tests/unit/auth/test_sso_service.py:205
Function
test_callback_exchanges_code_and_attaches_login_code
(service: SsoService)
tests/unit/auth/test_sso_service.py:234
Function
test_callback_maps_denied_bad_state_and_invalid_token
(service: SsoService)
tests/unit/auth/test_sso_service.py:214
Function
test_callback_verifies_id_token_against_discovery_issuer
( service: SsoService, )
tests/unit/auth/test_sso_service.py:288
Function
test_cancel_background_task_drops_pending
()
tests/unit/test_launch_bwrap.py:50
← previous
next →
9,301–9,400 of 12,485, ranked by callers