MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

Functiontest_connectors_rest
(tmp_path, monkeypatch)
tests/test_connectors.py:522
Functiontest_consent_summary_lists_capabilities
()
tests/test_persona_loading.py:35
Functiontest_content_parts_get_the_block_as_a_trailing_text_part
(tmp_path)
tests/test_context_block_placement.py:105
Functiontest_content_parts_keep_the_block_as_the_trailing_text_block
()
tests/test_cache_breakpoint_placement.py:55
Functiontest_content_round_trips
(tmp_path)
tests/test_secrets_file_mode.py:72
Functiontest_content_to_text_flattens_parts
()
tests/test_attachments.py:90
Functiontest_content_to_text_renders_pdf_placeholder
()
tests/test_attachments.py:210
Functiontest_context_block_carries_no_clock_and_is_byte_stable
(tmp_path, monkeypatch)
tests/test_clock_tool.py:43
Functiontest_context_includes_workspace_platform_and_date
(tmp_path)
tests/test_environment.py:26
Functiontest_context_outside_git_repo
(tmp_path)
tests/test_environment.py:34
Functiontest_context_shows_dirty_status
(tmp_path)
tests/test_environment.py:46
Functiontest_context_tokens_is_prompt_side_total
()
tests/test_token_usage.py:38
Functiontest_context_with_git_repo
(tmp_path)
tests/test_environment.py:38
Functiontest_control_reset_clears_state
(fake_slack)
tests/test_fake_slack.py:186
Functiontest_converse_client_publishes_api_key_as_bearer_env
(monkeypatch)
tests/test_bedrock_provider.py:342
Functiontest_converse_complete_text
()
tests/test_bedrock_provider.py:113
Functiontest_converse_complete_tool_use_and_reasoning
()
tests/test_bedrock_provider.py:142
Functiontest_converse_stream_accumulates_text_and_tool
()
tests/test_bedrock_provider.py:178
Functiontest_convert_assistant_tool_turn_maps_role_model
()
tests/test_gemini_provider.py:77
Functiontest_convert_assistant_tool_turn_skips_empty_text
()
tests/test_anthropic_provider.py:68
Functiontest_convert_drops_empty_assistant_and_guards_first_user
()
tests/test_anthropic_provider.py:187
Functiontest_convert_empty_assistant_tool_turn_emits_no_message_item
()
tests/test_openai_responses.py:249
Functiontest_convert_empty_history_raises
()
tests/test_anthropic_provider.py:202
Functiontest_convert_extracts_leading_system
()
tests/test_gemini_provider.py:66
Functiontest_convert_extracts_leading_system
()
tests/test_anthropic_provider.py:57
Functiontest_convert_extracts_leading_system_as_instructions
()
tests/test_openai_responses.py:121
Functiontest_convert_guards_first_user_and_empty_history
()
tests/test_gemini_provider.py:224
Functiontest_convert_ignores_foreign_sidecars
()
tests/test_openai_responses.py:235
Functiontest_convert_image_data_url_to_base64_source
()
tests/test_anthropic_provider.py:148
Functiontest_convert_image_data_url_to_inline_data
()
tests/test_gemini_provider.py:190
Functiontest_convert_image_http_url_and_malformed
()
tests/test_anthropic_provider.py:170
Functiontest_convert_malformed_file_part_becomes_text_note
()
tests/test_anthropic_provider.py:530
Functiontest_convert_malformed_tool_arguments_fall_back_to_raw
()
tests/test_anthropic_provider.py:207
Functiontest_convert_merges_tool_result_run_into_one_user_message
()
tests/test_anthropic_provider.py:90
Functiontest_convert_messages_inserts_leading_user
()
tests/test_bedrock_provider.py:62
Functiontest_convert_messages_system_and_folding
()
tests/test_bedrock_provider.py:22
Functiontest_convert_mid_thread_system_stays_a_message
()
tests/test_openai_responses.py:133
Functiontest_convert_non_data_image_url_becomes_placeholder
()
tests/test_gemini_provider.py:210
Functiontest_convert_pdf_file_part_to_document_block
()
tests/test_anthropic_provider.py:500
Functiontest_convert_pdf_file_part_to_inline_data
()
tests/test_gemini_provider.py:484
Functiontest_convert_reattaches_signatures_to_parts
()
tests/test_gemini_provider.py:566
Functiontest_convert_repeated_ids_resolve_to_latest_turn
()
tests/test_gemini_provider.py:137
Functiontest_convert_replays_openai_sidecar_verbatim
()
tests/test_openai_responses.py:210
Functiontest_convert_replays_thinking_blocks_ahead_of_tool_use
()
tests/test_anthropic_provider.py:632
Functiontest_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
Functiontest_convert_steering_user_message_merges_after_tool_results
()
tests/test_gemini_provider.py:170
Functiontest_convert_steering_user_message_merges_after_tool_results
()
tests/test_anthropic_provider.py:122
Functiontest_convert_synthesizes_assistant_and_tool_items
()
tests/test_openai_responses.py:176
Functiontest_convert_tool_results_map_id_to_name_and_merge
()
tests/test_gemini_provider.py:99
Functiontest_convert_tools_flattens_function_schemas
()
tests/test_openai_responses.py:268
Functiontest_convert_tools_handles_missing_description_and_parameters
()
tests/test_anthropic_provider.py:230
Functiontest_convert_tools_shape_and_empty
()
tests/test_bedrock_provider.py:67
Functiontest_convert_tools_wraps_function_declarations
()
tests/test_gemini_provider.py:234
Functiontest_convert_user_parts_to_input_parts
()
tests/test_openai_responses.py:143
Functiontest_copy_in_makes_a_private_home_and_the_tools_environment
(tmp_path)
tests/test_sandbox_credentials.py:105
Functiontest_corpora_load_and_are_well_formed
()
tests/test_shadow_eval.py:171
Functiontest_corpus_arguments_match_the_real_tool_signature
()
tests/test_shadow_eval.py:424
Functiontest_corrupt_existing_copy_is_not_reported_as_success
(tmp_path)
tests/test_board_image_lifecycle.py:118
Functiontest_corrupt_settings_json_treated_as_empty
(store)
tests/test_skills_store.py:307
Functiontest_corruption_and_forged_refs_are_not_readable
(manager, tmp_path)
tests/test_team_file_artifacts.py:139
Functiontest_cors_rejects_foreign_origin
(tmp_path)
tests/test_server.py:557
Functiontest_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
Functiontest_counter_resets_between_turns
(tmp_path)
tests/test_truncation_continuation.py:195
Functiontest_cowork_has_grep_not_search_files
(tmp_path)
tests/test_code_tools.py:187
Functiontest_cowork_persona_matches_builder
(tmp_path)
tests/test_builtin_personas.py:31
Functiontest_cowork_prompt_steers_edits_to_in_place_tools
()
tests/test_edit_tool_guidance.py:40
Functiontest_create_and_list_tools
(tmp_path)
tests/test_automation.py:198
Functiontest_create_automation_grants_and_revoke
(tmp_path, monkeypatch)
tests/test_standing_approvals.py:392
Functiontest_create_automation_invalid_cron
(tmp_path, monkeypatch)
tests/test_automation_create.py:39
Functiontest_create_automation_missing_instructions
(tmp_path, monkeypatch)
tests/test_automation_create.py:53
Functiontest_create_automation_requires_schedule
(tmp_path, monkeypatch)
tests/test_automation_create.py:67
Functiontest_create_automation_success
(tmp_path, monkeypatch)
tests/test_automation_create.py:19
Functiontest_create_duplicate_and_blank_rejected
(tmp_path)
tests/test_skills_api.py:78
Functiontest_create_duplicate_rejected
(store)
tests/test_skills_store.py:73
Functiontest_create_global_roundtrip
(store)
tests/test_skills_store.py:48
Functiontest_create_item_tool_schema_keeps_the_title_parameter
(store)
tests/test_team_board.py:269
Functiontest_create_project_scope_requires_real_workspace
(tmp_path)
tests/test_skills_api.py:131
Functiontest_create_project_scoped
(store, workspace)
tests/test_skills_store.py:61
Functiontest_create_team_fails_closed_on_solo_personas
(manager, tmp_path)
tests/test_team_wake.py:129
Functiontest_create_team_prespawns_worker_sessions
(manager, monkeypatch)
tests/test_team_wake.py:150
Functiontest_create_team_uses_callnames_and_creates_the_chat_group
(manager, monkeypatch)
tests/test_team_wake.py:309
Functiontest_create_then_list_enriched
(tmp_path)
tests/test_skills_api.py:60
Functiontest_create_tool_stores_write_grants
(tmp_path)
tests/test_standing_approvals.py:200
Functiontest_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
Functiontest_criteria_bad_date_is_rejected
()
tests/test_email_tools.py:179
Functiontest_criteria_default_is_all
()
tests/test_email_tools.py:159
Functiontest_criteria_non_ascii_gets_utf8_charset
()
tests/test_email_tools.py:184
Functiontest_criteria_quoting_dates_and_unseen
()
tests/test_email_tools.py:164
Functiontest_cross_team_or_mismatched_worker_cannot_link_or_disclose_prompt
(manager)
tests/test_team_live_gaps.py:124
Functiontest_ctrl_c_at_a_prompt_ends_the_run_and_leaves_the_record
(tmp_path: Path)
tests/test_run_cli.py:475
Functiontest_curl_capital_o_does_not_swallow_the_url
()
tests/test_provenance.py:103
Functiontest_current_models_have_verified_windows
(model, window)
tests/test_matrix_current_models.py:55
Functiontest_current_time_is_registered_for_every_persona
(tmp_path, monkeypatch)
tests/test_clock_tool.py:29
Functiontest_current_time_reports_local_and_utc_for_the_same_instant
()
tests/test_clock_tool.py:12
Functiontest_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
Functiontest_cursor_replays_complete_comments_without_consuming_feed
(board)
tests/test_team_efficient_reads.py:39
Functiontest_custom_mode_auto_allows_configured_tools
(tmp_path)
tests/test_tools_permissions.py:121
Functiontest_cut_off_reply_is_nudged_then_the_turn_completes
(tmp_path)
tests/test_truncation_continuation.py:97
Functiontest_cut_off_reply_is_replayed_as_a_stub_not_verbatim
(tmp_path)
tests/test_truncation_continuation.py:125
Functiontest_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
← previousnext →6,501–6,600 of 8,537, ranked by callers