Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewyng/openworker
/ functions
Functions
8,537 in github.com/andrewyng/openworker
⨍
Functions
8,537
◇
Types & classes
636
↳
Endpoints
260
Function
test_comment_http_cursor_keeps_actor_scope
(manager)
tests/test_team_file_artifacts.py:167
Function
test_comments_past_legacy_500_event_boundary_remain_readable
(board)
tests/test_team_efficient_reads.py:92
Function
test_compacted_notice_carries_the_summary_and_state
(tmp_path)
tests/test_compaction_persisted_summary.py:30
Function
test_compacted_notice_step_includes_the_summary
()
tests/test_headless_trajectory.py:21
Function
test_compacting_signal_precedes_the_compacted_marker
(tmp_path)
tests/test_compaction_engine.py:276
Function
test_compaction_cap_config_and_env
(tmp_path, monkeypatch)
tests/test_compaction_transcript.py:118
Function
test_compaction_settings_override_silences_the_warning
A caller that supplies its own context_window (the GUI's per-model settings) has made the choice explicitly; nothing to warn about.
tests/test_matrix_current_models.py:174
Function
test_compaction_state_survives_save_and_rebuild
(tmp_path)
tests/test_compaction_engine.py:248
Function
test_compaction_writes_transcript_and_tells_the_model
(tmp_path)
tests/test_compaction_transcript.py:71
Function
test_compacts_before_the_turn_when_estimate_crosses
(tmp_path)
tests/test_compaction_engine.py:103
Function
test_compat_builder_defaults_and_profile_override
(monkeypatch)
tests/test_providers.py:307
Function
test_compat_builder_env_key_fallback
(monkeypatch)
tests/test_providers.py:319
Function
test_compat_builder_never_leaks_the_openai_key
A configured OPENAI_API_KEY must never be sent to a different vendor's endpoint — a missing vendor key fails fast with a vendor-named error instea
tests/test_providers.py:328
Function
test_compat_models_route_and_get_tool_capabilities
()
tests/test_providers.py:456
Function
test_compat_recommended_models_are_in_the_suggested_lists
set_provider only auto-adds the recommended model if it's in _suggested_models — keep the registry and the manager's COMPAT_MODELS table in lockst
tests/test_providers.py:478
Function
test_compat_vendor_descriptors_ship_prefilled_endpoints
()
tests/test_providers.py:294
Function
test_compat_vendors_lack_pdf_capability
()
tests/test_pdf_support.py:44
Function
test_complete_can_omit_reasoning_summary_but_keep_encrypted_content
BytePlus accepts encrypted reasoning output but rejects reasoning.summary.
tests/test_openai_responses.py:344
Function
test_complete_captures_signatures_and_filters_thought_parts
()
tests/test_gemini_provider.py:522
Function
test_complete_converts_tools
()
tests/test_anthropic_provider.py:338
Function
test_complete_default_request_shape_PathsUnchanged
()
tests/test_openai_responses.py:294
Function
test_complete_drops_unresolvable_reasoning_from_sidecar
()
tests/test_openai_responses.py:393
Function
test_complete_extracts_usage_with_cache_split
()
tests/test_openai_responses.py:313
Function
test_complete_filters_and_aliases_settings
()
tests/test_gemini_provider.py:347
Function
test_complete_filters_and_aliases_settings
()
tests/test_anthropic_provider.py:321
Function
test_complete_filters_and_aliases_settings
()
tests/test_openai_responses.py:429
Function
test_complete_goes_through_stream_and_reasoning_effort_rides
(tmp_path, monkeypatch)
tests/test_codex_provider.py:340
Function
test_complete_keeps_openrouter_reasoning_field_name
()
tests/test_reasoning_replay.py:60
Function
test_complete_keeps_reasoning_content_in_the_sidecar
()
tests/test_reasoning_replay.py:52
Function
test_complete_login_rejects_unknown_state
(secrets, config)
tests/test_cloud.py:111
Function
test_complete_login_stores_tokens_and_account
(secrets, config, monkeypatch)
tests/test_cloud.py:75
Function
test_complete_maps_finish_reasons
(finish, expected)
tests/test_gemini_provider.py:339
Function
test_complete_maps_incomplete_max_tokens_to_length
()
tests/test_openai_responses.py:415
Function
test_complete_maps_stop_reasons
(stop_reason, expected)
tests/test_anthropic_provider.py:313
Function
test_complete_parses_attr_style_sdk_objects
()
tests/test_openai_responses.py:458
Function
test_complete_parses_function_calls_with_call_ids
()
tests/test_openai_responses.py:360
Function
test_complete_parses_function_calls_with_synthesized_ids
()
tests/test_gemini_provider.py:309
Function
test_complete_parses_thinking_blocks_into_reasoning_and_sidecar
()
tests/test_anthropic_provider.py:582
Function
test_complete_parses_tool_calls
()
tests/test_providers.py:53
Function
test_complete_parses_tool_use_blocks
()
tests/test_anthropic_provider.py:283
Function
test_complete_passes_converted_tools_in_config
()
tests/test_gemini_provider.py:369
Function
test_complete_passes_flat_tools
()
tests/test_openai_responses.py:447
Function
test_complete_picks_up_reasoning_content
()
tests/test_providers.py:575
Function
test_complete_plain_text_has_no_sidecar
()
tests/test_openai_responses.py:407
Function
test_complete_retries_dropping_rejected_params
()
tests/test_openai_responses.py:510
Function
test_complete_returns_text
()
tests/test_providers.py:38
Function
test_complete_salvages_only_when_tools_requested
()
tests/test_provider_router.py:326
Function
test_complete_surfaces_reasoning_summary_and_sidecar
()
tests/test_openai_responses.py:381
Function
test_complete_text_turn
()
tests/test_gemini_provider.py:289
Function
test_complete_text_turn_with_defaults
()
tests/test_anthropic_provider.py:258
Function
test_complete_tolerates_bad_tool_args
()
tests/test_providers.py:77
Function
test_complete_usage_degrades_on_partial_or_missing_fields
()
tests/test_openai_responses.py:330
Function
test_complete_with_a_small_cap_leaves_the_sdk_timeout_alone
()
tests/test_anthropic_provider.py:719
Function
test_complete_with_default_cap_carries_an_explicit_timeout
The SDK refuses a non-streaming call whose max_tokens implies >10 min of output unless a timeout is given. The 32k default is above that line, so
tests/test_anthropic_provider.py:702
Function
test_complete_without_signatures_has_no_extras
()
tests/test_gemini_provider.py:542
Function
test_completion_due_only_after_job_completes
(tmp_path)
tests/test_self_wake.py:22
Function
test_compute_next_run_cron_explicit_utc
()
tests/test_automation.py:64
Function
test_compute_next_run_defaults_to_local_time
Default 'local' tz: '7:10pm' fires at 19:10 on the *machine's* clock, not UTC.
tests/test_automation.py:73
Function
test_compute_next_run_once_in_past_is_none
()
tests/test_automation.py:82
Function
test_compute_next_run_once_local_is_dst_aware
A one-time 'local' task set while EDT is in effect but firing on a winter EST date must fire at the requested wall-clock, not an hour off. Binding
tests/test_automation.py:88
Function
test_concurrent_identical_uploads_dedupe_without_shared_temp_race
(tmp_path)
tests/test_board_image_lifecycle.py:109
Function
test_concurrent_sessions_same_workspace_independent
(tmp_path)
tests/test_skills_sessions.py:106
Function
test_config_default_is_unset
(tmp_path)
tests/test_max_output_tokens.py:40
Function
test_config_default_unset_and_layering
(tmp_path, monkeypatch)
tests/test_reasoning_effort.py:58
Function
test_config_domain_allowlist_still_skips
(tmp_path)
tests/test_auto_approve.py:66
Function
test_config_env_override_beats_files
(tmp_path, monkeypatch)
tests/test_max_output_tokens.py:55
Function
test_config_global_then_workspace_override
(tmp_path)
tests/test_max_output_tokens.py:45
Function
test_config_parses_auth_field
(tmp_path, monkeypatch)
tests/test_mcp_oauth.py:43
Function
test_config_rejects_non_positive_or_non_integer
(tmp_path, monkeypatch, toml_value, env_value)
tests/test_max_output_tokens.py:66
Function
test_configured_event_to_a_gated_session_is_parked_not_swallowed
(tmp_path, monkeypatch)
tests/test_configured_spawn.py:262
Function
test_configured_event_to_an_existing_session_carries_its_framing
(tmp_path, monkeypatch)
tests/test_configured_spawn.py:198
Function
test_configured_opening_reads_plainly
()
tests/test_configured_spawn.py:233
Function
test_confined_paths_resolve_under_base_and_outsiders_are_refused
(tmp_path, monkeypatch)
tests/test_base_dir.py:23
Function
test_conflicting_uncommitted_work_is_preserved
(handoff)
tests/test_team_git_handoff.py:104
Function
test_connect_banners_a_session_already_in_auto_approve
(tmp_path)
tests/test_server.py:1199
Function
test_connect_connector_adds_accounts_not_overwrites
The manual connect path: two submits with different account ids = two accounts; same id = credential update in place.
tests/test_accounts.py:99
Function
test_connect_disconnect_no_validate
(tmp_path)
tests/test_connectors.py:400
Function
test_connect_endpoint_starts_background_flow
(tmp_path, monkeypatch)
tests/test_mcp_oauth.py:156
Function
test_connect_managed_machine_target_open_to_all_managed
Connect-direct covers every managed connector now — GitHub and Slack included (increment 2) — so a machine-targeted start proceeds straight to
tests/test_cloud_server.py:230
Function
test_connect_managed_requires_sign_in
(client)
tests/test_cloud_server.py:42
Function
test_connect_mcp_failure_includes_stderr_tail
The Test button's connect path reports the same stderr evidence as the session path — a crashing stdio server yields error + status=error.
tests/test_mcp.py:321
Function
test_connect_mcp_http_401_sets_auth_hint
An anonymous connect that hits 401 is reported as "needs sign-in" (the GUI offers the OAuth switch), not as a raw HTTP error dump.
tests/test_mcp.py:353
Function
test_connect_missing_required_field
(tmp_path)
tests/test_connectors.py:469
Function
test_connect_resolves_bot_and_receives_hello
(fake_slack)
tests/test_fake_slack.py:35
Function
test_connect_validation_runs
(tmp_path)
tests/test_connectors.py:504
Function
test_connected_follows_tokens_and_disconnect_forgets_everything
( tmp_path, monkeypatch )
tests/test_mcp_connectors.py:150
Function
test_connection_is_pinned_to_the_vetted_address
The client must be told to connect to the address that was checked, with the original name in Host and SNI — never left to resolve the name a seco
tests/test_url_address_guard.py:161
Function
test_connector_allowlist_dedupes_and_orders
()
tests/test_persona_manifest.py:41
Function
test_connector_backed_servers_hidden_from_mcp_tab
(tmp_path, monkeypatch)
tests/test_mcp_connectors.py:175
Function
test_connector_gate_without_a_requester_or_a_name
(tmp_path)
tests/test_worker_connectors.py:325
Function
test_connector_list_accounts_branch_and_full_disconnect
(acme, secrets)
tests/test_accounts.py:130
Function
test_connector_list_connected_for_required_profiles
(tmp_path)
tests/test_connectors.py:356
Function
test_connector_list_descriptors
(tmp_path)
tests/test_connectors.py:296
Function
test_connector_list_pre_connect_copy
Every connectable connector ships Access bullets for the pre-connect detail page (UX-DECISIONS §38) — an empty Access section would render as
tests/test_connectors.py:333
Function
test_connector_profile_keys_and_handoff_info
(acme, secrets)
tests/test_accounts.py:183
Function
test_connector_registration
()
tests/test_email_tools.py:345
Function
test_connector_request_payload_matches_the_gallery
(manager, contract)
tests/test_gallery_contract.py:135
Function
test_connector_tool_settings_and_audit_rest
(tmp_path)
tests/test_server.py:125
Function
test_connectors_all_is_builtin_only
`all` is the trust violation the allowlist exists to prevent when a SHARED bundle claims it — reserved for the general built-in personas.
tests/test_persona_manifest.py:61
Function
test_connectors_carry_allowlist_and_recent
(tmp_path)
tests/test_connectors_allowlist.py:47
← previous
next →
6,401–6,500 of 8,537, ranked by callers