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_is_offload_placeholder_block_rejects_unrelated_text
()
tests/unit/api/test_chat_polish.py:288
Function
test_is_onnx_local_provider
()
tests/unit/agents/test_model_flags.py:41
Function
test_is_opencode_go_base_url
(base_url: str | None, expected: bool)
tests/unit/providers/test_opencode_session.py:40
Function
test_is_prerelease
()
tests/unit/infra/setup/test_self_update.py:24
Function
test_is_shared_default_zero_and_list_shared
(db)
tests/unit/db/test_agent_is_shared.py:21
Function
test_is_within_host_home
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_host_dirs.py:191
Function
test_isolated_history_reads_compact_checkpoint_with_closed_live_connection
( tmp_path: Path, warm_cache: bool )
tests/unit/api/test_chat_history.py:110
Function
test_isolated_sqlite_history_supports_pypi_memory_0_9_7
(tmp_path: Path)
tests/unit/api/test_chat_history.py:74
Function
test_issue_returns_token_and_ttl
()
tests/unit/test_wizard_token.py:14
Function
test_issuer_base_domain
()
tests/unit/utils/test_ssrf_guard.py:15
Function
test_iter_media_blocks_dict_content
()
tests/unit/gateway/test_tool_media.py:220
Function
test_iter_media_blocks_from_json_string
()
tests/unit/gateway/test_message_build.py:63
Function
test_iter_media_blocks_single_object
()
tests/unit/gateway/test_tool_media.py:215
Function
test_iter_media_blocks_supports_workbuddy_generation_envelopes
()
tests/unit/gateway/test_tool_media.py:45
Function
test_iter_subprocess_lines_handles_long_line_without_newline
()
tests/unit/desktop/test_setup.py:82
Function
test_iter_turn_chunks_continues_when_observe_raises
()
tests/unit/gateway/test_processor_trajectory_observe.py:124
Function
test_iter_turn_chunks_finishes_trajectory_when_cancelled
()
tests/unit/gateway/test_processor_trajectory_observe.py:145
Function
test_iter_turn_chunks_noop_when_service_absent
()
tests/unit/gateway/test_processor_trajectory_observe.py:135
Function
test_iter_turn_chunks_observes_tool_chunk
()
tests/unit/gateway/test_processor_trajectory_observe.py:91
Function
test_iter_turn_chunks_observes_user_before_stream
()
tests/unit/gateway/test_processor_trajectory_observe.py:108
Function
test_iter_turn_chunks_persists_partial_output_and_error
()
tests/unit/gateway/test_processor_resource_errors.py:82
Function
test_iter_turn_chunks_persists_partial_when_cancelled
()
tests/unit/gateway/test_processor_resource_errors.py:121
Function
test_iter_turn_chunks_persists_streamed_tokens_without_state
()
tests/unit/gateway/test_processor_resource_errors.py:106
Function
test_iter_turn_chunks_skips_observe_when_trajectory_disabled
()
tests/unit/gateway/test_processor_trajectory_observe.py:162
Function
test_jail_hides_host_home_paths
(tmp_path: Path)
tests/integration/test_bwrap_jail.py:206
Function
test_json_chunk_default_serializes_langchain_messages
()
tests/unit/api/test_chat_serialize.py:12
Function
test_jwt_secret_capture_and_restore
(tmp_path: Path)
tests/unit/backup/test_snapshot.py:39
Function
test_jwt_secret_seeded
(server: OctopServer)
tests/integration/test_server_lifecycle.py:48
Function
test_kind_to_protocol_maps_openai_compatible_kinds
()
tests/unit/agents/test_provider_store.py:55
Function
test_knowledge_create_with_icon
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:33
Function
test_knowledge_dir
(tmp_path: Path)
tests/unit/test_paths.py:58
Function
test_knowledge_doc_too_large_interpolates_max_mb
()
tests/unit/i18n/test_errors.py:85
Function
test_knowledge_document_crud
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:122
Function
test_knowledge_folders_and_nested_documents
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:100
Function
test_knowledge_migrate_and_create
( repo: KnowledgeRepo, owner_id: int, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/db/test_repo_knowledge.py:65
Function
test_knowledge_onnx_test_reports_missing_weights
A model with no weights yields a local message, never a remote error.
tests/integration/test_onnx_models_api.py:132
Function
test_knowledge_onnx_test_uses_knowledge_settings_permission
The settings drawer's check must work for a knowledge-settings admin. ``/onnx-models/test`` is gated on ``onnx_models``, which that role need not
tests/integration/test_onnx_models_api.py:95
Function
test_knowledge_tables_migrated
(db: SqlitePool)
tests/unit/db/test_repo_knowledge.py:43
Function
test_known_locked_user_skips_siteverify
(client: Any, siteverify: Any)
tests/integration/test_captcha_api.py:224
Function
test_known_token_plan_model_is_detected_without_saved_metadata
()
tests/unit/agents/test_provider_reasoning.py:14
Function
test_langfuse_connection
( body: LangfuseTestBody, _: Any = Depends(require_permission("observability")), server: Any = Dep
src/octop/api/routers/observability.py:75
Function
test_langfuse_harness_config
(store: LangfuseSettingsStore)
tests/unit/test_langfuse_settings.py:50
Function
test_langfuse_requires_secret_when_enabling
(store: LangfuseSettingsStore)
tests/unit/test_langfuse_settings.py:45
Function
test_langfuse_settings_roundtrip
(store: LangfuseSettingsStore)
tests/unit/test_langfuse_settings.py:27
Function
test_launch_has_no_provider_seed
()
tests/unit/test_green_launch.py:52
Function
test_launchd_bootstrap_target_must_be_qualified
`launchctl bootstrap` rejects bare `user`/`system` — must be `gui/$UID`.
tests/unit/infra/setup/test_service.py:522
Function
test_launchd_bootstrap_tolerates_already_loaded
Idempotent re-runs: bootstrap returns non-zero when the service is already loaded — the CLI/install path must treat that as success.
tests/unit/infra/setup/test_service.py:450
Function
test_launchd_domain_user_vs_system
User agents run in the gui/$UID domain, system agents in system/.
tests/unit/infra/setup/test_service.py:514
Function
test_learning_diagnostic_rejects_unconfirmed_or_patient_like_storage
(tmp_path: Path)
tests/unit/agents/test_clinical_learning_subscription_template.py:81
Function
test_learning_diagnostic_summary_is_opt_in_and_can_be_cleared
(tmp_path: Path)
tests/unit/agents/test_clinical_learning_subscription_template.py:56
Function
test_learning_diagnostic_validator_requires_educational_structure_and_source
()
tests/unit/agents/test_clinical_learning_subscription_template.py:121
Function
test_learning_track_preview_is_read_only_and_delivery_lifecycle_is_not_exposed
( tmp_path: Path, )
tests/unit/agents/test_clinical_learning_subscription_template.py:591
Function
test_legacy_config_without_database_uses_paths_db
(tmp_path: Path)
tests/unit/db/test_db_factory.py:15
Function
test_legacy_cron_timezone_env_still_works
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_config.py:376
Function
test_legacy_cron_timezone_key_still_loads
(tmp_path: Path)
tests/unit/test_config.py:347
Method
test_legacy_default_maps_to_preset_voice
(self)
tests/unit/api/test_voice_mimo.py:80
Function
test_legacy_display_name_and_compatible_emoji_remain_supported
()
tests/unit/skills/test_presentation.py:60
Function
test_legacy_host_key
(octop_home: Path)
tests/unit/cli/test_run_bind_resolution.py:58
Function
test_legacy_manifest_defaults_plugins_omitted
()
tests/unit/backup/test_system_archive.py:46
Function
test_legacy_playwright_session_routes_removed
In-process Playwright CRUD is gone; the product path is harness-sessions.
tests/integration/test_browser_api.py:124
Function
test_legacy_profiles_migrated_once
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/browser/test_browser_setup.py:356
Function
test_legacy_text_pk_published_experts_keep_public_id
(tmp_path: Path)
tests/unit/db/test_published_experts_repo.py:113
Function
test_legacy_text_pk_skill_packages_keep_public_id
(tmp_path: Path)
tests/unit/db/test_skill_packages_repo.py:52
Function
test_legacy_users_table_gets_locale_column
(tmp_path: Path)
tests/unit/test_user_locale.py:36
Function
test_legacy_zh_en_welcome_collapses_to_single_column
(tmp_path: Path)
tests/unit/db/test_agent_profile_columns.py:136
Method
test_letter_and_digit_select_first_option
(self, reply: str)
tests/unit/gateway/test_hitl_ask_user.py:168
Function
test_list_addable_knowledge_bases
(monkeypatch: pytest.MonkeyPatch)
tests/unit/connectors/test_tencent_ima.py:134
Function
test_list_agents_default_scope_is_mine_only
(env)
tests/integration/test_agents_list_scope.py:15
Function
test_list_agents_filters_by_user
list_agents(user_id) returns only that user's enabled agents.
tests/unit/agents/test_agent_registry.py:717
Function
test_list_agents_offline
(fake_home: Path)
tests/unit/cli/test_cli_db.py:34
Function
test_list_agents_returns_sorted_by_created_at
list_agents() result is sorted by creation time (oldest first).
tests/unit/agents/test_agent_registry.py:756
Function
test_list_all
(repo: BackendRepo)
tests/unit/db/test_storage_backend_repo.py:48
Function
test_list_all
(repo: ProviderRepo)
tests/unit/db/test_repo_providers.py:47
Function
test_list_all_returns_all_jobs
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:412
Function
test_list_and_probe_return_posix_paths
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:314
Function
test_list_atoms_returns_kind
(env_with_main_agent)
tests/integration/test_memory_api.py:195
Function
test_list_before_filters_kinds_and_limit
(tmp_path: Path)
tests/unit/trajectory/test_trajectory_event_repo.py:86
Function
test_list_by_agent
(repo: CronJobRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_cron.py:113
Function
test_list_by_agent
(repo: ChannelRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_channels.py:96
Function
test_list_by_agent_can_filter_user
( db: SqlitePool, repo: CronJobRepo, agent_id: str, user_id: int, )
tests/unit/db/test_repo_cron.py:135
Function
test_list_by_agent_exclude_disabled
list_by_agent() with include_disabled=False hides disabled rows.
tests/unit/cron/test_cron_manager.py:430
Function
test_list_by_agent_returns_only_that_agents_jobs
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:382
Function
test_list_by_user
(repo: AgentRepo, user_id: int, db: SqlitePool)
tests/unit/db/test_repo_agents.py:67
Function
test_list_default_open_mcp_server_names
(svc: ConnectorService, db: SqlitePool)
tests/unit/connectors/test_custom_mcp.py:368
Function
test_list_empty_when_no_workspace_skills
(env: Any)
tests/integration/test_skills_api.py:134
Function
test_list_experts_returns_bundled_library
(env: Any)
tests/integration/test_experts_api.py:16
Function
test_list_filters_disabled
(repo: UserRepo)
tests/unit/db/test_repo_users.py:45
Function
test_list_from_seq_and_prune_older_than_user_turns
(tmp_path: Path)
tests/unit/trajectory/test_trajectory_event_repo.py:142
Function
test_list_from_seq_returns_inclusive_tail
(tmp_path: Path)
tests/unit/trajectory/test_trajectory_service.py:356
Function
test_list_host_dirs_lists_children
( env_admin_client: tuple[httpx.AsyncClient, dict[str, str]], tmp_path: Path, monkeypatch: pytest.
tests/integration/test_filesystem_api.py:25
Function
test_list_host_dirs_rejects_proc
( env_admin_client: tuple[httpx.AsyncClient, dict[str, str]], )
tests/integration/test_filesystem_api.py:52
Function
test_list_host_dirs_requires_auth
( env: tuple[httpx.AsyncClient, Any, dict[str, str]], )
tests/integration/test_filesystem_api.py:16
Function
test_list_host_subdirs_hides_root_when_not_home
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/infra/utils/test_host_dirs.py:117
Function
test_list_host_subdirs_includes_root_home_when_denied_prefix
Process home ``/root`` must appear when listing ``/`` (uid 0 default).
tests/unit/infra/utils/test_host_dirs.py:102
Function
test_list_host_subdirs_rejects_missing_path
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:47
Function
test_list_host_subdirs_returns_child_directories
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:34
Function
test_list_includes_builtin_skills
(env: Any)
tests/integration/test_skills_api.py:143
Function
test_list_includes_workspace_subagent
(env: Any)
tests/integration/test_subagents_api.py:44
Function
test_list_knowledge
(monkeypatch: pytest.MonkeyPatch)
tests/unit/connectors/test_tencent_ima.py:150
Function
test_list_knowledge_bases_cursor_query
(monkeypatch: pytest.MonkeyPatch)
tests/unit/connectors/test_tencent_ima.py:126
← previous
next →
10,501–10,600 of 12,485, ranked by callers