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_token_expires_after_ttl
()
tests/unit/test_wizard_token.py:46
Function
test_token_quota_middleware_allows_unlimited_user
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/agents/test_token_quota_middleware.py:36
Function
test_token_quota_middleware_async_hook_rejects
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/agents/test_token_quota_middleware.py:54
Function
test_token_quota_middleware_rejects_exhausted_user
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/agents/test_token_quota_middleware.py:14
Method
test_too_many_decisions
(self)
tests/unit/api/test_hitl_resume_validation.py:72
Function
test_tool_counts
()
tests/unit/connectors/test_feishu_wecom_cli.py:304
Function
test_tool_display_name_empty_uses_unknown
()
tests/unit/i18n/test_tools.py:41
Function
test_tool_display_name_known_zh
()
tests/unit/i18n/test_tools.py:12
Function
test_tool_display_name_unknown_passthrough
()
tests/unit/i18n/test_tools.py:19
Function
test_tool_settings_list_and_put
(env: Any)
tests/integration/test_tool_settings_api.py:8
Function
test_tool_settings_patch_builtin_and_plugin
(env: Any)
tests/integration/test_tool_settings_api.py:42
Function
test_tool_start_event_carries_localized_hint
()
tests/unit/gateway/test_stream_project_tools.py:20
Function
test_tools_disabled_set_from_config
()
tests/unit/agents/test_tool_catalog.py:28
Method
test_topic_switch_forwarded_verbatim
(self)
tests/unit/gateway/test_hitl_ask_user.py:194
Function
test_tr_fallback_to_en
()
tests/unit/i18n/test_catalog.py:18
Function
test_tr_interpolation
()
tests/unit/i18n/test_catalog.py:23
Function
test_tr_missing_key_raises
()
tests/unit/i18n/test_catalog.py:28
Function
test_tracker_history_shaped_update_does_not_double_count
()
tests/unit/gateway/test_usage_record.py:169
Function
test_tracker_snapshot_is_authoritative_over_later_updates
()
tests/unit/gateway/test_usage_record.py:109
Function
test_tracker_updates_accumulate_until_first_snapshot
()
tests/unit/gateway/test_usage_record.py:145
Function
test_trajectory_write_failure_prevents_complete_archive_status
(archive, monkeypatch)
tests/unit/gateway/test_versioned_history.py:409
Function
test_transaction_rolls_back_on_exception
(db: SqlitePool)
tests/unit/db/test_db_pool.py:469
Function
test_transcribe_browser_raises_browser_only
(voice_mgr: VoiceManager)
tests/unit/test_voice_manager.py:44
Function
test_tree_for_unknown_agent_404
(env: Any)
tests/integration/test_workspace_api.py:94
Function
test_tree_lists_root_files
(env: Any)
tests/integration/test_workspace_api.py:48
Function
test_tree_lists_subdirectory
(env: Any)
tests/integration/test_workspace_api.py:67
Function
test_tree_returns_empty_for_fresh_workspace
(env: Any)
tests/integration/test_workspace_api.py:36
Function
test_trigger_upgrade_defaults_to_channel_latest
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_update_router.py:424
Function
test_trigger_upgrade_pins_stable_when_prerelease_exists
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_update_router.py:390
Function
test_ts_to_ms_converts_seconds
()
tests/unit/api/test_chat_polish.py:260
Function
test_tts
( row: VoiceProviderRow | None, kind: str, *, locale: str = "en" )
src/octop/infra/voice/adapters.py:528
Function
test_turn_tracker_does_not_duplicate_state_assistant
()
tests/unit/gateway/test_history_projection.py:123
Function
test_turn_tracker_keeps_only_latest_user_turn_and_dedupes_replay
()
tests/unit/gateway/test_history_projection.py:85
Function
test_turn_tracker_keeps_streamed_tokens_and_error
()
tests/unit/gateway/test_history_projection.py:101
Function
test_turn_usage_from_langchain_style_objects
()
tests/unit/gateway/test_usage_record.py:48
Function
test_turn_usage_skips_malformed_token_fields
()
tests/unit/gateway/test_usage_record.py:77
Function
test_turn_usage_sums_all_ai_calls_after_last_user
()
tests/unit/gateway/test_usage_record.py:31
Function
test_two_writers_cannot_start_the_same_thread
(archive)
tests/unit/gateway/test_versioned_history.py:266
Function
test_ui_progress_from_bytes_is_byte_fraction
()
tests/unit/agents/test_onnx_service.py:31
Function
test_ulid_is_26_char_crockford
()
tests/unit/test_ulid.py:20
Function
test_ulid_timestamp_prefix_recent
()
tests/unit/test_ulid.py:32
Function
test_ulids_are_monotonic_within_ms
()
tests/unit/test_ulid.py:25
Function
test_unanswered_tool_is_not_marked_complete
(archive)
tests/unit/gateway/test_versioned_history.py:297
Function
test_unauthenticated
(env_with_main_agent)
tests/integration/test_memory_api.py:466
Function
test_unbind_sso_identity_requires_password
(manager: UserManager)
tests/unit/test_user_manager.py:304
Function
test_under_root_home_exempts_octop_home
(monkeypatch: pytest.MonkeyPatch)
tests/unit/browser/test_browser_setup.py:378
Function
test_uninstall_only_removes_playwright_chromium
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/browser/test_browser_setup.py:88
Function
test_unique_agent_name
(repo: ChannelRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_channels.py:76
Function
test_unique_name
(repo: ProviderRepo)
tests/unit/db/test_repo_providers.py:41
Function
test_unique_name_per_user
(repo: AgentRepo, user_id: int)
tests/unit/db/test_repo_agents.py:46
Function
test_unique_username
(repo: UserRepo)
tests/unit/db/test_repo_users.py:39
Function
test_unit_path_launchd_system_is_under_library
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/setup/test_service.py:576
Function
test_unit_path_launchd_user_is_under_home
User-scope macOS installs land in ~/Library/LaunchAgents (writable, no sudo). ``unit_path`` resolves the owner via passwd (not ``Path.home()`` /
tests/unit/infra/setup/test_service.py:561
Function
test_unknown_error_code_rejected
()
tests/unit/test_errors.py:35
Function
test_unknown_is_not_handled
(dispatcher, ctx)
tests/unit/gateway/test_slash_dispatcher.py:59
Function
test_unknown_key_raises_at_construction
()
tests/unit/api/test_permissions_api.py:22
Function
test_unknown_kind_raises
()
tests/unit/cron/test_cron_trigger.py:89
Function
test_unknown_mbti_falls_back_to_default
(loader: PersonaLoader)
tests/unit/agents/test_persona.py:27
Function
test_unknown_mime_falls_back_to_extension
()
tests/unit/api/test_attachments.py:55
Function
test_unknown_mime_without_known_extension_is_rejected
()
tests/unit/api/test_attachments.py:150
Function
test_unknown_model_uses_model_id_as_hf_repo
(monkeypatch)
tests/unit/agents/test_onnx_download.py:57
Function
test_unknown_provider
()
tests/unit/utils/test_search_probe.py:23
Function
test_unknown_provider_text_is_kept
()
tests/unit/i18n/test_voice.py:18
Function
test_unknown_stored_active_degrades_to_slider
(tmp_path: Path)
tests/unit/auth/test_captcha_store.py:110
Function
test_unknown_try_handle_falls_through_to_chat
(dispatcher, ctx)
tests/unit/gateway/test_slash_dispatcher.py:66
Method
test_unknown_type
(self)
tests/unit/api/test_hitl_resume_validation.py:44
Function
test_unlisted_recaptcha_v2_still_resolvable
()
tests/unit/auth/test_captcha_providers.py:59
Function
test_unread_counts_for_threads
(repos)
tests/unit/db/test_repo_sessions_threads.py:180
Function
test_unread_totals_by_agent
(repos)
tests/unit/db/test_repo_sessions_threads.py:147
Function
test_unreadable_blob_falls_through_to_env
(tmp_path: Path)
tests/unit/auth/test_captcha_store.py:119
Function
test_unrecognized_stream_noise_is_not_stored
()
tests/unit/trajectory/test_projector.py:69
Function
test_unsegmented_legacy_export_does_not_backfill
(archive)
tests/unit/gateway/test_versioned_history.py:427
Function
test_unshare_hides_agent_from_peer
(env)
tests/integration/test_agents_shared.py:175
Function
test_unsubscribe_stops_delivery_and_isolates_threads
()
tests/unit/trajectory/test_live.py:18
Function
test_update
(repo: BackendRepo)
tests/unit/db/test_storage_backend_repo.py:57
Function
test_update
(repo: ProviderRepo)
tests/unit/db/test_repo_providers.py:61
Function
test_update_allow_prerelease_check_shows_prerelease
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/cli/test_update_cmd.py:172
Function
test_update_allow_prerelease_installs_prerelease
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/cli/test_update_cmd.py:191
Function
test_update_already_latest
(monkeypatch: pytest.MonkeyPatch)
tests/unit/cli/test_update_cmd.py:72
Function
test_update_base_accepts_max_documents
(monkeypatch: pytest.MonkeyPatch)
tests/unit/api/test_knowledge_bases.py:671
Function
test_update_base_allows_enabling_both_shared_and_default_open
( service: KnowledgeService, )
tests/unit/knowledge/test_service_acl.py:49
Function
test_update_base_persists_max_documents
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:301
Function
test_update_base_rejects_max_documents_out_of_range
()
tests/unit/api/test_knowledge_bases.py:695
Function
test_update_base_validates_max_documents_range
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:261
Function
test_update_check_admin_only
(env_admin_client: Any)
tests/integration/test_update_api.py:29
Function
test_update_check_only_no_install
(monkeypatch: pytest.MonkeyPatch)
tests/unit/cli/test_update_cmd.py:14
Function
test_update_check_skips_prerelease_by_default
(monkeypatch: pytest.MonkeyPatch)
tests/unit/cli/test_update_cmd.py:153
Function
test_update_config
(repo: AgentRepo, user_id: int)
tests/unit/db/test_repo_agents.py:90
Function
test_update_config_can_clear_default_model
(repo: AgentRepo, user_id: int)
tests/unit/db/test_repo_agents.py:100
Function
test_update_config_json_cannot_change_system_files_path
``system_files_path`` is an internal layout knob; user updates must not mutate it.
tests/unit/agents/test_agent_manager.py:1252
Function
test_update_config_json_still_schedules_reload
( manager: AgentManager, monkeypatch: pytest.MonkeyPatch )
tests/unit/agents/test_agent_manager.py:1231
Function
test_update_duplicate_name_rejected
(tmp_path: Path)
tests/unit/agents/test_agent_registry.py:318
Function
test_update_editable_install_exits_nonzero
(monkeypatch: pytest.MonkeyPatch)
tests/unit/cli/test_update_cmd.py:224
Function
test_update_partial
(repo: CronJobRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_cron.py:165
Function
test_update_partial
(repo: ChannelRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_channels.py:117
Function
test_update_persists_field_changes
update() writes new values to DB and returns the updated row.
tests/unit/agents/test_agent_registry.py:414
Function
test_update_persists_prompt_change
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:456
Function
test_update_raises_for_unknown_id
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:523
Function
test_update_raises_for_unknown_id
update() raises OctopError when the agent_id does not exist.
tests/unit/agents/test_agent_registry.py:443
Function
test_update_rejects_invalid_trigger
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:534
← previous
next →
12,001–12,100 of 12,485, ranked by callers