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_connectors_rest
(tmp_path, monkeypatch)
tests/test_connectors.py:522
Function
test_consent_summary_lists_capabilities
()
tests/test_persona_loading.py:35
Function
test_content_parts_get_the_block_as_a_trailing_text_part
(tmp_path)
tests/test_context_block_placement.py:105
Function
test_content_parts_keep_the_block_as_the_trailing_text_block
()
tests/test_cache_breakpoint_placement.py:55
Function
test_content_round_trips
(tmp_path)
tests/test_secrets_file_mode.py:72
Function
test_content_to_text_flattens_parts
()
tests/test_attachments.py:90
Function
test_content_to_text_renders_pdf_placeholder
()
tests/test_attachments.py:210
Function
test_context_block_carries_no_clock_and_is_byte_stable
(tmp_path, monkeypatch)
tests/test_clock_tool.py:43
Function
test_context_includes_workspace_platform_and_date
(tmp_path)
tests/test_environment.py:26
Function
test_context_outside_git_repo
(tmp_path)
tests/test_environment.py:34
Function
test_context_shows_dirty_status
(tmp_path)
tests/test_environment.py:46
Function
test_context_tokens_is_prompt_side_total
()
tests/test_token_usage.py:38
Function
test_context_with_git_repo
(tmp_path)
tests/test_environment.py:38
Function
test_control_reset_clears_state
(fake_slack)
tests/test_fake_slack.py:186
Function
test_converse_client_publishes_api_key_as_bearer_env
(monkeypatch)
tests/test_bedrock_provider.py:342
Function
test_converse_complete_text
()
tests/test_bedrock_provider.py:113
Function
test_converse_complete_tool_use_and_reasoning
()
tests/test_bedrock_provider.py:142
Function
test_converse_stream_accumulates_text_and_tool
()
tests/test_bedrock_provider.py:178
Function
test_convert_assistant_tool_turn_maps_role_model
()
tests/test_gemini_provider.py:77
Function
test_convert_assistant_tool_turn_skips_empty_text
()
tests/test_anthropic_provider.py:68
Function
test_convert_drops_empty_assistant_and_guards_first_user
()
tests/test_anthropic_provider.py:187
Function
test_convert_empty_assistant_tool_turn_emits_no_message_item
()
tests/test_openai_responses.py:249
Function
test_convert_empty_history_raises
()
tests/test_anthropic_provider.py:202
Function
test_convert_extracts_leading_system
()
tests/test_gemini_provider.py:66
Function
test_convert_extracts_leading_system
()
tests/test_anthropic_provider.py:57
Function
test_convert_extracts_leading_system_as_instructions
()
tests/test_openai_responses.py:121
Function
test_convert_guards_first_user_and_empty_history
()
tests/test_gemini_provider.py:224
Function
test_convert_ignores_foreign_sidecars
()
tests/test_openai_responses.py:235
Function
test_convert_image_data_url_to_base64_source
()
tests/test_anthropic_provider.py:148
Function
test_convert_image_data_url_to_inline_data
()
tests/test_gemini_provider.py:190
Function
test_convert_image_http_url_and_malformed
()
tests/test_anthropic_provider.py:170
Function
test_convert_malformed_file_part_becomes_text_note
()
tests/test_anthropic_provider.py:530
Function
test_convert_malformed_tool_arguments_fall_back_to_raw
()
tests/test_anthropic_provider.py:207
Function
test_convert_merges_tool_result_run_into_one_user_message
()
tests/test_anthropic_provider.py:90
Function
test_convert_messages_inserts_leading_user
()
tests/test_bedrock_provider.py:62
Function
test_convert_messages_system_and_folding
()
tests/test_bedrock_provider.py:22
Function
test_convert_mid_thread_system_stays_a_message
()
tests/test_openai_responses.py:133
Function
test_convert_non_data_image_url_becomes_placeholder
()
tests/test_gemini_provider.py:210
Function
test_convert_pdf_file_part_to_document_block
()
tests/test_anthropic_provider.py:500
Function
test_convert_pdf_file_part_to_inline_data
()
tests/test_gemini_provider.py:484
Function
test_convert_reattaches_signatures_to_parts
()
tests/test_gemini_provider.py:566
Function
test_convert_repeated_ids_resolve_to_latest_turn
()
tests/test_gemini_provider.py:137
Function
test_convert_replays_openai_sidecar_verbatim
()
tests/test_openai_responses.py:210
Function
test_convert_replays_thinking_blocks_ahead_of_tool_use
()
tests/test_anthropic_provider.py:632
Function
test_convert_signature_parts_validate_as_sdk_types
The dict parts we emit (base64-string signatures) must round-trip through the real SDK Part model — its base64 bytes-validation is what decodes th
tests/test_gemini_provider.py:588
Function
test_convert_steering_user_message_merges_after_tool_results
()
tests/test_gemini_provider.py:170
Function
test_convert_steering_user_message_merges_after_tool_results
()
tests/test_anthropic_provider.py:122
Function
test_convert_synthesizes_assistant_and_tool_items
()
tests/test_openai_responses.py:176
Function
test_convert_tool_results_map_id_to_name_and_merge
()
tests/test_gemini_provider.py:99
Function
test_convert_tools_flattens_function_schemas
()
tests/test_openai_responses.py:268
Function
test_convert_tools_handles_missing_description_and_parameters
()
tests/test_anthropic_provider.py:230
Function
test_convert_tools_shape_and_empty
()
tests/test_bedrock_provider.py:67
Function
test_convert_tools_wraps_function_declarations
()
tests/test_gemini_provider.py:234
Function
test_convert_user_parts_to_input_parts
()
tests/test_openai_responses.py:143
Function
test_copy_in_makes_a_private_home_and_the_tools_environment
(tmp_path)
tests/test_sandbox_credentials.py:105
Function
test_corpora_load_and_are_well_formed
()
tests/test_shadow_eval.py:171
Function
test_corpus_arguments_match_the_real_tool_signature
()
tests/test_shadow_eval.py:424
Function
test_corrupt_existing_copy_is_not_reported_as_success
(tmp_path)
tests/test_board_image_lifecycle.py:118
Function
test_corrupt_settings_json_treated_as_empty
(store)
tests/test_skills_store.py:307
Function
test_corruption_and_forged_refs_are_not_readable
(manager, tmp_path)
tests/test_team_file_artifacts.py:139
Function
test_cors_rejects_foreign_origin
(tmp_path)
tests/test_server.py:557
Function
test_counter_resets_after_a_good_reply
cut, act, cut, cut, answer: never more than MAX consecutive, so it completes.
tests/test_truncation_continuation.py:178
Function
test_counter_resets_between_turns
(tmp_path)
tests/test_truncation_continuation.py:195
Function
test_cowork_has_grep_not_search_files
(tmp_path)
tests/test_code_tools.py:187
Function
test_cowork_persona_matches_builder
(tmp_path)
tests/test_builtin_personas.py:31
Function
test_cowork_prompt_steers_edits_to_in_place_tools
()
tests/test_edit_tool_guidance.py:40
Function
test_create_and_list_tools
(tmp_path)
tests/test_automation.py:198
Function
test_create_automation_grants_and_revoke
(tmp_path, monkeypatch)
tests/test_standing_approvals.py:392
Function
test_create_automation_invalid_cron
(tmp_path, monkeypatch)
tests/test_automation_create.py:39
Function
test_create_automation_missing_instructions
(tmp_path, monkeypatch)
tests/test_automation_create.py:53
Function
test_create_automation_requires_schedule
(tmp_path, monkeypatch)
tests/test_automation_create.py:67
Function
test_create_automation_success
(tmp_path, monkeypatch)
tests/test_automation_create.py:19
Function
test_create_duplicate_and_blank_rejected
(tmp_path)
tests/test_skills_api.py:78
Function
test_create_duplicate_rejected
(store)
tests/test_skills_store.py:73
Function
test_create_global_roundtrip
(store)
tests/test_skills_store.py:48
Function
test_create_item_tool_schema_keeps_the_title_parameter
(store)
tests/test_team_board.py:269
Function
test_create_project_scope_requires_real_workspace
(tmp_path)
tests/test_skills_api.py:131
Function
test_create_project_scoped
(store, workspace)
tests/test_skills_store.py:61
Function
test_create_team_fails_closed_on_solo_personas
(manager, tmp_path)
tests/test_team_wake.py:129
Function
test_create_team_prespawns_worker_sessions
(manager, monkeypatch)
tests/test_team_wake.py:150
Function
test_create_team_uses_callnames_and_creates_the_chat_group
(manager, monkeypatch)
tests/test_team_wake.py:309
Function
test_create_then_list_enriched
(tmp_path)
tests/test_skills_api.py:60
Function
test_create_tool_stores_write_grants
(tmp_path)
tests/test_standing_approvals.py:200
Function
test_credential_grants_are_copied_into_a_real_sandbox
A fake `.ssh` and `.config/gh` under a made-up home are granted: inside, HOME is the copy, the files are readable, git and ssh are pointed at the
tests/test_sandbox_openshell.py:502
Function
test_criteria_bad_date_is_rejected
()
tests/test_email_tools.py:179
Function
test_criteria_default_is_all
()
tests/test_email_tools.py:159
Function
test_criteria_non_ascii_gets_utf8_charset
()
tests/test_email_tools.py:184
Function
test_criteria_quoting_dates_and_unseen
()
tests/test_email_tools.py:164
Function
test_cross_team_or_mismatched_worker_cannot_link_or_disclose_prompt
(manager)
tests/test_team_live_gaps.py:124
Function
test_ctrl_c_at_a_prompt_ends_the_run_and_leaves_the_record
(tmp_path: Path)
tests/test_run_cli.py:475
Function
test_curl_capital_o_does_not_swallow_the_url
()
tests/test_provenance.py:103
Function
test_current_models_have_verified_windows
(model, window)
tests/test_matrix_current_models.py:55
Function
test_current_time_is_registered_for_every_persona
(tmp_path, monkeypatch)
tests/test_clock_tool.py:29
Function
test_current_time_reports_local_and_utc_for_the_same_instant
()
tests/test_clock_tool.py:12
Function
test_cursor_persists_across_transports
A restart must not replay the broker's ~15 min of queued events (drill finding 2026-09-04: a duplicate PR session): the cursor is kept on disk.
tests/test_machine_poll.py:500
Function
test_cursor_replays_complete_comments_without_consuming_feed
(board)
tests/test_team_efficient_reads.py:39
Function
test_custom_mode_auto_allows_configured_tools
(tmp_path)
tests/test_tools_permissions.py:121
Function
test_cut_off_reply_is_nudged_then_the_turn_completes
(tmp_path)
tests/test_truncation_continuation.py:97
Function
test_cut_off_reply_is_replayed_as_a_stub_not_verbatim
(tmp_path)
tests/test_truncation_continuation.py:125
Function
test_cut_off_reply_with_a_tool_call_is_not_nudged
A truncated reply that still carries a parseable tool call runs the tool as before; the mangled-call path already handles the broken-arguments cas
tests/test_truncation_continuation.py:162
← previous
next →
6,501–6,600 of 8,537, ranked by callers