



  

<!DOCTYPE html>
<html
  lang="en"
  
  data-color-mode="auto" data-light-theme="light" data-dark-theme="dark"
  data-a11y-animated-images="system" data-a11y-link-underlines="true"
  
  >




  <head>
    <meta charset="utf-8">
  <link rel="dns-prefetch" href="https://github.githubassets.com">
  <link rel="dns-prefetch" href="https://avatars.githubusercontent.com">
  <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
  <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
  <link rel="preconnect" href="https://github.githubassets.com" crossorigin>
  <link rel="preconnect" href="https://avatars.githubusercontent.com">

<script type="importmap">{"imports":{"react":"https://github.githubassets.com/assets/react-e27d1b3e03961e68.js","react-dom":"https://github.githubassets.com/assets/react-dom-e5fd46a22d5c4058.js","react-dom/client":"https://github.githubassets.com/assets/react-dom-client-1b4a3ee065998cea.js","react-is":"https://github.githubassets.com/assets/react-is-e0b593954b4706d8.js","react-reconciler":"https://github.githubassets.com/assets/react-reconciler-8e99e505c4429605.js","react/compiler-runtime":"https://github.githubassets.com/assets/react-compiler-runtime-4610bd6d3de9c049.js","react/jsx-dev-runtime":"https://github.githubassets.com/assets/react-jsx-dev-runtime-ea55d68667d559e5.js","react/jsx-runtime":"https://github.githubassets.com/assets/react-jsx-runtime-4915cb0f5b3aff04.js","scheduler":"https://github.githubassets.com/assets/scheduler-58b860b049ca307c.js"}}</script>
<meta name="react-profiling" content="0" data-turbo-transient="true" />
<meta name="react-import-map" content="react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@777f63f87cd0" data-turbo-track="reload" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-e27d1b3e03961e68.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-compiler-runtime-4610bd6d3de9c049.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/scheduler-58b860b049ca307c.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-dom-e5fd46a22d5c4058.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-dom-client-1b4a3ee065998cea.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-is-e0b593954b4706d8.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-jsx-runtime-4915cb0f5b3aff04.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-reconciler-8e99e505c4429605.js" />

  


  <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-5c4e9fc574bf49f3.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light_high_contrast-fb37c309e0603a69.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-afff6c53aef9b9d1.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark_high_contrast-c409873d7987dffa.css" /><link data-color-theme="light" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light-5c4e9fc574bf49f3.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-fb37c309e0603a69.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-0f910d8806d5761b.css" /><link data-color-theme="light_colorblind_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind_high_contrast-a7abd4d4c49ac593.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-5fc4c4a9cb41e596.css" /><link data-color-theme="light_tritanopia_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia_high_contrast-ed0cee9214dedabd.css" /><link data-color-theme="dark" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark-afff6c53aef9b9d1.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-c409873d7987dffa.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-78a2491d538dab5a.css" /><link data-color-theme="dark_colorblind_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind_high_contrast-c26b63d7c532d0a2.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-a6f60cea68c08405.css" /><link data-color-theme="dark_tritanopia_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia_high_contrast-f66faf28b2ea18b6.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-6701f6218c53cf5b.css" /><link data-color-theme="dark_dimmed_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed_high_contrast-7037fa46ae124d97.css" />

  <style type="text/css">
    :root {
      --tab-size-preference: 4;
    }

    pre, code {
      tab-size: var(--tab-size-preference);
    }
  </style>

    <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-primitives-97df7784617ce1ea.css" />
    <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-9be9fe6313f476af.css" />
    <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-62747e27e61258dc.css" />
    <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-7a418ea859d1654d.css" />
  <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-72bd7d974b5ac1cc.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-4c5c0895f723f870.css" />

  

  <script type="application/json" id="client-env">{"locale":"en","featureFlags":["actions_caches_react_shell","actions_enable_background_steps","actions_new_hosted_runner_image_select_sizes_and_versions","actions_runners_react_shell","activity_diff_file_tree","activity_repos_file_tree","activity_repos_overview_header","activity_repos_overview_sidebar","agent_author_search_expansion","agent_author_search_expansion_ui_pulls","alternate_user_config_repo","async_conversion_coverage_enabled","billing_billable_licenses_cost_center_bucket_fix","billing_budget_expiration","billing_cost_center_list_assigned_resources","billing_discount_threshold_notification","code_quality_enablement_banner_targeting","code_quality_remove_preview","code_view_raf_sticky_lines","codespaces_prebuild_region_target_update","coding_agent_third_party_model_ui","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_automation_repo_mcp_servers","copilot_automations_pagination","copilot_base_model_policy_row","copilot_chat_auto_mode_v2","copilot_chat_clear_model_selection_for_default_change","copilot_chat_early_task_provisioning","copilot_chat_persist_session_drafts","copilot_chat_vision_dotcom_chat_ga_gate","copilot_css_textarea_autosize","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_extensions_removal_on_marketplace","copilot_fix_failed_workflows_all_skus","copilot_hide_hovercard","copilot_immersive_task_hyperlinking","copilot_mc_cli_resume_any_users_task","copilot_mission_control_agent_merge_fix_ci","copilot_mission_control_agent_merge_resolve_conflicts","copilot_mission_control_awps_batching","copilot_mission_control_early_stop","copilot_mission_control_managed_sandbox_environments","copilot_mission_control_needs_attention","copilot_mission_control_reasoning_effort","copilot_mission_control_sandbox_remote_bypass","copilot_mission_control_task_alive_updates","copilot_mission_control_task_sharing","copilot_org_policy_page_focus_mode","copilot_share_active_subthread","copilot_spaces_ga","copilot_spaces_individual_policies_ga","copilot_swe_agent_authorization_status_ui","copilot_swe_agent_automation_resource_scoped_writes","copilot_swe_agent_discussion_comment_trigger","copilot_swe_agent_discussion_opened_trigger","copilot_swe_agent_discussion_updated_trigger","copilot_swe_agent_hide_model_picker_if_only_auto","copilot_swe_agent_issue_assigned_trigger","copilot_swe_agent_issue_comment_trigger","copilot_swe_agent_issue_labeled_trigger","copilot_swe_agent_pr_comment_model_picker","copilot_swe_agent_pull_request_assigned_trigger","copilot_swe_agent_pull_request_comment_trigger","copilot_swe_agent_pull_request_labeled_trigger","copilot_swe_agent_pull_request_merged_trigger","copilot_swe_agent_pull_request_opened_trigger","copilot_swe_agent_pull_request_ready_for_review_trigger","copilot_swe_agent_pull_request_review_requested_trigger","copilot_swe_agent_pull_request_review_submitted_trigger","copilot_swe_agent_pull_request_synchronize_trigger","copilot_swe_agent_sub_issue_added_trigger","copilot_swe_agent_use_subagents","copilot_task_api_github_rest_style","copilot_task_scoped_alive_channel","copilot_token_based_billing","copilot_unconfigured_is_inherited","copilot_user_can_upgrade_plan_field","copilot_workbench_sunset_redirect","dashboard_agents_module_auth_token_check","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","fgpat_permissions_selector_redesign","glc_code_quality_repo_settings_workflow_config","hyperspace_2025_logged_out_batch_1","hyperspace_2025_logged_out_batch_2","hyperspace_2025_logged_out_batch_3","in_product_messaging_datadog_monitoring","ipm_ubb_individual_budget_banner","issue_fields_multi_select","issue_inline_avatars","issue_pinned_views","issue_pinned_views_team_vs_personal","issue_relative_time_micro","issues_expanded_file_types","issues_hide_closed_sub_issues","issues_index_data_router","issues_lazy_load_comment_box_suggestions","issues_react_chrome_container_query_fix","labels_archiving","labels_archiving_info","landing_pages_ninetailed","lifecycle_label_name_updates","marketing_cookie_consent_banner","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","memex_remove_deprecated_type_issue","merge_queue_restricted_pushers_warning","merge_status_header_feedback","milestone_closed_issues_prioritization","milestone_show_data_router","octocaptcha_origin_optimization","primer_react_css_anchor_positioning","primer_react_merged_forwarded_refs","prs_copilot_app_open_action","prs_css_anchor_positioning","pull_request_copilot_attribution_header","pull_request_overview_merge_control","pull_request_overview_panel_edit_description","pull_request_persister","pull_request_stacks_navigation_shortcuts","pull_request_virtualization_image_estimate","pull_request_virtualization_loader_batching","pull_request_virtualization_scroll_compensation","pull_request_virtualization_scroll_intent","quick_search_lazy_suggestions","react_blob_isolate_code_lines","react_blob_ssr_content_visibility","react_data_router_tanstack_allowed","react_logged_out_repository_header","react_query_props_with_key","react_sandbox_future_tanstack","repo_app_turbo","repo_issues_sidebar_layout","repo_pulls_dashboard_declutter","repo_pulls_dashboard_ga","repo_pulls_dashboard_persistence","repo_pulls_dashboard_sidebar_links","repos_contributors_limited_default_range","review_involves_filter","rule_ignored_file_paths","rulesets_actor_list_editor","sample_network_conn_type","security_center_artifact_filters_popover","see_who_reacted","semantic_similarity_duplicate_issue_detection","session_logs_ungroup_reasoning_text","set_sha256_on_repo_creation_form","site_banner_desktop_copilot_app","site_ghca_pixel_mona","site_github_app_ga_page","site_github_app_ga_page_highlight","site_github_app_mobile_native_share","site_global_banner_dev_days_attendee","site_global_nav_spark_models_removed","speculation_rules_ui_service","suggest_custom_property_values_copilot","suppress_automated_browser_vitals","swp_forms_disable_octocaptcha","thread_resolution_reason","update_issue_suggestions","viewscreen_sandbox","warn_inaccessible_attachments","webp_support","workstream_plugin_bootstrap"],"githubDomain":"https://github.com","copilotApiOverrideUrl":"https://api.githubcopilot.com","cmcApiUrl":"https://api.github.com/cmc_internal/api"}</script>
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/high-contrast-cookie-b752d992928a526c.js"></script>
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/wp-runtime-9cd3990a0ea0fbbc.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/app-foundation-2f08c823163591a8.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/app-runtime-633ad94fa06c334b.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/fetch-utilities-0fb4c544a797ec0d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ser-7c872b58ac9f1b39.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/tp-7e9817cf5c068979.js" />
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/environment-78cfaea811c82309.js" defer="defer"></script>
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/app-runtime.bef03fb24bb03be8.module.css" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/catalyst-52ed81112a548e10.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/selector-observer-e8810f64c443fb9b.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/relative-time-element-0417f617ad744a0d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/by-9da36843ba9d191d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ja9-9a1160b939f2cd52.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/3h-55903cf2303047ad.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/hk-f1498fec45311acd.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/jz5-7aa1ff0a0e750f41.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/hj-1d800d09e9a8720a.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/j0-9697c1c8f5cbf523.js" />
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/github-elements-5c5a55b7e1af77a4.js" defer="defer"></script>
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/element-registry-f4c4e5ade0860991.js" defer="defer"></script>
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/runtime-helpers-5e0b3ae3c4036207.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/aria-live-524a06aa946df6fc.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/hotkey-b1ee53c2200b172a.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/react-core-7bf7b9d689fe3d10.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/a9-ca3bc10b816bcc1f.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ur-21ec1e439ee2d87c.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/4t-4c39f7195fc42cc8.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/pb-53cfff089eaac51b.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/6n-afcf86ccabc4cad2.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/zj-4d9cf83cf08e1643.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/wo-6991af5b3829ffe8.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/nfv-a6c14301d3ea6d67.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/b5-a2fde30ce0c692b9.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/sw-9d0489dbf9a9c942.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ttf-7d5abe1b447ced2c.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/sj-c7a44023ee90d468.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/0pd-c46d8dfae89c2b64.js" />
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/behaviors-97324e9d6a7bb51c.js" defer="defer"></script>
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/react-core.255cab819a92f7e1.module.css" />
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/code-menu-4744eeb6309adcc5.js" defer="defer"></script>
  
  <link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/primer-react-8503588299651923.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ncx-66e64888bc4615bb.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/qmp-c7cfba40cf5a93b0.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/j6-148a74299e5a01ab.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/t7l-a9404625ec30bbc7.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/4u-8f9f1d6be01d6a22.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/s0-68d09e5e8a80cb94.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/y5-0cb3f75cec297941.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/n4u-cd9039ad946274ad.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/j8s-00bd469c4017a543.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/la-27679061f16e1495.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/iu-2d03f5e6d4fdd54d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/gru-2b0fac8887ff8c57.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/a0-234e967e7c6d22ce.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/gz3-5bdfbfceac967bb6.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/15m-64f3034430471048.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/1e-c15441bdb94d54ae.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/gzu-6ad9a0527a5d7afd.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/bi-3a42b8714e06c4d0.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/tu1-37e16844272ddefa.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/b1-ac66ededed061993.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/gmn-1e5497c041b66231.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/0l5-d1b2a63015b5eb6d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/c2-e85522be441acf73.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/f9-baf0a4193779952e.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/sp-87dce99c82a27004.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/zkm-116b01b8485bbe3f.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/og-518d12c9e011601d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/b9-947db365ea875cfa.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/14-8c7b4ad3c845664c.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/dsj-2e7d883cb843e9e6.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ec-38012819307fd539.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/du-6607da3b8b579202.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/20-f43eb09c2be69457.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ql0-107312645ac2b72d.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/wp-fa7cdc0f7656d876.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/p0l-fe491d943adf7508.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/v1e-d099d9fd21ad25e5.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/fn-7b298a45c55fb6fb.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/7cw-6e493a20eaaa04b5.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ok-290e4b9465ba9c5b.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/6d-ca6d584a0fd6368c.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/y8-e2f18f5a24733f3b.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/xc-3fd4a2e7dcbad8e2.js" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/vjg-2874f95f389c4d3f.js" />
<script crossorigin="anonymous" type="module" src="https://github.githubassets.com/assets/code-view-b3d70d2cf9775dd7.js" defer="defer"></script>
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react-css.e4334163c54cccf5.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/ql0.501e99879e15a48e.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/xc.de2b1dde0494f261.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-view.9e3e81c69829c0a5.module.css" />


  <title>anthropic-sdk-python/MIGRATION.md at main · A3IO/anthropic-sdk-python · GitHub</title>



  <meta name="route-pattern" content="/:user_id/:repository/blob/*name(/*path)" data-turbo-transient>
  <meta name="route-controller" content="blob" data-turbo-transient>
  <meta name="route-action" content="show" data-turbo-transient>
  <meta name="fetch-nonce" content="v2:b703fd10-6101-6ff6-d44b-a3d26332e44e">

    
  <meta name="current-catalog-service-hash" content="f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb">


  <meta name="request-id" content="E946:4986:388210:4605D8:6AC78882" data-pjax-transient="true"/><meta name="html-safe-nonce" content="11ad606a195222f6c903decc43668522c31d7d39edf2acb85d64bb5fc13fbdbb" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTQ2OjQ5ODY6Mzg4MjEwOjQ2MDVEODo2QUM3ODg4MiIsInZpc2l0b3JfaWQiOiIzMzA4NjE5MjI2NzU1NTg1MzAiLCJyZWdpb25fZWRnZSI6ImZyYSIsInJlZ2lvbl9yZW5kZXIiOiJmcmEifQ==" data-pjax-transient="true"/><meta name="visitor-hmac" content="ddc465c5e7e944458e4a34e7cb4ff80baf01f9bf0314d279950de44dce4f8ebe" data-pjax-transient="true"/>


    <meta name="hovercard-subject-tag" content="repository:1114121916" data-turbo-transient>


  <meta name="github-keyboard-shortcuts" content="repository,source-code,file-tree,copilot" data-turbo-transient="true" />
  

  <meta name="selected-link" value="repo_source" data-turbo-transient>
  <link rel="assets" href="https://github.githubassets.com/">

    <meta name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I">

<meta name="octolytics-url" content="https://collector.github.com/github/collect" />





  <meta name="analytics-location" content="/&lt;user-name&gt;/&lt;repo-name&gt;/blob/show" data-turbo-transient="true" />

  




    <meta name="user-login" content="">

  

    <meta name="viewport" content="width=device-width">

    

      <meta name="description" content="Contribute to A3IO/anthropic-sdk-python development by creating an account on GitHub.">

      <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">

    <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
    <meta property="fb:app_id" content="1401488693436528">
    <meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md" />

      <meta name="twitter:image" content="https://opengraph.githubassets.com/1a56e6f0df5cb8c115b8e72e6ee07dc33c7e54d374c379dbff006509571a0e30/A3IO/anthropic-sdk-python" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="anthropic-sdk-python/MIGRATION.md at main · A3IO/anthropic-sdk-python" /><meta name="twitter:description" content="Contribute to A3IO/anthropic-sdk-python development by creating an account on GitHub." />
  <meta property="og:image" content="https://opengraph.githubassets.com/1a56e6f0df5cb8c115b8e72e6ee07dc33c7e54d374c379dbff006509571a0e30/A3IO/anthropic-sdk-python" /><meta property="og:image:alt" content="Contribute to A3IO/anthropic-sdk-python development by creating an account on GitHub." /><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="600" /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="anthropic-sdk-python/MIGRATION.md at main · A3IO/anthropic-sdk-python" /><meta property="og:url" content="https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md" /><meta property="og:description" content="Contribute to A3IO/anthropic-sdk-python development by creating an account on GitHub." />
  




      <meta name="hostname" content="github.com">



        <meta name="expected-hostname" content="github.com">


  <meta http-equiv="x-pjax-version" content="889d3769d004bbabcb2d57defecdbdffa917dabfd09af5fe1066930bce725763" data-turbo-track="reload">
  <meta http-equiv="x-pjax-csp-version" content="c4a65e47b0c850e1157ae8e66298070851d7e3b558038de5a3b4ff7a93e630ed" data-turbo-track="reload">
  <meta http-equiv="x-pjax-css-version" content="1ff3f1d4e1abd61f6f135b47d3b815e2f7169f8dd418f0118c6b1cf4de6cbc86" data-turbo-track="reload">
  <meta http-equiv="x-pjax-js-version" content="4eb464d709a367626a2fa13f786ce8579b9c4609737eb7f52ddb2dd7a417992e" data-turbo-track="reload">

  <meta name="turbo-cache-control" content="no-preview" data-turbo-transient="">

      <meta name="turbo-cache-control" content="no-cache" data-turbo-transient>

    <meta data-hydrostats="publish">

  <meta name="go-import" content="github.com/A3IO/anthropic-sdk-python git https://github.com/A3IO/anthropic-sdk-python.git">

  <meta name="octolytics-dimension-user_id" content="258090891" /><meta name="octolytics-dimension-user_login" content="A3IO" /><meta name="octolytics-dimension-repository_id" content="1114121916" /><meta name="octolytics-dimension-repository_nwo" content="A3IO/anthropic-sdk-python" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="true" /><meta name="octolytics-dimension-repository_parent_id" content="590187800" /><meta name="octolytics-dimension-repository_parent_nwo" content="anthropics/anthropic-sdk-python" /><meta name="octolytics-dimension-repository_network_root_id" content="590187800" /><meta name="octolytics-dimension-repository_network_root_nwo" content="anthropics/anthropic-sdk-python" />
  



    

    <meta name="turbo-body-classes" content="logged-out env-production page-responsive">
  <meta name="disable-turbo" content="false">


  <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">


  <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">

  <meta name="release" content="801ae3b8965dc86d802cc1338ab249b151fcd6b5" data-turbo-track="reload">
  <meta name="ui-target" content="full">

  <link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000">
  <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://github.githubassets.com/favicons/favicon.png">
  <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg" data-base-href="https://github.githubassets.com/favicons/favicon">

<meta name="theme-color" content="#1e2327">
<meta name="color-scheme" content="light dark" />


  <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials">

  </head>

  <body class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
    <div data-turbo-body class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
      <div id="__primerPortalRoot__" style="z-index: 1000; position: absolute; width: 100%;" data-turbo-permanent></div>
      

    <div class="position-relative header-wrapper js-header-wrapper ">
      <a href="#start-of-content" data-skip-target-assigned="false" class="px-2 tmp-py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a>

      <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">
    <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span>
</span>      
      <link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/qc-1bbbe8787ea1cd4b.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-3e666a3e537c472d.js" fetchpriority="low" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react-css.e4334163c54cccf5.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/keyboard-shortcuts-dialog.95d5f62aa9be509b.module.css" />

<react-partial
  partial-name="keyboard-shortcuts-dialog"
  data-ssr="false"
  data-attempted-ssr="false"
  data-react-profiling="false"
>
  
  <script type="application/json" data-target="react-partial.embeddedData">{"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}</script>
  <div data-target="react-partial.reactRoot"></div>
</react-partial>





      

          <link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/app-install-banner-partial-7ef0e1f4bed941b2.js" fetchpriority="low" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react-css.e4334163c54cccf5.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/app-install-banner-partial.6d92634af3771223.module.css" />

<react-partial
  partial-name="app-install-banner-partial"
  data-ssr="false"
  data-attempted-ssr="false"
  data-react-profiling="false"
>
  
  <script type="application/json" data-target="react-partial.embeddedData">{"props":{}}</script>
  <div data-target="react-partial.reactRoot"></div>
</react-partial>


          

                <link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/2l-e468179ba7123a2e.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/rwd-069fc3d9814ff9fe.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/fz-e662bc3745e171e7.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/jag-3559ee48016881a2.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/3d-7f22b36f29a9dd94.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/tua-4998592d21eb16f7.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/8i-756d611a52e5f265.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/marketing-header-4bd2e304db73f61d.js" fetchpriority="low" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react-css.e4334163c54cccf5.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react-brand-css.05b219cdb8e80c43.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/8i.779dd52a6bc5b0b6.module.css" />

<react-partial
  partial-name="marketing-header"
  data-ssr="true"
  data-attempted-ssr="true"
  data-react-profiling="false"
>
  
  <script type="application/json" data-target="react-partial.embeddedData">{"props":{"color_mode":"dark","logged_in":false,"marketing_page":false,"home_path":"/","login_path":"/login?return_to=https%3A%2F%2Fgithub.com%2FA3IO%2Fanthropic-sdk-python%2Fblob%2Fmain%2FMIGRATION.md","signup_path":"/signup?ref_cta=Sign+up\u0026ref_loc=header+logged+out\u0026ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow\u0026source=header-repo\u0026source_repo=A3IO%2Fanthropic-sdk-python","signup_enabled":true,"is_signup_controller":false,"show_search_and_nav":true,"hide_search":false,"private_mode_enabled":false,"should_use_dotcom_links":true,"auth_hydro_click":"{\"event_type\":\"authentication.click\",\"payload\":{\"location_in_page\":\"site header menu\",\"repository_id\":null,\"auth_type\":\"SIGN_UP\",\"originating_url\":\"https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md\",\"user_id\":null}}","auth_hydro_click_hmac":"70348bf4aefc5c5585e53bfd1a90cb5206043bf956ef2c60d3a45f0d92d9bf58","overlay":false,"fixed":false}}</script>
  <div data-target="react-partial.reactRoot"><div data-color-mode="dark" data-light-theme="light" data-dark-theme="dark"><header class="MarketingHeader-module__root__Tk7n3 HeaderMktg header-logged-out" role="banner" data-marketing-header="true" data-color-mode="dark" data-light-theme="light" data-dark-theme="dark" data-is-top="true"><h2 class="MarketingHeader-module__visuallyHidden__sqKsl">Navigation Menu</h2><button type="button" class="MarketingHeader-module__backdrop__sw4RU" aria-label="Close navigation menu"></button><div class="MarketingHeader-module__bar__mBSyE"><div class="MarketingHeader-module__topRow__yeury"><div class="MarketingHeader-module__toggleSlot__hDxbh"><button type="button" class="HeaderMenuToggle-module__toggle__i8EiC" aria-label="Toggle navigation" aria-expanded="false"><span class="HeaderMenuToggle-module__toggleBar__jVN0H"></span><span class="HeaderMenuToggle-module__toggleBar__jVN0H"></span><span class="HeaderMenuToggle-module__toggleBar__jVN0H"></span></button></div><a href="/" aria-label="Homepage" class="HeaderLogo-module__logo__UFyHI" data-analytics-event="{&quot;action&quot;:&quot;homepage&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;logo&quot;,&quot;location&quot;:&quot;header&quot;,&quot;label&quot;:&quot;homepage_link_logo_header&quot;}"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-mark-github" viewBox="0 0 24 24" width="32" height="32" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.226 17.284c-2.965-.36-5.054-2.493-5.054-5.256 0-1.123.404-2.336 1.078-3.144-.292-.741-.247-2.314.09-2.965.898-.112 2.111.36 2.83 1.01.853-.269 1.752-.404 2.853-.404 1.1 0 1.999.135 2.807.382.696-.629 1.932-1.1 2.83-.988.315.606.36 2.179.067 2.942.72.854 1.101 2 1.101 3.167 0 2.763-2.089 4.852-5.098 5.234.763.494 1.28 1.572 1.28 2.807v2.336c0 .674.561 1.056 1.235.786 4.066-1.55 7.255-5.615 7.255-10.646C23.5 6.188 18.334 1 11.978 1 5.62 1 .5 6.188.5 12.545c0 4.986 3.167 9.12 7.435 10.669.606.225 1.19-.18 1.19-.786V20.63a2.9 2.9 0 0 1-1.078.224c-1.483 0-2.359-.808-2.987-2.313-.247-.607-.517-.966-1.034-1.033-.27-.023-.359-.135-.359-.27 0-.27.45-.471.898-.471.652 0 1.213.404 1.797 1.235.45.651.921.943 1.483.943.561 0 .92-.202 1.437-.719.382-.381.674-.718.944-.943"></path></svg></a><div class="AuthCTAs-module__mobileActions__NNzeV"><a class="Primer_Brand__Button-module__Button___scH9Z Primer_Brand__Button-module__Button--subtle___F7pEE Primer_Brand__Button-module__Button--size-small___zQrEw AuthCTAs-module__cta__WpwQq" href="/login?return_to=https%3A%2F%2Fgithub.com%2FA3IO%2Fanthropic-sdk-python%2Fblob%2Fmain%2FMIGRATION.md" data-analytics-event="{&quot;action&quot;:&quot;sign_in&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;auth_cta&quot;,&quot;location&quot;:&quot;header&quot;,&quot;label&quot;:&quot;sign_in_link_auth_cta_header&quot;}" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;site header menu&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;SIGN_UP&quot;,&quot;originating_url&quot;:&quot;https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="70348bf4aefc5c5585e53bfd1a90cb5206043bf956ef2c60d3a45f0d92d9bf58"><span class="Primer_Brand__Button-module__Button__text___ED0bX"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ Primer_Brand__Button-module__Button--label___qrkyz Primer_Brand__Button-module__Button--label-subtle___8ndWH">Sign in</span></span></a><button class="Primer_Brand__Button-module__Button___scH9Z Primer_Brand__Button-module__Button--subtle___F7pEE Primer_Brand__Button-module__Button--size-small___zQrEw HeaderAppearanceSettings-module__trigger__hUheK" type="button" aria-haspopup="dialog" aria-labelledby="_R_3dd_"><span class="Primer_Brand__Button-module__Button__leading-visual___jjtTe" data-testid="Button-leading-visual"><svg data-component="Octicon" focusable="false" aria-hidden="true" class="octicon octicon-sliders Primer_Brand__Button-module__Button__icon-visual____qybb" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M15 2.75a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75Zm-8.5.75v1.25a.75.75 0 0 0 1.5 0v-4a.75.75 0 0 0-1.5 0V2H1.75a.75.75 0 0 0 0 1.5H6.5Zm1.25 5.25a.75.75 0 0 0 0-1.5h-6a.75.75 0 0 0 0 1.5h6ZM15 8a.75.75 0 0 1-.75.75H11.5V10a.75.75 0 1 1-1.5 0V6a.75.75 0 0 1 1.5 0v1.25h2.75A.75.75 0 0 1 15 8Zm-9 5.25v-2a.75.75 0 0 0-1.5 0v1.25H1.75a.75.75 0 0 0 0 1.5H4.5v1.25a.75.75 0 0 0 1.5 0v-2Zm9 0a.75.75 0 0 1-.75.75h-6a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 .75.75Z"></path></svg></span><span class="Primer_Brand__Button-module__Button__text___ED0bX"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ Primer_Brand__Button-module__Button--label___qrkyz Primer_Brand__Button-module__Button--label-subtle___8ndWH"></span></span></button><div class="Primer_Brand__Tooltip-module__Tooltip___0Eipx" data-direction="s" aria-hidden="true" id="_R_3dd_">Appearance settings</div></div></div><div class="MarketingHeader-module__menu__GIy3y"><div class="MarketingHeader-module__menuWrapper__owstH"><nav class="MarketingNavigation-module__nav__W0KYY" aria-label="Global"><ul class="MarketingNavigation-module__list__tFbMb"><li><div class="NavDropdown-module__container__l2YeI"><button type="button" class="NavDropdown-module__button__PEHWX" aria-expanded="false" aria-controls="_R_nd_">Platform<svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-right NavDropdown-module__buttonIcon__Tkl8_" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m6.427 4.427 3.396 3.396a.25.25 0 0 1 0 .354l-3.396 3.396A.25.25 0 0 1 6 11.396V4.604a.25.25 0 0 1 .427-.177Z"></path></svg></button><div id="_R_nd_" class="NavDropdown-module__dropdown__xm1jd"><ul class="NavDropdown-module__list__zuCgG"><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_5knd_">AI CODE CREATION</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_5knd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/copilot" data-analytics-event="{&quot;action&quot;:&quot;github_copilot&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_copilot_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-copilot NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path></svg>GitHub Copilot</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Write better code with AI</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/ai/github-app" data-analytics-event="{&quot;action&quot;:&quot;github_copilot_app&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_copilot_app_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-mark-github NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M6.766 11.328c-2.063-.25-3.516-1.734-3.516-3.656 0-.781.281-1.625.75-2.188-.203-.515-.172-1.609.063-2.062.625-.078 1.468.25 1.968.703.594-.187 1.219-.281 1.985-.281.765 0 1.39.094 1.953.265.484-.437 1.344-.765 1.969-.687.218.422.25 1.515.046 2.047.5.593.766 1.39.766 2.203 0 1.922-1.453 3.375-3.547 3.64.531.344.89 1.094.89 1.954v1.625c0 .468.391.734.86.547C13.781 14.359 16 11.53 16 8.03 16 3.61 12.406 0 7.984 0 3.563 0 0 3.61 0 8.031a7.88 7.88 0 0 0 5.172 7.422c.422.156.828-.125.828-.547v-1.25c-.219.094-.5.156-.75.156-1.031 0-1.64-.562-2.078-1.609-.172-.422-.36-.672-.719-.719-.187-.015-.25-.093-.25-.187 0-.188.313-.328.625-.328.453 0 .844.281 1.25.86.313.452.64.655 1.031.655s.641-.14 1-.5c.266-.265.47-.5.657-.656"></path></svg>GitHub Copilot app</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Direct agents from issue to merge</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/mcp" data-analytics-event="{&quot;action&quot;:&quot;mcp_registry&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;mcp_registry_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-mcp NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M5.52 1.12a3.578 3.578 0 0 1 6.078 2.98 3.578 3.578 0 0 1 2.982 6.08l-3.292 3.293a.252.252 0 0 0 0 .354l.843.843a.749.749 0 1 1-1.06 1.06l-.844-.843a1.75 1.75 0 0 1 0-2.474L13.52 9.12a2.08 2.08 0 0 0 0-2.94 2.08 2.08 0 0 0-2.94 0L7.731 9.03A.75.75 0 0 1 6.67 7.97l2.85-2.85a2.08 2.08 0 0 0 0-2.94 2.08 2.08 0 0 0-2.94 0l-4.799 4.8A.75.75 0 0 1 .72 5.92Z"></path><path d="M7.52 3.12a.749.749 0 1 1 1.06 1.06L5.731 7.03A2.079 2.079 0 0 0 8.67 9.97l2.85-2.85a.749.749 0 1 1 1.06 1.06l-2.849 2.85A3.578 3.578 0 0 1 4.67 5.97Z"></path></svg>MCP Registry</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Integrate external tools</span></span></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_9knd_">DEVELOPER WORKFLOWS</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_9knd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/actions" data-analytics-event="{&quot;action&quot;:&quot;actions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;actions_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-workflow NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"></path></svg>Actions</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Automate any workflow</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/codespaces" data-analytics-event="{&quot;action&quot;:&quot;codespaces&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;codespaces_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-codespaces NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 11.25c0-.966.784-1.75 1.75-1.75h12.5c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm2-9.5C2 .784 2.784 0 3.75 0h8.5C13.216 0 14 .784 14 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-8.5A1.75 1.75 0 0 1 2 6.75Zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25Zm-2 9.5a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-3a.25.25 0 0 0-.25-.25Z"></path><path d="M7 12.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path></svg>Codespaces</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Instant dev environments</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/issues" data-analytics-event="{&quot;action&quot;:&quot;issues&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;issues_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-issue-opened NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path></svg>Issues</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Plan and track work</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/code-review" data-analytics-event="{&quot;action&quot;:&quot;code_review&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;code_review_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-code NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path></svg>Code Review</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Manage code changes</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/code-quality" data-analytics-event="{&quot;action&quot;:&quot;code_quality&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;code_quality_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-codescan-checkmark NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.28 6.28a.75.75 0 1 0-1.06-1.06L6.25 8.19l-.97-.97a.75.75 0 0 0-1.06 1.06l1.5 1.5a.75.75 0 0 0 1.06 0l3.5-3.5Z"></path><path d="M7.5 15a7.5 7.5 0 1 1 5.807-2.754l2.473 2.474a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-2.474-2.473A7.472 7.472 0 0 1 7.5 15Zm0-13.5a6 6 0 1 0 4.094 10.386.748.748 0 0 1 .293-.292 6.002 6.002 0 0 0 1.117-6.486A6.002 6.002 0 0 0 7.5 1.5Z"></path></svg>Code Quality</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Enforce quality at merge</span></span></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_dknd_">APPLICATION SECURITY</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_dknd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/security/advanced-security" data-analytics-event="{&quot;action&quot;:&quot;github_advanced_security&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_advanced_security_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-shield-check NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path></svg>GitHub Advanced Security</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Find and fix vulnerabilities</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/security/advanced-security/code-security" data-analytics-event="{&quot;action&quot;:&quot;code_security&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;code_security_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-code-square NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Zm7.47 3.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L10.69 8 9.22 6.53a.75.75 0 0 1 0-1.06ZM6.78 6.53 5.31 8l1.47 1.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path></svg>Code security</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Secure your code as you build</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/security/advanced-security/secret-protection" data-analytics-event="{&quot;action&quot;:&quot;secret_protection&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;secret_protection_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-lock NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M4 4a4 4 0 0 1 8 0v2h.25c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 12.25 15h-8.5A1.75 1.75 0 0 1 2 13.25v-5.5C2 6.784 2.784 6 3.75 6H4Zm8.25 3.5h-8.5a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25ZM10.5 6V4a2.5 2.5 0 1 0-5 0v2Z"></path></svg>Secret protection</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Stop leaks before they start</span></span></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ NavGroup-module__hasSeparator__FnMrN"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_hknd_">EXPLORE</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_hknd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/why-github" data-analytics-event="{&quot;action&quot;:&quot;why_github&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;why_github_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Why GitHub</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://docs.github.com" data-analytics-event="{&quot;action&quot;:&quot;documentation&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;documentation_link_platform_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Documentation</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://github.blog" data-analytics-event="{&quot;action&quot;:&quot;blog&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;blog_link_platform_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Blog</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://github.blog/changelog" data-analytics-event="{&quot;action&quot;:&quot;changelog&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;changelog_link_platform_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Changelog</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/marketplace" data-analytics-event="{&quot;action&quot;:&quot;marketplace&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;marketplace_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Marketplace</span></a></li></ul></div></li></ul><div class="NavDropdown-module__trailingLinkContainer__VgJGL"><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--arrow-end___esdN8" href="https://github.com/features" data-analytics-event="{&quot;action&quot;:&quot;view_all_features&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;platform&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;view_all_features_link_platform_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">View all features</span><svg class="Primer_Brand__ExpandableArrow-module__ExpandableArrow___aaZs9 Primer_Brand__Link-module__Link-arrow___yd78i" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path fill="currentColor" d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z"></path><path class="Primer_Brand__ExpandableArrow-module__ExpandableArrow-stem___0K8Hz" stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path></svg></a></div></div></div></li><li><div class="NavDropdown-module__container__l2YeI"><button type="button" class="NavDropdown-module__button__PEHWX" aria-expanded="false" aria-controls="_R_17d_">Solutions<svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-right NavDropdown-module__buttonIcon__Tkl8_" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m6.427 4.427 3.396 3.396a.25.25 0 0 1 0 .354l-3.396 3.396A.25.25 0 0 1 6 11.396V4.604a.25.25 0 0 1 .427-.177Z"></path></svg></button><div id="_R_17d_" class="NavDropdown-module__dropdown__xm1jd"><ul class="NavDropdown-module__list__zuCgG"><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_5l7d_">BY COMPANY SIZE</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_5l7d_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/enterprise" data-analytics-event="{&quot;action&quot;:&quot;enterprises&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;enterprises_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Enterprises</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/team" data-analytics-event="{&quot;action&quot;:&quot;small_and_medium_teams&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;small_and_medium_teams_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Small and medium teams</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/enterprise/startups" data-analytics-event="{&quot;action&quot;:&quot;startups&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;startups_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Startups</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/industry/nonprofits" data-analytics-event="{&quot;action&quot;:&quot;nonprofits&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;nonprofits_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Nonprofits</span></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_9l7d_">BY USE CASE</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_9l7d_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/use-case/app-modernization" data-analytics-event="{&quot;action&quot;:&quot;app_modernization&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;app_modernization_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">App Modernization</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/use-case/devsecops" data-analytics-event="{&quot;action&quot;:&quot;devsecops&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;devsecops_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">DevSecOps</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/use-case/devops" data-analytics-event="{&quot;action&quot;:&quot;devops&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;devops_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">DevOps</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/use-case/ci-cd" data-analytics-event="{&quot;action&quot;:&quot;ci/cd&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;ci/cd_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">CI/CD</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--arrow-end___esdN8" href="https://github.com/solutions/use-case" data-analytics-event="{&quot;action&quot;:&quot;view_all_use_cases&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;view_all_use_cases_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">View all use cases</span><svg class="Primer_Brand__ExpandableArrow-module__ExpandableArrow___aaZs9 Primer_Brand__Link-module__Link-arrow___yd78i" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path fill="currentColor" d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z"></path><path class="Primer_Brand__ExpandableArrow-module__ExpandableArrow-stem___0K8Hz" stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path></svg></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_dl7d_">BY INDUSTRY</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_dl7d_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/industry/healthcare" data-analytics-event="{&quot;action&quot;:&quot;healthcare&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;healthcare_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Healthcare</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/industry/financial-services" data-analytics-event="{&quot;action&quot;:&quot;financial_services&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;financial_services_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Financial services</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/industry/manufacturing" data-analytics-event="{&quot;action&quot;:&quot;manufacturing&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;manufacturing_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Manufacturing</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/industry/government" data-analytics-event="{&quot;action&quot;:&quot;government&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;government_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Government</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--arrow-end___esdN8" href="https://github.com/solutions/industry" data-analytics-event="{&quot;action&quot;:&quot;view_all_industries&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;view_all_industries_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">View all industries</span><svg class="Primer_Brand__ExpandableArrow-module__ExpandableArrow___aaZs9 Primer_Brand__Link-module__Link-arrow___yd78i" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path fill="currentColor" d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z"></path><path class="Primer_Brand__ExpandableArrow-module__ExpandableArrow-stem___0K8Hz" stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path></svg></a></li></ul></div></li></ul><div class="NavDropdown-module__trailingLinkContainer__VgJGL"><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--arrow-end___esdN8" href="https://github.com/solutions" data-analytics-event="{&quot;action&quot;:&quot;view_all_solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;view_all_solutions_link_solutions_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">View all solutions</span><svg class="Primer_Brand__ExpandableArrow-module__ExpandableArrow___aaZs9 Primer_Brand__Link-module__Link-arrow___yd78i" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path fill="currentColor" d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z"></path><path class="Primer_Brand__ExpandableArrow-module__ExpandableArrow-stem___0K8Hz" stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path></svg></a></div></div></div></li><li><div class="NavDropdown-module__container__l2YeI"><button type="button" class="NavDropdown-module__button__PEHWX" aria-expanded="false" aria-controls="_R_1nd_">Resources<svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-right NavDropdown-module__buttonIcon__Tkl8_" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m6.427 4.427 3.396 3.396a.25.25 0 0 1 0 .354l-3.396 3.396A.25.25 0 0 1 6 11.396V4.604a.25.25 0 0 1 .427-.177Z"></path></svg></button><div id="_R_1nd_" class="NavDropdown-module__dropdown__xm1jd"><ul class="NavDropdown-module__list__zuCgG"><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_5lnd_">EXPLORE BY TOPIC</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_5lnd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/resources/articles?topic=ai" data-analytics-event="{&quot;action&quot;:&quot;ai&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;ai_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">AI</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/resources/articles?topic=software-development" data-analytics-event="{&quot;action&quot;:&quot;software_development&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;software_development_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Software Development</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/resources/articles?topic=devops" data-analytics-event="{&quot;action&quot;:&quot;devops&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;devops_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">DevOps</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/resources/articles?topic=security" data-analytics-event="{&quot;action&quot;:&quot;security&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;security_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Security</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--arrow-end___esdN8" href="https://github.com/resources/articles" data-analytics-event="{&quot;action&quot;:&quot;view_all_topics&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;view_all_topics_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">View all topics</span><svg class="Primer_Brand__ExpandableArrow-module__ExpandableArrow___aaZs9 Primer_Brand__Link-module__Link-arrow___yd78i" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path fill="currentColor" d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z"></path><path class="Primer_Brand__ExpandableArrow-module__ExpandableArrow-stem___0K8Hz" stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path></svg></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_9lnd_">EXPLORE BY TYPE</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_9lnd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/customer-stories" data-analytics-event="{&quot;action&quot;:&quot;customer_stories&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;customer_stories_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Customer stories</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/resources/events" data-analytics-event="{&quot;action&quot;:&quot;events__webinars&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;events__webinars_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Events &amp; webinars</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/resources/whitepapers" data-analytics-event="{&quot;action&quot;:&quot;ebooks__reports&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;ebooks__reports_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Ebooks &amp; reports</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/solutions/executive-insights" data-analytics-event="{&quot;action&quot;:&quot;business_insights&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;business_insights_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Business insights</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://skills.github.com" data-analytics-event="{&quot;action&quot;:&quot;github_skills&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_skills_link_resources_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">GitHub Skills</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_dlnd_">SUPPORT &amp; SERVICES</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_dlnd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://docs.github.com" data-analytics-event="{&quot;action&quot;:&quot;documentation&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;documentation_link_resources_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Documentation</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://support.github.com" data-analytics-event="{&quot;action&quot;:&quot;customer_support&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;customer_support_link_resources_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Customer support</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/orgs/community/discussions" data-analytics-event="{&quot;action&quot;:&quot;community_forum&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;community_forum_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Community forum</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/trust-center" data-analytics-event="{&quot;action&quot;:&quot;trust_center&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;trust_center_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Trust center</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/partners" data-analytics-event="{&quot;action&quot;:&quot;partners&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;partners_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Partners</span></a></li></ul></div></li></ul><div class="NavDropdown-module__trailingLinkContainer__VgJGL"><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--arrow-end___esdN8" href="https://github.com/resources" data-analytics-event="{&quot;action&quot;:&quot;view_all_resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;view_all_resources_link_resources_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">View all resources</span><svg class="Primer_Brand__ExpandableArrow-module__ExpandableArrow___aaZs9 Primer_Brand__Link-module__Link-arrow___yd78i" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path fill="currentColor" d="M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z"></path><path class="Primer_Brand__ExpandableArrow-module__ExpandableArrow-stem___0K8Hz" stroke="currentColor" d="M1.75 8H11" stroke-width="1.5" stroke-linecap="round"></path></svg></a></div></div></div></li><li><div class="NavDropdown-module__container__l2YeI"><button type="button" class="NavDropdown-module__button__PEHWX" aria-expanded="false" aria-controls="_R_27d_">Open Source<svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-right NavDropdown-module__buttonIcon__Tkl8_" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m6.427 4.427 3.396 3.396a.25.25 0 0 1 0 .354l-3.396 3.396A.25.25 0 0 1 6 11.396V4.604a.25.25 0 0 1 .427-.177Z"></path></svg></button><div id="_R_27d_" class="NavDropdown-module__dropdown__xm1jd"><ul class="NavDropdown-module__list__zuCgG"><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_5m7d_">COMMUNITY</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_5m7d_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/open-source/sponsors" data-analytics-event="{&quot;action&quot;:&quot;github_sponsors&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_sponsors_link_open_source_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-sponsor-tiers NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.586 1C12.268 1 13.5 2.37 13.5 4.25c0 1.745-.996 3.359-2.622 4.831-.166.15-.336.297-.509.438l1.116 5.584a.75.75 0 0 1-.991.852l-2.409-.876a.25.25 0 0 0-.17 0l-2.409.876a.75.75 0 0 1-.991-.852L5.63 9.519a13.78 13.78 0 0 1-.51-.438C3.497 7.609 2.5 5.995 2.5 4.25 2.5 2.37 3.732 1 5.414 1c.963 0 1.843.403 2.474 1.073L8 2.198l.112-.125a3.385 3.385 0 0 1 2.283-1.068L10.586 1Zm-3.621 9.495-.718 3.594 1.155-.42a1.75 1.75 0 0 1 1.028-.051l.168.051 1.154.42-.718-3.592c-.199.13-.37.235-.505.314l-.169.097a.75.75 0 0 1-.72 0 9.54 9.54 0 0 1-.515-.308l-.16-.105ZM10.586 2.5c-.863 0-1.611.58-1.866 1.459-.209.721-1.231.721-1.44 0C7.025 3.08 6.277 2.5 5.414 2.5 4.598 2.5 4 3.165 4 4.25c0 1.23.786 2.504 2.128 3.719.49.443 1.018.846 1.546 1.198l.325.21.076-.047.251-.163a13.341 13.341 0 0 0 1.546-1.198C11.214 6.754 12 5.479 12 4.25c0-1.085-.598-1.75-1.414-1.75Z"></path></svg>GitHub Sponsors</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Fund open source developers</span></span></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_9m7d_">PROGRAMS</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_9m7d_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://securitylab.github.com" data-analytics-event="{&quot;action&quot;:&quot;security_lab&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;security_lab_link_open_source_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Security Lab</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://maintainers.github.com" data-analytics-event="{&quot;action&quot;:&quot;maintainer_community&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;maintainer_community_link_open_source_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Maintainer Community</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://stars.github.com" data-analytics-event="{&quot;action&quot;:&quot;github_stars&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_stars_link_open_source_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">GitHub Stars</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 Primer_Brand__Link-module__Link--is-external___xsncV" href="https://archiveprogram.github.com" data-analytics-event="{&quot;action&quot;:&quot;archive_program&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;archive_program_link_open_source_navbar&quot;}" target="_blank" rel="noreferrer"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Archive Program</span><svg data-component="Octicon" focusable="false" aria-label="External link" class="octicon octicon-link-external" role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path></svg></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_dm7d_">REPOSITORIES</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_dm7d_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/topics" data-analytics-event="{&quot;action&quot;:&quot;topics&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;topics_link_open_source_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Topics</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/trending" data-analytics-event="{&quot;action&quot;:&quot;trending&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;trending_link_open_source_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Trending</span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0" href="https://github.com/collections" data-analytics-event="{&quot;action&quot;:&quot;collections&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;collections_link_open_source_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty">Collections</span></a></li></ul></div></li></ul></div></div></li><li><div class="NavDropdown-module__container__l2YeI"><button type="button" class="NavDropdown-module__button__PEHWX" aria-expanded="false" aria-controls="_R_2nd_">Enterprise<svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-right NavDropdown-module__buttonIcon__Tkl8_" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m6.427 4.427 3.396 3.396a.25.25 0 0 1 0 .354l-3.396 3.396A.25.25 0 0 1 6 11.396V4.604a.25.25 0 0 1 .427-.177Z"></path></svg></button><div id="_R_2nd_" class="NavDropdown-module__dropdown__xm1jd"><ul class="NavDropdown-module__list__zuCgG"><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_5mnd_">ENTERPRISE SOLUTIONS</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_5mnd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/enterprise" data-analytics-event="{&quot;action&quot;:&quot;enterprise_platform&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;enterprise_platform_link_enterprise_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-stack NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M7.122.392a1.75 1.75 0 0 1 1.756 0l5.003 2.902c.83.481.83 1.68 0 2.162L8.878 8.358a1.75 1.75 0 0 1-1.756 0L2.119 5.456a1.251 1.251 0 0 1 0-2.162ZM8.125 1.69a.248.248 0 0 0-.25 0l-4.63 2.685 4.63 2.685a.248.248 0 0 0 .25 0l4.63-2.685ZM1.601 7.789a.75.75 0 0 1 1.025-.273l5.249 3.044a.248.248 0 0 0 .25 0l5.249-3.044a.75.75 0 0 1 .752 1.298l-5.248 3.044a1.75 1.75 0 0 1-1.756 0L1.874 8.814A.75.75 0 0 1 1.6 7.789Zm0 3.5a.75.75 0 0 1 1.025-.273l5.249 3.044a.248.248 0 0 0 .25 0l5.249-3.044a.75.75 0 0 1 .752 1.298l-5.248 3.044a1.75 1.75 0 0 1-1.756 0l-5.248-3.044a.75.75 0 0 1-.273-1.025Z"></path></svg>Enterprise platform</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">AI-powered developer platform</span></span></a></li></ul></div></li><li><div class="NavGroup-module__group__W8SqJ"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--monospace___QXHDQ Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavGroup-module__title__Wzxz2" id="_R_9mnd_">AVAILABLE ADD-ONS</span><ul class="NavGroup-module__list__UCOFy" aria-labelledby="_R_9mnd_"><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/security/advanced-security" data-analytics-event="{&quot;action&quot;:&quot;github_advanced_security&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;github_advanced_security_link_enterprise_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-shield-check NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path></svg>GitHub Advanced Security</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Enterprise-grade security features</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/features/copilot/copilot-business" data-analytics-event="{&quot;action&quot;:&quot;copilot_for_business&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;copilot_for_business_link_enterprise_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-copilot NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path></svg>Copilot for Business</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Enterprise-grade AI features</span></span></a></li><li><a class="Primer_Brand__Link-module__Link___lF11y Primer_Brand__Link-module__Link--default___VRVW0 NavLink-module__link__EG3d4" href="https://github.com/enterprise/premium-support" data-analytics-event="{&quot;action&quot;:&quot;premium_support&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;premium_support_link_enterprise_navbar&quot;}"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Link-module__Link--label___jM8Ty"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS Primer_Brand__Text-module__Text--weight-medium___qJKf_ NavLink-module__title__Q7t0p"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-comment-discussion NavLink-module__icon__ltGNM" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path></svg>Premium Support</span><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--muted___rE6mh Primer_Brand__Text-module__Text--200____P1wy Primer_Brand__Text-module__Text--antialiased___TYoXS NavLink-module__subtitle__X4gkW">Enterprise-grade 24/7 support</span></span></a></li></ul></div></li></ul></div></div></li><li><a href="https://github.com/pricing" data-analytics-event="{&quot;action&quot;:&quot;pricing&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;pricing&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;pricing_link_pricing_navbar&quot;}" class="MarketingNavigation-module__navLink__hUomM">Pricing</a></li></ul></nav><div class="MarketingHeader-module__ctaContainer__tBmPz"><div class="HeaderSearch-module__searchSlot__oVOUS"><button class="Primer_Brand__Button-module__Button___scH9Z Primer_Brand__Button-module__Button--subtle___F7pEE Primer_Brand__Button-module__Button--size-small___zQrEw HeaderSearch-module__trigger__zsF9q" type="button" aria-haspopup="dialog" aria-expanded="false" aria-label="Search or jump to, type / to search" data-analytics-event="{&quot;action&quot;:&quot;searchbar&quot;,&quot;tag&quot;:&quot;input&quot;,&quot;context&quot;:&quot;global&quot;,&quot;location&quot;:&quot;navbar&quot;,&quot;label&quot;:&quot;searchbar_input_global_navbar&quot;}"><span class="Primer_Brand__Button-module__Button__text___ED0bX"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ Primer_Brand__Button-module__Button--label___qrkyz Primer_Brand__Button-module__Button--label-subtle___8ndWH"><span class="HeaderSearch-module__content__kMpxU"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-search HeaderSearch-module__icon__wcrHX" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path></svg><span class="HeaderSearch-module__label__d1iWG">Search</span><kbd class="HeaderSearch-module__kbd__HNG0o" aria-hidden="true">/</kbd></span></span></span></button><div class="d-none"></div></div><div class="AuthCTAs-module__signInWrap__q2P60"><a class="Primer_Brand__Button-module__Button___scH9Z Primer_Brand__Button-module__Button--subtle___F7pEE Primer_Brand__Button-module__Button--size-small___zQrEw AuthCTAs-module__cta__WpwQq AuthCTAs-module__desktopActionGap__UZuXT AuthCTAs-module__hiddenBelowLg__BfKBw" href="/login?return_to=https%3A%2F%2Fgithub.com%2FA3IO%2Fanthropic-sdk-python%2Fblob%2Fmain%2FMIGRATION.md" data-analytics-event="{&quot;action&quot;:&quot;sign_in&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;auth_cta&quot;,&quot;location&quot;:&quot;header&quot;,&quot;label&quot;:&quot;sign_in_link_auth_cta_header&quot;}" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;site header menu&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;SIGN_UP&quot;,&quot;originating_url&quot;:&quot;https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="70348bf4aefc5c5585e53bfd1a90cb5206043bf956ef2c60d3a45f0d92d9bf58"><span class="Primer_Brand__Button-module__Button__text___ED0bX"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ Primer_Brand__Button-module__Button--label___qrkyz Primer_Brand__Button-module__Button--label-subtle___8ndWH">Sign in</span></span></a></div><a class="Primer_Brand__Button-module__Button___scH9Z Primer_Brand__Button-module__Button--secondary___gHnw_ Primer_Brand__Button-module__Button--size-small___zQrEw AuthCTAs-module__cta__WpwQq" href="/signup?ref_cta=Sign+up&amp;ref_loc=header+logged+out&amp;ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&amp;source=header-repo&amp;source_repo=A3IO%2Fanthropic-sdk-python" data-analytics-event="{&quot;action&quot;:&quot;sign_up&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;context&quot;:&quot;auth_cta&quot;,&quot;location&quot;:&quot;header&quot;,&quot;label&quot;:&quot;sign_up_link_auth_cta_header&quot;}" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;site header menu&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;SIGN_UP&quot;,&quot;originating_url&quot;:&quot;https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="70348bf4aefc5c5585e53bfd1a90cb5206043bf956ef2c60d3a45f0d92d9bf58"><span class="Primer_Brand__Button-module__Button__text___ED0bX"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ Primer_Brand__Button-module__Button--label___qrkyz Primer_Brand__Button-module__Button--label-secondary___eJ0_a">Sign up</span></span></a><button class="Primer_Brand__Button-module__Button___scH9Z Primer_Brand__Button-module__Button--subtle___F7pEE Primer_Brand__Button-module__Button--size-small___zQrEw HeaderAppearanceSettings-module__trigger__hUheK" type="button" aria-haspopup="dialog" aria-labelledby="_R_fbd_"><span class="Primer_Brand__Button-module__Button__leading-visual___jjtTe" data-testid="Button-leading-visual"><svg data-component="Octicon" focusable="false" aria-hidden="true" class="octicon octicon-sliders Primer_Brand__Button-module__Button__icon-visual____qybb" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M15 2.75a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75Zm-8.5.75v1.25a.75.75 0 0 0 1.5 0v-4a.75.75 0 0 0-1.5 0V2H1.75a.75.75 0 0 0 0 1.5H6.5Zm1.25 5.25a.75.75 0 0 0 0-1.5h-6a.75.75 0 0 0 0 1.5h6ZM15 8a.75.75 0 0 1-.75.75H11.5V10a.75.75 0 1 1-1.5 0V6a.75.75 0 0 1 1.5 0v1.25h2.75A.75.75 0 0 1 15 8Zm-9 5.25v-2a.75.75 0 0 0-1.5 0v1.25H1.75a.75.75 0 0 0 0 1.5H4.5v1.25a.75.75 0 0 0 1.5 0v-2Zm9 0a.75.75 0 0 1-.75.75h-6a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 .75.75Z"></path></svg></span><span class="Primer_Brand__Button-module__Button__text___ED0bX"><span class="Primer_Brand__Text-module__Text___XeGJJ Primer_Brand__Text-module__Text-font--mona-sans___a8XJD Primer_Brand__Text-module__Text--default___GhPh_ Primer_Brand__Text-module__Text--100___B2ueX Primer_Brand__Text-module__Text--weight-medium___qJKf_ Primer_Brand__Button-module__Button--label___qrkyz Primer_Brand__Button-module__Button--label-subtle___8ndWH"></span></span></button><div class="Primer_Brand__Tooltip-module__Tooltip___0Eipx" data-direction="s" aria-hidden="true" id="_R_fbd_">Appearance settings</div></div></div></div></div><div class="MarketingHeader-module__bottomBorder__uZT38" aria-hidden="true"></div></header></div></div>
</react-partial>



      <div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full">
  
        <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
        <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span>
        <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span>
        <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span>

    <button id="icon-button-b8811495-0f5f-4f52-a458-05700ea3ca19" aria-labelledby="tooltip-faf7d573-5ff2-4bd2-943d-815cbc04ae93" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close">  <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
</button><tool-tip id="tooltip-faf7d573-5ff2-4bd2-943d-815cbc04ae93" for="icon-button-b8811495-0f5f-4f52-a458-05700ea3ca19" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip>


  
</div>
    </div>

  <div id="start-of-content" class="show-on-focus"></div>








    <div id="js-flash-container" class="flash-container" data-turbo-replace>






  <template class="js-flash-template">
    
<div class="flash flash-full   {{ className }}">
  <div >
    <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message">
      <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>
    <div aria-atomic="true" role="alert" class="js-flash-alert">
      
      <div>{{ message }}</div>

    </div>
  </div>
</div>
  </template>
</div>


    






  <div
    class="application-main "
    data-commit-hovercards-enabled
    data-discussion-hovercards-enabled
    data-issue-and-pr-hovercards-enabled
    data-project-hovercards-enabled
  >
        <div itemscope itemtype="http://schema.org/SoftwareSourceCode" class="">
    <main id="js-repo-pjax-container" >
      
      
    


    








  

    <link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ym-1a7ce813a378e1f7.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/mn-bb458474353a279e.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/t5-26d19272bbf73ca3.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/2d5-9abb2f6ba5c935d0.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/24-b11e1c4108322883.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/mrn-12afac2ecd2be980.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/dgq-bbf7670f9cdba2e0.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/7w-740b4e942974ccba.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/we-c9f93392098ad6c9.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/775-5adcc74216a7c5ae.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/bn-fcef0645a47703fc.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/xgw-b14e6d836a3b1288.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/ge-ca1c0ba8656f9680.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/9f-e543bc691db8262e.js" fetchpriority="low" />
<link crossorigin="anonymous" rel="modulepreload" href="https://github.githubassets.com/assets/global-nav-bar-07bdde11e6dfab23.js" fetchpriority="low" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react-css.e4334163c54cccf5.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/ql0.501e99879e15a48e.module.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-nav-bar.f97a1d936a823978.module.css" />

<react-partial
  partial-name="global-nav-bar"
  data-ssr="true"
  data-attempted-ssr="true"
  data-react-profiling="false"
>
  
  <script type="application/json" data-target="react-partial.embeddedData">{"props":{"contextRegion":{"crumbs":[{"crumb_type":"organization","label":"A3IO","is_root":false,"href":"/A3IO"},{"crumb_type":"repository","label":"anthropic-sdk-python","is_root":false,"octicon":"repo-forked","href":"/A3IO/anthropic-sdk-python"}],"localNavigation":[{"id":"code","icon":"code","label":"Code","href":"/A3IO/anthropic-sdk-python","selectedLinks":["repo_source","repo_downloads","repo_commits","repo_releases","repo_tags","repo_branches","repo_packages","repo_deployments","repo_attestations"],"popoverTarget":false,"commandId":"repositories:go-to-code","reactNav":{"appTarget":"code-view","anchor":"code-view-repo-link"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"pull-requests","icon":"git-pull-request","label":"Pull requests","href":"/A3IO/anthropic-sdk-python/pulls","selectedLinks":["repo_pulls","checks"],"count":0,"popoverTarget":false,"commandId":"repositories:go-to-pull-requests","reactNav":{"appTarget":null,"anchor":null},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"actions","icon":"play","label":"Actions","href":"/A3IO/anthropic-sdk-python/actions","selectedLinks":["repo_actions"],"popoverTarget":false,"commandId":"repositories:go-to-actions","reactNav":{"appTarget":"actions-workflows","anchor":null},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"projects","icon":"table","label":"Projects","href":"/A3IO/anthropic-sdk-python/projects","selectedLinks":["repo_projects","new_repo_project","repo_project"],"popoverTarget":false,"commandId":"repositories:go-to-projects","reactNav":{"appTarget":"repo","anchor":null},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"security-and-quality","icon":"shield","label":"Security and quality","href":"/A3IO/anthropic-sdk-python/security","selectedLinks":["security","overview","alerts","policy","token_scanning","code_scanning"],"count":0,"popoverTarget":false,"commandId":"repositories:go-to-security","reactNav":{"appTarget":null,"anchor":null},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"insights","icon":"graph","label":"Insights","href":"/A3IO/anthropic-sdk-python/pulse","selectedLinks":["repo_graphs","repo_contributors","dependency_graph","dependabot_updates","pulse","people","community"],"popoverTarget":false,"commandId":"repositories:go-to-insights","reactNav":{"appTarget":null,"anchor":null},"turboNav":{"frame":"repo-content-turbo-frame"}}],"localNavigationUpdateChannel":null,"selectedLink":"repo_source"},"owner":null,"headerLogo":{"href":"/","aria-label":"Homepage "},"notifications":{"indicatorMode":"disabled","websocketChannel":null,"fetchIndicatorSrc":"/notifications/indicator","fetchIndicatorEnabled":false},"issues":{"href":"/issues"},"pulls":{"href":"/pulls"},"contributedRepos":{"href":"/repos"},"copilot":{"show":false,"showAgentsButton":false,"showRelaunchAnnouncement":false,"copilotChatUrl":null,"copilotApiUrl":"https://api.githubcopilot.com"},"search":{"show":true,"showCommandPalette":false,"isSearchPage":false,"isJumpToSearch":false,"searchContext":{"scope":"repo:A3IO/anthropic-sdk-python","current_repo_name":"anthropic-sdk-python","current_repo_nwo":"A3IO/anthropic-sdk-python","current_repo_org":"A3IO","user_id":"A3IO"}},"commandPalette":null,"enterpriseBar":{"show":false},"globalTransactionalMessage":[],"payloadsUrl":"/_global-navigation/payloads.json?can_toggle_site_admin_and_employee_status=0\u0026is_admin_mode_on=0\u0026is_ui_opted_out=0\u0026show_ui_opt_out=0\u0026v=6","contextRegionUrl":"/_global-navigation/context-region.json"}}</script>
  <div data-target="react-partial.reactRoot"><header aria-label="Global navigation menu" data-component="Stack" class="GlobalNav styles-module__appHeader__YzYWk prc-Stack-Stack-UQ9k6" data-gap="none" data-direction="vertical" data-align="stretch" data-wrap="nowrap" data-justify="start" data-padding="none"><div data-component="Stack" class="prc-Stack-Stack-UQ9k6" data-direction="horizontal" data-align="center" data-wrap="nowrap" data-justify="center" data-padding="none"><div data-testid="top-nav-center" data-component="Stack" class="styles-module__center__R3QRv styles-module__withLocalNavigation__rjTJ_ GlobalNavBar-module__loggedOut__Jv1rk prc-Stack-Stack-UQ9k6" data-gap="condensed" data-direction="horizontal" data-align="stretch" data-wrap="nowrap" data-justify="start" data-padding="normal"><nav class="styles-module__contextRegion__VbSp2 prc-Breadcrumbs-BreadcrumbsBase-3Gb-B" aria-label="Breadcrumbs" data-overflow="menu" data-variant="normal" data-component="Breadcrumbs"><ol class="prc-Breadcrumbs-BreadcrumbsList-BKjpe"><li class="prc-Breadcrumbs-ItemWrapper-k0NLn"><a class="styles-module__contextCrumb__IzGIq prc-Breadcrumbs-Item-jcraJ" data-component="Breadcrumbs.Item" href="/A3IO" data-discover="true"><span class="">A3IO</span></a></li><li class="prc-Breadcrumbs-ItemWrapper-k0NLn"><a class="styles-module__contextCrumb__IzGIq prc-Breadcrumbs-Item-jcraJ" data-component="Breadcrumbs.Item" href="/A3IO/anthropic-sdk-python" data-discover="true"><span class="styles-module__contextCrumbLast__tI2e3">anthropic-sdk-python</span><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-repo-forked styles-module__trailingIcon__sCKDh" viewBox="0 0 16 16" width="12" height="12" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path></svg></a></li></ol></nav></div><div data-testid="top-nav-right" data-component="Stack" class="styles-module__right__mlBQg styles-module__withLocalNavigation__rjTJ_ styles-module__rightWithResponsiveCreateButton__SKn2W prc-Stack-Stack-UQ9k6" data-gap="condensed" data-direction="horizontal" data-align="center" data-wrap="nowrap" data-justify="start" data-padding="normal"></div></div><h2 class="prc-src-InternalVisuallyHidden-2YaI6">Repository navigation</h2><nav class="prc-components-UnderlineWrapper-eT-Yj prc-UnderlineNav-UnderlineWrapper-GWONT LocalNavigation-module__LocalNavigation__b0Xc0" aria-label="Repository" data-variant="inset" data-overflow-mode="wrap" data-hide-icons-breakpoint="medium"><ul class="prc-UnderlineNav-ItemsList-oj8gN prc-components-UnderlineItemList-xKlKC" role="list"><li role="presentation" aria-hidden="true" class="prc-UnderlineNav-WrapSpacer--aLgz"></li><li class="prc-UnderlineNav-UnderlineNavItem-syRjR"><a aria-current="page" data-tab-item="code" data-react-nav="code-view" data-react-nav-anchor="code-view-repo-link" data-turbo-frame="repo-content-turbo-frame" class="prc-components-UnderlineItem-7fP-n" href="/A3IO/anthropic-sdk-python" data-discover="true"><span data-component="icon"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-code" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path></svg></span><span data-component="text" data-content="Code">Code</span></a></li><li class="prc-UnderlineNav-UnderlineNavItem-syRjR"><a data-tab-item="pull-requests" data-turbo-frame="repo-content-turbo-frame" class="prc-components-UnderlineItem-7fP-n" href="/A3IO/anthropic-sdk-python/pulls" data-discover="true"><span data-component="icon"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-git-pull-request" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path></svg></span><span data-component="text" data-content="Pull requests">Pull requests</span></a></li><li class="prc-UnderlineNav-UnderlineNavItem-syRjR"><a data-tab-item="actions" data-react-nav="actions-workflows" data-turbo-frame="repo-content-turbo-frame" class="prc-components-UnderlineItem-7fP-n" href="/A3IO/anthropic-sdk-python/actions" data-discover="true"><span data-component="icon"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-play" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path></svg></span><span data-component="text" data-content="Actions">Actions</span></a></li><li class="prc-UnderlineNav-UnderlineNavItem-syRjR"><a data-tab-item="projects" data-react-nav="repo" data-turbo-frame="repo-content-turbo-frame" class="prc-components-UnderlineItem-7fP-n" href="/A3IO/anthropic-sdk-python/projects" data-discover="true"><span data-component="icon"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-table" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"></path></svg></span><span data-component="text" data-content="Projects">Projects</span></a></li><li class="prc-UnderlineNav-UnderlineNavItem-syRjR"><a data-tab-item="security-and-quality" data-turbo-frame="repo-content-turbo-frame" class="prc-components-UnderlineItem-7fP-n" href="/A3IO/anthropic-sdk-python/security" data-discover="true"><span data-component="icon"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-shield" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg></span><span data-component="text" data-content="Security and quality">Security and quality</span></a></li><li class="prc-UnderlineNav-UnderlineNavItem-syRjR"><a data-tab-item="insights" data-turbo-frame="repo-content-turbo-frame" class="prc-components-UnderlineItem-7fP-n" href="/A3IO/anthropic-sdk-python/pulse" data-discover="true"><span data-component="icon"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-graph" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path></svg></span><span data-component="text" data-content="Insights">Insights</span></a></li></ul><div class="prc-UnderlineNav-MoreButtonContainer-Dnrq6"><div class="prc-UnderlineNav-MoreButtonDivider-dN0a-"></div><button data-component="overflow-menu-button" type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-9n-Xk prc-UnderlineNav-MoreButton-Y8soj" data-loading="false" data-size="medium" data-variant="invisible" id="_R_2ktl_"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="text" class="prc-Button-Label-FWkx3"><span>More<span class="prc-src-InternalVisuallyHidden-2YaI6"> items</span></span></span></span><span data-component="trailingAction" class="prc-Button-Visual-YNt2F prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></button></div></nav><div class="d-none"></div></header></div>
</react-partial>


  



<turbo-frame id="repo-content-turbo-frame" target="_top" data-turbo-action="advance" class="">
    <div id="repo-content-pjax-container" class="repository-content " >
    



    
      
    








<react-app
  app-name="code-view"
  initial-path="/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md"
  style="display: block; min-height: calc(100vh - 64px);"
  data-attempted-ssr="true"
  data-ssr="true"
  data-lazy="false"
  data-alternate="false"
  data-data-router-enabled="true"
  data-react-profiling="false"
>
  
  <script type="application/json" data-target="react-app.embeddedData">{"payload":{"codeViewBlobRoute":{"csv":null,"csvError":null,"headerInfo":{"toc":[{"level":1,"text":"Migrating to v1","anchor":"migrating-to-v1","htmlText":"Migrating to v1"},{"level":2,"text":"Upgrading","anchor":"upgrading","htmlText":"Upgrading"},{"level":2,"text":"Environment requirements","anchor":"environment-requirements","htmlText":"Environment requirements"},{"level":2,"text":"The SDK is built on httpx2","anchor":"the-sdk-is-built-on-httpx2","htmlText":"The SDK is built on httpx2"},{"level":3,"text":"Custom HTTP clients, transports, timeouts and limits","anchor":"custom-http-clients-transports-timeouts-and-limits","htmlText":"Custom HTTP clients, transports, timeouts and limits"},{"level":3,"text":"Response and error objects","anchor":"response-and-error-objects","htmlText":"Response and error objects"},{"level":3,"text":"aiohttp support","anchor":"aiohttp-support","htmlText":"aiohttp support"},{"level":3,"text":"Tracing, instrumentation and mocking libraries","anchor":"tracing-instrumentation-and-mocking-libraries","htmlText":"Tracing, instrumentation and mocking libraries"},{"level":3,"text":"Removed old httpx re-exports","anchor":"removed-old-httpx-re-exports","htmlText":"Removed old httpx re-exports"},{"level":2,"text":".with_raw_response returns the new response classes","anchor":"with_raw_response-returns-the-new-response-classes","htmlText":".with_raw_response returns the new response classes"},{"level":2,"text":"Removed: the legacy Text Completions API","anchor":"removed-the-legacy-text-completions-api","htmlText":"Removed: the legacy Text Completions API"},{"level":2,"text":"Removed: deprecated request parameters","anchor":"removed-deprecated-request-parameters","htmlText":"Removed: deprecated request parameters"},{"level":2,"text":"Removed: deprecated type aliases and exports","anchor":"removed-deprecated-type-aliases-and-exports","htmlText":"Removed: deprecated type aliases and exports"},{"level":2,"text":"Removed: deprecated helper arguments and behaviour","anchor":"removed-deprecated-helper-arguments-and-behaviour","htmlText":"Removed: deprecated helper arguments and behaviour"},{"level":3,"text":"messages.parse(stream=True)","anchor":"messagesparsestreamtrue","htmlText":"messages.parse(stream=True)"},{"level":3,"text":"tool_runner(compaction_control=...)","anchor":"tool_runnercompaction_control","htmlText":"tool_runner(compaction_control=...)"},{"level":3,"text":"Raw bytes as body= on client.get/post/put/patch/delete","anchor":"raw-bytes-as-body-on-clientgetpostputpatchdelete","htmlText":"Raw bytes as body= on client.get/post/put/patch/delete"},{"level":3,"text":"isinstance(stream, anthropic.Stream) for message streams","anchor":"isinstancestream-anthropicstream-for-message-streams","htmlText":"isinstance(stream, anthropic.Stream) for message streams"},{"level":2,"text":"Header names are matched case-insensitively","anchor":"header-names-are-matched-case-insensitively","htmlText":"Header names are matched case-insensitively"},{"level":2,"text":"bytes header values no longer work","anchor":"bytes-header-values-no-longer-work","htmlText":"bytes header values no longer work"},{"level":2,"text":"Bedrock: a region is now required","anchor":"bedrock-a-region-is-now-required","htmlText":"Bedrock: a region is now required"},{"level":2,"text":"Bedrock: unknown streaming events are skipped","anchor":"bedrock-unknown-streaming-events-are-skipped","htmlText":"Bedrock: unknown streaming events are skipped"},{"level":2,"text":"Quick reference","anchor":"quick-reference","htmlText":"Quick reference"}]},"issueTemplate":null,"discussionTemplate":null,"richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eMigrating to v1\u003c/h1\u003e\u003ca id=\"user-content-migrating-to-v1\" class=\"anchor\" aria-label=\"Permalink: Migrating to v1\" href=\"#migrating-to-v1\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#upgrading\"\u003eUpgrading\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#environment-requirements\"\u003eEnvironment requirements\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#the-sdk-is-built-on-httpx2\"\u003eThe SDK is built on \u003ccode\u003ehttpx2\u003c/code\u003e\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#with_raw_response-returns-the-new-response-classes\"\u003e\u003ccode\u003e.with_raw_response\u003c/code\u003e returns the new response classes\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#removed-the-legacy-text-completions-api\"\u003eRemoved: the legacy Text Completions API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#removed-deprecated-request-parameters\"\u003eRemoved: deprecated request parameters\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#removed-deprecated-type-aliases-and-exports\"\u003eRemoved: deprecated type aliases and exports\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#removed-deprecated-helper-arguments-and-behaviour\"\u003eRemoved: deprecated helper arguments and behaviour\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#header-names-are-matched-case-insensitively\"\u003eHeader names are matched case-insensitively\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#bytes-header-values-no-longer-work\"\u003ebytes header values no longer work\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#bedrock-a-region-is-now-required\"\u003eBedrock: a region is now required\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#bedrock-unknown-streaming-events-are-skipped\"\u003eBedrock: unknown streaming events are skipped\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#quick-reference\"\u003eQuick reference\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eUpgrading\u003c/h2\u003e\u003ca id=\"user-content-upgrading\" class=\"anchor\" aria-label=\"Permalink: Upgrading\" href=\"#upgrading\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pip install --upgrade \u0026quot;anthropic\u0026gt;=1,\u0026lt;2\u0026quot;\"\u003e\u003cpre\u003epip install --upgrade \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eanthropic\u0026gt;=1,\u0026lt;2\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIf you use Claude Code, the fastest route through the rest of this guide is to let it do the edits:\nrun \u003ccode\u003e/claude-api upgrade python\u003c/code\u003e in your project and review the diff.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eA type checker (\u003ccode\u003epyright\u003c/code\u003e / \u003ccode\u003emypy\u003c/code\u003e) will flag almost everything below as an error after upgrading, which makes\nit a good checklist even if you don't normally run one.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eEnvironment requirements\u003c/h2\u003e\u003ca id=\"user-content-environment-requirements\" class=\"anchor\" aria-label=\"Permalink: Environment requirements\" href=\"#environment-requirements\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe minimum supported Python version has increased from 3.9 to 3.10.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eNothing else about your environment needs to change. In particular Pydantic v1 and v2 both remain supported.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eThe SDK is built on \u003ccode\u003ehttpx2\u003c/code\u003e\u003c/h2\u003e\u003ca id=\"user-content-the-sdk-is-built-on-httpx2\" class=\"anchor\" aria-label=\"Permalink: The SDK is built on httpx2\" href=\"#the-sdk-is-built-on-httpx2\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe SDK's HTTP layer moved from \u003ccode\u003ehttpx\u003c/code\u003e, which is no longer actively maintained, to \u003ca href=\"https://github.com/pydantic/httpx2\"\u003e\u003ccode\u003ehttpx2\u003c/code\u003e\u003c/a\u003e - an API-compatible fork maintained by the Pydantic team.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003ehttpx2\u003c/code\u003e is a drop-in continuation of \u003ccode\u003ehttpx\u003c/code\u003e, with the same classes, same behaviour, and security fixes included.\nThis only affects code that hands \u003ccode\u003ehttpx\u003c/code\u003e objects \u003cstrong\u003eto\u003c/strong\u003e the SDK or inspects the ones it gets \u003cstrong\u003eback\u003c/strong\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIf you only ever pass plain values (\u003ccode\u003etimeout=30.0\u003c/code\u003e, \u003ccode\u003emax_retries=3\u003c/code\u003e, …) there is \u003cem\u003elikely\u003c/em\u003e nothing for you to do.\nThe exception is tooling that hooks \u003ccode\u003ehttpx\u003c/code\u003e itself rather than your code — tracing / APM instrumentation and HTTP\nmocking libraries. Those keep working but silently stop seeing the SDK's requests until you point them at \u003ccode\u003ehttpx2\u003c/code\u003e;\nsee \u003ca href=\"#tracing-instrumentation-and-mocking-libraries\"\u003eTracing, instrumentation and mocking libraries\u003c/a\u003e below.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCustom HTTP clients, transports, timeouts and limits\u003c/h3\u003e\u003ca id=\"user-content-custom-http-clients-transports-timeouts-and-limits\" class=\"anchor\" aria-label=\"Permalink: Custom HTTP clients, transports, timeouts and limits\" href=\"#custom-http-clients-transports-timeouts-and-limits\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eAnything you construct from \u003ccode\u003ehttpx\u003c/code\u003e and pass to the client must now come from \u003ccode\u003ehttpx2\u003c/code\u003e. The simplest edit is\nto alias the import; the SDK's own re-exports (\u003ccode\u003eanthropic.Timeout\u003c/code\u003e, \u003ccode\u003eanthropic.DefaultHttpxClient\u003c/code\u003e,\n\u003ccode\u003eanthropic.DefaultAsyncHttpxClient\u003c/code\u003e, \u003ccode\u003eanthropic.DefaultAioHttpClient\u003c/code\u003e) already point at \u003ccode\u003ehttpx2\u003c/code\u003e and keep working\nunchanged.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nimport httpx\nfrom anthropic import Anthropic, DefaultHttpxClient\n\nclient = Anthropic(\n    timeout=httpx.Timeout(60.0, connect=5.0),\n    http_client=DefaultHttpxClient(\n        proxy=\u0026quot;http://my.proxy.example\u0026quot;,\n        transport=httpx.HTTPTransport(local_address=\u0026quot;0.0.0.0\u0026quot;),\n    ),\n)\n\n# After\nimport httpx2 as httpx  # or `import httpx2` and rename the references\nfrom anthropic import Anthropic, DefaultHttpxClient\n\nclient = Anthropic(\n    timeout=httpx.Timeout(60.0, connect=5.0),\n    http_client=DefaultHttpxClient(\n        proxy=\u0026quot;http://my.proxy.example\u0026quot;,\n        transport=httpx.HTTPTransport(local_address=\u0026quot;0.0.0.0\u0026quot;),\n    ),\n)\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003efrom\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eAnthropic\u003c/span\u003e, \u003cspan class=\"pl-v\"\u003eDefaultHttpxClient\u003c/span\u003e\n\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eAnthropic\u003c/span\u003e(\n    \u003cspan class=\"pl-s1\"\u003etimeout\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eTimeout\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e60.0\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003econnect\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e5.0\u003c/span\u003e),\n    \u003cspan class=\"pl-s1\"\u003ehttp_client\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-en\"\u003eDefaultHttpxClient\u003c/span\u003e(\n        \u003cspan class=\"pl-s1\"\u003eproxy\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"http://my.proxy.example\"\u003c/span\u003e,\n        \u003cspan class=\"pl-s1\"\u003etransport\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eHTTPTransport\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003elocal_address\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"0.0.0.0\"\u003c/span\u003e),\n    ),\n)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eas\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e  \u003cspan class=\"pl-c\"\u003e# or `import httpx2` and rename the references\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003efrom\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eAnthropic\u003c/span\u003e, \u003cspan class=\"pl-v\"\u003eDefaultHttpxClient\u003c/span\u003e\n\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eAnthropic\u003c/span\u003e(\n    \u003cspan class=\"pl-s1\"\u003etimeout\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eTimeout\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e60.0\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003econnect\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e5.0\u003c/span\u003e),\n    \u003cspan class=\"pl-s1\"\u003ehttp_client\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-en\"\u003eDefaultHttpxClient\u003c/span\u003e(\n        \u003cspan class=\"pl-s1\"\u003eproxy\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"http://my.proxy.example\"\u003c/span\u003e,\n        \u003cspan class=\"pl-s1\"\u003etransport\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eHTTPTransport\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003elocal_address\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"0.0.0.0\"\u003c/span\u003e),\n    ),\n)\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003ePassing an \u003ccode\u003ehttpx.Client\u003c/code\u003e / \u003ccode\u003ehttpx.AsyncClient\u003c/code\u003e (from the old package) as \u003ccode\u003ehttp_client=\u003c/code\u003e raises a \u003ccode\u003eTypeError\u003c/code\u003e\nat construction time, so this cannot fail silently.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIf you would rather not edit imports — or other code in your application still imports \u003ccode\u003ehttpx\u003c/code\u003e and has to\nshare clients, transports or exception types with the SDK — call \u003ccode\u003ehttpx2.alias_httpx()\u003c/code\u003e once at start-up instead.\nIt makes \u003ccode\u003eimport httpx\u003c/code\u003e (and \u003ccode\u003eimport httpcore\u003c/code\u003e) resolve to \u003ccode\u003ehttpx2\u003c/code\u003e (and \u003ccode\u003ehttpcore2\u003c/code\u003e) for the whole process. It has\nto run before anything imports \u003ccode\u003ehttpx\u003c/code\u003e (it raises a \u003ccode\u003eRuntimeError\u003c/code\u003e otherwise), and it is meant for applications:\na library should never call it on behalf of its users.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# the very first lines of your entry point\nimport httpx2\n\nhttpx2.alias_httpx()\n\nimport httpx  # this is now the httpx2 module\n\nassert httpx.Client is httpx2.Client\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# the very first lines of your entry point\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e\n\n\u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ealias_httpx\u003c/span\u003e()\n\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e  \u003cspan class=\"pl-c\"\u003e# this is now the httpx2 module\u003c/span\u003e\n\n\u003cspan class=\"pl-k\"\u003eassert\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eClient\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eis\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eClient\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eResponse and error objects\u003c/h3\u003e\u003ca id=\"user-content-response-and-error-objects\" class=\"anchor\" aria-label=\"Permalink: Response and error objects\" href=\"#response-and-error-objects\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe objects the SDK returns are now \u003ccode\u003ehttpx2\u003c/code\u003e types: \u003ccode\u003eAPIStatusError.response\u003c/code\u003e, \u003ccode\u003eAPIConnectionError.request\u003c/code\u003e,\n\u003ccode\u003eresponse.http_response\u003c/code\u003e / \u003ccode\u003e.headers\u003c/code\u003e / \u003ccode\u003e.url\u003c/code\u003e on raw responses, and the \u003ccode\u003eresponse=\u003c/code\u003e argument your custom\n\u003ccode\u003ehttp_client\u003c/code\u003e event hooks receive. They have exactly the same attributes as before; only \u003ccode\u003eisinstance\u003c/code\u003e checks and\ntype annotations that name \u003ccode\u003ehttpx.Response\u003c/code\u003e / \u003ccode\u003ehttpx.Request\u003c/code\u003e / \u003ccode\u003ehttpx.Headers\u003c/code\u003e need to switch to \u003ccode\u003ehttpx2\u003c/code\u003e.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\ndef log_failure(err: anthropic.APIStatusError) -\u0026gt; None:\n    response: httpx.Response = err.response\n    print(response.status_code, response.headers.get(\u0026quot;request-id\u0026quot;))\n\n\n# After\ndef log_failure(err: anthropic.APIStatusError) -\u0026gt; None:\n    response: httpx2.Response = err.response\n    print(response.status_code, response.headers.get(\u0026quot;request-id\u0026quot;))\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003elog_failure\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eAPIStatusError\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003e-\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eNone\u003c/span\u003e:\n    \u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eResponse\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eresponse\u003c/span\u003e\n    \u003cspan class=\"pl-en\"\u003eprint\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003estatus_code\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eheaders\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eget\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"request-id\"\u003c/span\u003e))\n\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003edef\u003c/span\u003e \u003cspan class=\"pl-en\"\u003elog_failure\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eAPIStatusError\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003e-\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eNone\u003c/span\u003e:\n    \u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eResponse\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eresponse\u003c/span\u003e\n    \u003cspan class=\"pl-en\"\u003eprint\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003estatus_code\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eheaders\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eget\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"request-id\"\u003c/span\u003e))\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003eaiohttp\u003c/code\u003e support\u003c/h3\u003e\u003ca id=\"user-content-aiohttp-support\" class=\"anchor\" aria-label=\"Permalink: aiohttp support\" href=\"#aiohttp-support\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003epip install anthropic[aiohttp]\u003c/code\u003e and \u003ccode\u003ehttp_client=DefaultAioHttpClient()\u003c/code\u003e work as they did before.\nHowever the \u003ccode\u003eaiohttp\u003c/code\u003e extra no longer installs the \u003ccode\u003ehttpx_aiohttp\u003c/code\u003e package as it now ships inside the SDK.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eTracing, instrumentation and mocking libraries\u003c/h3\u003e\u003ca id=\"user-content-tracing-instrumentation-and-mocking-libraries\" class=\"anchor\" aria-label=\"Permalink: Tracing, instrumentation and mocking libraries\" href=\"#tracing-instrumentation-and-mocking-libraries\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eLibraries that observe or stub HTTP traffic by patching \u003ccode\u003ehttpx\u003c/code\u003e — for example OpenTelemetry's\n\u003ccode\u003eHTTPXClientInstrumentor\u003c/code\u003e, Sentry's \u003ccode\u003ehttpx\u003c/code\u003e integration, \u003ca href=\"https://lundberg.github.io/respx/\" rel=\"nofollow\"\u003e\u003ccode\u003erespx\u003c/code\u003e\u003c/a\u003e,\n\u003ccode\u003epytest-httpx\u003c/code\u003e or \u003ccode\u003evcrpy\u003c/code\u003e — patch the \u003ccode\u003ehttpx\u003c/code\u003e package, which the SDK no longer uses. These libraries can silently\nfail, making it difficult to identify failure points. You can holistically fix this by running \u003ccode\u003ehttpx2.alias_httpx()\u003c/code\u003e\nbefore anything else imports \u003ccode\u003ehttpx\u003c/code\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIn an application, call it at the top of your entry point as shown above. Under pytest, an early plugin is the\nleast intrusive way to run it before \u003ccode\u003erespx\u003c/code\u003e / \u003ccode\u003epytest-httpx\u003c/code\u003e and your test modules are imported:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# tests/_alias_httpx.py\nimport httpx2\n\nhttpx2.alias_httpx()  # makes `import httpx` / `import httpcore` resolve to httpx2 / httpcore2\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# tests/_alias_httpx.py\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e\n\n\u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ealias_httpx\u003c/span\u003e()  \u003cspan class=\"pl-c\"\u003e# makes `import httpx` / `import httpcore` resolve to httpx2 / httpcore2\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# pyproject.toml\n[tool.pytest.ini_options]\naddopts = \u0026quot;-p tests._alias_httpx\u0026quot;\npythonpath = [\u0026quot;.\u0026quot;]\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e pyproject.toml\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003etool\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003epytest\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eini_options\u003c/span\u003e]\n\u003cspan class=\"pl-smi\"\u003eaddopts\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e-p tests._alias_httpx\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003epythonpath\u003c/span\u003e = [\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e.\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e]\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRemoved old \u003ccode\u003ehttpx\u003c/code\u003e re-exports\u003c/h3\u003e\u003ca id=\"user-content-removed-old-httpx-re-exports\" class=\"anchor\" aria-label=\"Permalink: Removed old httpx re-exports\" href=\"#removed-old-httpx-re-exports\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe top-level \u003ccode\u003eanthropic.Transport\u003c/code\u003e and \u003ccode\u003eanthropic.ProxiesTypes\u003c/code\u003e exports were unused aliases of \u003ccode\u003ehttpx\u003c/code\u003e types and\nare gone. Use \u003ccode\u003ehttpx2.BaseTransport\u003c/code\u003e, \u003ccode\u003ehttpx2.AsyncBaseTransport\u003c/code\u003e and \u003ccode\u003ehttpx2.Proxy\u003c/code\u003e (or a proxy URL string) directly.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003e.with_raw_response\u003c/code\u003e returns the new response classes\u003c/h2\u003e\u003ca id=\"user-content-with_raw_response-returns-the-new-response-classes\" class=\"anchor\" aria-label=\"Permalink: .with_raw_response returns the new response classes\" href=\"#with_raw_response-returns-the-new-response-classes\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e.with_raw_response\u003c/code\u003e used to return a \u003ccode\u003eLegacyAPIResponse\u003c/code\u003e class for both the sync and the async client. It now returns\nthe same \u003ccode\u003eAPIResponse\u003c/code\u003e / \u003ccode\u003eAsyncAPIResponse\u003c/code\u003e classes that \u003ccode\u003e.with_streaming_response\u003c/code\u003e already used. Two things change:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eOn the async client, reading the response is now async.\u003c/strong\u003e \u003ccode\u003eparse()\u003c/code\u003e, \u003ccode\u003eread()\u003c/code\u003e, \u003ccode\u003etext()\u003c/code\u003e and \u003ccode\u003ejson()\u003c/code\u003e are\ncoroutines on \u003ccode\u003eAsyncAPIResponse\u003c/code\u003e.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nresponse = await client.messages.with_raw_response.create(...)\nprint(response.headers[\u0026quot;request-id\u0026quot;])\nmessage = response.parse()\n\n# After\nresponse = await client.messages.with_raw_response.create(...)\nprint(response.headers[\u0026quot;request-id\u0026quot;])  # metadata is still plain attribute access\nmessage = await response.parse()\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eawait\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ewith_raw_response\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(...)\n\u003cspan class=\"pl-en\"\u003eprint\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eheaders\u003c/span\u003e[\u003cspan class=\"pl-s\"\u003e\"request-id\"\u003c/span\u003e])\n\u003cspan class=\"pl-s1\"\u003emessage\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eparse\u003c/span\u003e()\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eawait\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ewith_raw_response\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(...)\n\u003cspan class=\"pl-en\"\u003eprint\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eheaders\u003c/span\u003e[\u003cspan class=\"pl-s\"\u003e\"request-id\"\u003c/span\u003e])  \u003cspan class=\"pl-c\"\u003e# metadata is still plain attribute access\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003emessage\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eawait\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eresponse\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eparse\u003c/span\u003e()\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003e\u003ccode\u003e.text\u003c/code\u003e and \u003ccode\u003e.content\u003c/code\u003e became methods.\u003c/strong\u003e This applies to the sync client too. The new classes also expose\n\u003ccode\u003ejson()\u003c/code\u003e and the \u003ccode\u003eiter_bytes()\u003c/code\u003e / \u003ccode\u003eiter_text()\u003c/code\u003e / \u003ccode\u003eiter_lines()\u003c/code\u003e iterators directly, which previously meant\nreaching for the underlying \u003ccode\u003eresponse.http_response\u003c/code\u003e.\u003c/p\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003e\u003ccode\u003eLegacyAPIResponse\u003c/code\u003e (before)\u003c/th\u003e\n\u003cth\u003e\u003ccode\u003eAPIResponse\u003c/code\u003e (sync, after)\u003c/th\u003e\n\u003cth\u003e\u003ccode\u003eAsyncAPIResponse\u003c/code\u003e (async, after)\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.parse()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.parse()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eawait response.parse()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.text\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.text()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eawait response.text()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.content\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.read()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eawait response.read()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e— (only \u003ccode\u003eresponse.http_response.json()\u003c/code\u003e)\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.json()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eawait response.json()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e— (only \u003ccode\u003eresponse.http_response.iter_bytes()\u003c/code\u003e …)\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.iter_bytes()\u003c/code\u003e / \u003ccode\u003e.iter_text()\u003c/code\u003e / \u003ccode\u003e.iter_lines()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003easync for chunk in response.iter_bytes():\u003c/code\u003e …\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e.headers\u003c/code\u003e, \u003ccode\u003e.status_code\u003c/code\u003e, \u003ccode\u003e.url\u003c/code\u003e, \u003ccode\u003e.request_id\u003c/code\u003e, \u003ccode\u003e.retries_taken\u003c/code\u003e, \u003ccode\u003e.http_response\u003c/code\u003e, \u003ccode\u003e.elapsed\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eunchanged\u003c/td\u003e\n\u003ctd\u003eunchanged\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRemoved: the legacy Text Completions API\u003c/h2\u003e\u003ca id=\"user-content-removed-the-legacy-text-completions-api\" class=\"anchor\" aria-label=\"Permalink: Removed: the legacy Text Completions API\" href=\"#removed-the-legacy-text-completions-api\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eclient.completions.create()\u003c/code\u003e (the \u003ccode\u003e/v1/complete\u003c/code\u003e endpoint), its types (\u003ccode\u003eCompletion\u003c/code\u003e,\n\u003ccode\u003eCompletionCreateParams\u003c/code\u003e) and the \u003ccode\u003eanthropic.HUMAN_PROMPT\u003c/code\u003e / \u003ccode\u003eanthropic.AI_PROMPT\u003c/code\u003e prompt constants have been\nremoved. Every current model is served through the Messages API, which has been the recommended interface since\n2023 — see \u003ca href=\"https://platform.claude.com/docs/en/build-with-claude/working-with-messages\" rel=\"nofollow\"\u003eUsing the Messages API\u003c/a\u003e\nif you still have code calling the legacy endpoint.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRemoved: deprecated request parameters\u003c/h2\u003e\u003ca id=\"user-content-removed-deprecated-request-parameters\" class=\"anchor\" aria-label=\"Permalink: Removed: deprecated request parameters\" href=\"#removed-deprecated-request-parameters\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThese parameters were deprecated by the API and are no longer accepted by the generated methods (passing them is\na \u003ccode\u003eTypeError\u003c/code\u003e, and a type checker flags it). They are also gone from the per-request \u003ccode\u003eparams\u003c/code\u003e of\n\u003ccode\u003emessages.batches.create()\u003c/code\u003e, where a type checker flags the key but the SDK still forwards it at runtime:\u003c/p\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eMethod(s)\u003c/th\u003e\n\u003cth\u003eRemoved parameter\u003c/th\u003e\n\u003cth\u003eUse instead\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emessages.create()\u003c/code\u003e, \u003ccode\u003emessages.stream()\u003c/code\u003e, \u003ccode\u003emessages.parse()\u003c/code\u003e and their \u003ccode\u003ebeta.messages\u003c/code\u003e counterparts, \u003ccode\u003ebeta.messages.tool_runner()\u003c/code\u003e, and the per-request \u003ccode\u003eparams\u003c/code\u003e of \u003ccode\u003emessages.batches.create()\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003etemperature\u003c/code\u003e, \u003ccode\u003etop_p\u003c/code\u003e, \u003ccode\u003etop_k\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRemove them. Current models do not use these sampling parameters; for an older model that still does, pass them through \u003ccode\u003eextra_body\u003c/code\u003e (see below).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebeta.messages.create()\u003c/code\u003e, \u003ccode\u003ebeta.messages.count_tokens()\u003c/code\u003e, batch request params\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eoutput_format\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eoutput_config={\"format\": {...}}\u003c/code\u003e — see \u003ca href=\"https://platform.claude.com/docs/en/build-with-claude/structured-outputs\" rel=\"nofollow\"\u003estructured outputs\u003c/a\u003e. The \u003ccode\u003eoutput_format=MyModel\u003c/code\u003e argument of the \u003ccode\u003eparse()\u003c/code\u003e / \u003ccode\u003estream()\u003c/code\u003e / \u003ccode\u003ecount_tokens()\u003c/code\u003e / \u003ccode\u003etool_runner()\u003c/code\u003e \u003cstrong\u003ehelpers\u003c/strong\u003e still takes a type; those helpers no longer accept a schema dict there either.\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nclient.beta.messages.create(\n    ...,\n    temperature=0.2,\n    output_format={\u0026quot;type\u0026quot;: \u0026quot;json_schema\u0026quot;, \u0026quot;schema\u0026quot;: Order.model_json_schema()},\n)\n\n# After\nclient.beta.messages.create(\n    ...,\n    output_config={\u0026quot;format\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;json_schema\u0026quot;, \u0026quot;schema\u0026quot;: Order.model_json_schema()}},\n)\n# or let the helper build the schema and parse the result:\nclient.beta.messages.parse(..., output_format=Order)\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ebeta\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(\n    ...,\n    \u003cspan class=\"pl-s1\"\u003etemperature\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e0.2\u003c/span\u003e,\n    \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"json_schema\"\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"schema\"\u003c/span\u003e: \u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emodel_json_schema\u003c/span\u003e()},\n)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ebeta\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(\n    ...,\n    \u003cspan class=\"pl-s1\"\u003eoutput_config\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"format\"\u003c/span\u003e: {\u003cspan class=\"pl-s\"\u003e\"type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"json_schema\"\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"schema\"\u003c/span\u003e: \u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emodel_json_schema\u003c/span\u003e()}},\n)\n\u003cspan class=\"pl-c\"\u003e# or let the helper build the schema and parse the result:\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ebeta\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eparse\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e)\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe sampling parameters are only gone from the method signatures, not from the API: models that predate the\nchange still honour them. If you are pinned to such a model and really need a sampling setting, pass it through\n\u003ccode\u003eextra_body\u003c/code\u003e, which is merged into the request JSON as-is (for \u003ccode\u003emessages.batches.create()\u003c/code\u003e, put the key straight into\nthe request's \u003ccode\u003eparams\u003c/code\u003e dict):\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nclient.messages.create(..., model=\u0026quot;claude-sonnet-4-6\u0026quot;, temperature=0.2)\n\n# After\nclient.messages.create(..., model=\u0026quot;claude-sonnet-4-6\u0026quot;, extra_body={\u0026quot;temperature\u0026quot;: 0.2})\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003emodel\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"claude-sonnet-4-6\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003etemperature\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e0.2\u003c/span\u003e)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003emodel\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"claude-sonnet-4-6\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eextra_body\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"temperature\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e0.2\u003c/span\u003e})\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003eoutput_format=\u003c/code\u003e argument of \u003ccode\u003emessages.parse()\u003c/code\u003e / \u003ccode\u003estream()\u003c/code\u003e / \u003ccode\u003ecount_tokens()\u003c/code\u003e and \u003ccode\u003ebeta.messages.parse()\u003c/code\u003e /\n\u003ccode\u003estream()\u003c/code\u003e / \u003ccode\u003etool_runner()\u003c/code\u003e now only accepts a \u003cstrong\u003etype\u003c/strong\u003e. \u003ccode\u003emessages.stream()\u003c/code\u003e,\n\u003ccode\u003emessages.count_tokens()\u003c/code\u003e and \u003ccode\u003ebeta.messages.stream()\u003c/code\u003e used to accept a raw schema dict there too and forward it as\n\u003ccode\u003eoutput_config.format\u003c/code\u003e; that form raises a \u003ccode\u003eTypeError\u003c/code\u003e now. Pass schema dicts via \u003ccode\u003eoutput_config\u003c/code\u003e and keep\n\u003ccode\u003eoutput_format=\u003c/code\u003e for classes — the \u003ccode\u003eDeprecationWarning\u003c/code\u003e that \u003ccode\u003ebeta.messages.parse()\u003c/code\u003e / \u003ccode\u003estream()\u003c/code\u003e / \u003ccode\u003etool_runner()\u003c/code\u003e used to\nemit for the class form is gone, since that is now the only form they take:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nclient.messages.count_tokens(..., output_format={\u0026quot;type\u0026quot;: \u0026quot;json_schema\u0026quot;, \u0026quot;schema\u0026quot;: {...}})\nclient.messages.count_tokens(..., output_format=Order)\n\n# After\nclient.messages.count_tokens(..., output_config={\u0026quot;format\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;json_schema\u0026quot;, \u0026quot;schema\u0026quot;: {...}}})\nclient.messages.count_tokens(..., output_format=Order)  # unchanged\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecount_tokens\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"json_schema\"\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"schema\"\u003c/span\u003e: {...}})\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecount_tokens\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecount_tokens\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_config\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"format\"\u003c/span\u003e: {\u003cspan class=\"pl-s\"\u003e\"type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"json_schema\"\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"schema\"\u003c/span\u003e: {...}}})\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecount_tokens\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e)  \u003cspan class=\"pl-c\"\u003e# unchanged\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRemoved: deprecated type aliases and exports\u003c/h2\u003e\u003ca id=\"user-content-removed-deprecated-type-aliases-and-exports\" class=\"anchor\" aria-label=\"Permalink: Removed: deprecated type aliases and exports\" href=\"#removed-deprecated-type-aliases-and-exports\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eRemoved\u003c/th\u003e\n\u003cth\u003eReplacement\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.types.beta.BetaBase64PDFBlockParam\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.types.beta.BetaRequestDocumentBlockParam\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.Transport\u003c/code\u003e, \u003ccode\u003eanthropic.ProxiesTypes\u003c/code\u003e (and \u003ccode\u003eanthropic._types.AsyncTransport\u003c/code\u003e / \u003ccode\u003eProxiesDict\u003c/code\u003e)\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003ehttpx2.BaseTransport\u003c/code\u003e, \u003ccode\u003ehttpx2.Proxy\u003c/code\u003e (\u003ccode\u003ehttpx2.AsyncBaseTransport\u003c/code\u003e)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.HUMAN_PROMPT\u003c/code\u003e, \u003ccode\u003eanthropic.AI_PROMPT\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003enone — see \u003ca href=\"#removed-the-legacy-text-completions-api\"\u003ethe Text Completions section\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.lib.tools.agent_toolset.READ_MAX_BYTES\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.lib.tools.agent_toolset.DEFAULT_MAX_FILE_BYTES\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRemoved: deprecated helper arguments and behaviour\u003c/h2\u003e\u003ca id=\"user-content-removed-deprecated-helper-arguments-and-behaviour\" class=\"anchor\" aria-label=\"Permalink: Removed: deprecated helper arguments and behaviour\" href=\"#removed-deprecated-helper-arguments-and-behaviour\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003emessages.parse(stream=True)\u003c/code\u003e\u003c/h3\u003e\u003ca id=\"user-content-messagesparsestreamtrue\" class=\"anchor\" aria-label=\"Permalink: messages.parse(stream=True)\" href=\"#messagesparsestreamtrue\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eparse()\u003c/code\u003e always performs a non-streaming request; the \u003ccode\u003estream\u003c/code\u003e argument never worked and has been removed from\n\u003ccode\u003emessages.parse()\u003c/code\u003e / \u003ccode\u003ebeta.messages.parse()\u003c/code\u003e. Use the streaming helper, which supports the same structured\noutput types:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before (which would crash)\nclient.messages.parse(..., output_format=Order, stream=True)\n\n# After\nwith client.messages.stream(..., output_format=Order) as stream:\n    for event in stream:\n        ...\n    order = stream.get_final_message().parsed_output\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before (which would crash)\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eparse\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003estream\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eTrue\u003c/span\u003e)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003ewith\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003estream\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eoutput_format\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-v\"\u003eOrder\u003c/span\u003e) \u003cspan class=\"pl-k\"\u003eas\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003estream\u003c/span\u003e:\n    \u003cspan class=\"pl-k\"\u003efor\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eevent\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003ein\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003estream\u003c/span\u003e:\n        ...\n    \u003cspan class=\"pl-s1\"\u003eorder\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003estream\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eget_final_message\u003c/span\u003e().\u003cspan class=\"pl-c1\"\u003eparsed_output\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003etool_runner(compaction_control=...)\u003c/code\u003e\u003c/h3\u003e\u003ca id=\"user-content-tool_runnercompaction_control\" class=\"anchor\" aria-label=\"Permalink: tool_runner(compaction_control=...)\" href=\"#tool_runnercompaction_control\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eClient-side compaction in the tool runner (the \u003ccode\u003ecompaction_control=\u003c/code\u003e argument and the \u003ccode\u003eCompactionControl\u003c/code\u003e dict)\nhas been removed in favour of server-side compaction, which summarises the conversation inside the API instead of\nwith an extra client round-trip:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nrunner = client.beta.messages.tool_runner(\n    ...,\n    compaction_control={\u0026quot;enabled\u0026quot;: True, \u0026quot;context_token_threshold\u0026quot;: 100_000},\n)\n\n# After\nrunner = client.beta.messages.tool_runner(\n    ...,\n    betas=[\u0026quot;compact-2026-01-12\u0026quot;],\n    context_management={\n        \u0026quot;edits\u0026quot;: [\n            {\u0026quot;type\u0026quot;: \u0026quot;compact_20260112\u0026quot;, \u0026quot;trigger\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;input_tokens\u0026quot;, \u0026quot;value\u0026quot;: 100_000}}\n        ]\n    },\n)\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003erunner\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ebeta\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003etool_runner\u003c/span\u003e(\n    ...,\n    \u003cspan class=\"pl-s1\"\u003ecompaction_control\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"enabled\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003eTrue\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"context_token_threshold\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e100_000\u003c/span\u003e},\n)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003erunner\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ebeta\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003etool_runner\u003c/span\u003e(\n    ...,\n    \u003cspan class=\"pl-s1\"\u003ebetas\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e[\u003cspan class=\"pl-s\"\u003e\"compact-2026-01-12\"\u003c/span\u003e],\n    \u003cspan class=\"pl-s1\"\u003econtext_management\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\n        \u003cspan class=\"pl-s\"\u003e\"edits\"\u003c/span\u003e: [\n            {\u003cspan class=\"pl-s\"\u003e\"type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"compact_20260112\"\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"trigger\"\u003c/span\u003e: {\u003cspan class=\"pl-s\"\u003e\"type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"input_tokens\"\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"value\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e100_000\u003c/span\u003e}}\n        ]\n    },\n)\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe trigger threshold must be at least 50,000 tokens. See \u003ca href=\"https://platform.claude.com/docs/en/build-with-claude/compaction\" rel=\"nofollow\"\u003ecompaction\u003c/a\u003e\nfor the other options (\u003ccode\u003epause_after_compaction\u003c/code\u003e, custom \u003ccode\u003einstructions\u003c/code\u003e).\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRaw bytes as \u003ccode\u003ebody=\u003c/code\u003e on \u003ccode\u003eclient.get/post/put/patch/delete\u003c/code\u003e\u003c/h3\u003e\u003ca id=\"user-content-raw-bytes-as-body-on-clientgetpostputpatchdelete\" class=\"anchor\" aria-label=\"Permalink: Raw bytes as body= on client.get/post/put/patch/delete\" href=\"#raw-bytes-as-body-on-clientgetpostputpatchdelete\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe low-level request methods accepted \u003ccode\u003ebytes\u003c/code\u003e for \u003ccode\u003ebody=\u003c/code\u003e with a deprecation warning. \u003ccode\u003ebody=\u003c/code\u003e is now always\nJSON-serialised and raw payloads go through \u003ccode\u003econtent=\u003c/code\u003e (which also accepts iterators for streaming uploads):\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nclient.post(\u0026quot;/v1/example\u0026quot;, body=b\u0026quot;raw payload\u0026quot;, cast_to=httpx.Response)\n\n# After\nclient.post(\u0026quot;/v1/example\u0026quot;, content=b\u0026quot;raw payload\u0026quot;, cast_to=httpx2.Response)\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003epost\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"/v1/example\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003ebody\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003eb\"raw payload\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003ecast_to\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003ehttpx\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eResponse\u003c/span\u003e)\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003epost\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"/v1/example\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003econtent\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003eb\"raw payload\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003ecast_to\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003ehttpx2\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eResponse\u003c/span\u003e)\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003eisinstance(stream, anthropic.Stream)\u003c/code\u003e for message streams\u003c/h3\u003e\u003ca id=\"user-content-isinstancestream-anthropicstream-for-message-streams\" class=\"anchor\" aria-label=\"Permalink: isinstance(stream, anthropic.Stream) for message streams\" href=\"#isinstancestream-anthropicstream-for-message-streams\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eMessageStream\u003c/code\u003e / \u003ccode\u003eAsyncMessageStream\u003c/code\u003e (what \u003ccode\u003eclient.messages.stream()\u003c/code\u003e yields) stopped inheriting from\n\u003ccode\u003eStream\u003c/code\u003e / \u003ccode\u003eAsyncStream\u003c/code\u003e many releases ago; a compatibility shim kept \u003ccode\u003eisinstance()\u003c/code\u003e checks passing with a\n\u003ccode\u003eDeprecationWarning\u003c/code\u003e. The shim is gone, so such checks now return \u003ccode\u003eFalse\u003c/code\u003e. Check for the concrete classes instead:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before\nfrom anthropic import Stream\n\nif isinstance(obj, Stream):\n    ...\n\n# After\nfrom anthropic.lib.streaming import MessageStream\n\nif isinstance(obj, MessageStream):\n    ...  # or `Stream` if you really mean a raw `create(stream=True)` stream\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003efrom\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eStream\u003c/span\u003e\n\n\u003cspan class=\"pl-k\"\u003eif\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eisinstance\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eobj\u003c/span\u003e, \u003cspan class=\"pl-v\"\u003eStream\u003c/span\u003e):\n    ...\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003efrom\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e.\u003cspan class=\"pl-s1\"\u003elib\u003c/span\u003e.\u003cspan class=\"pl-s1\"\u003estreaming\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eMessageStream\u003c/span\u003e\n\n\u003cspan class=\"pl-k\"\u003eif\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eisinstance\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eobj\u003c/span\u003e, \u003cspan class=\"pl-v\"\u003eMessageStream\u003c/span\u003e):\n    ...  \u003cspan class=\"pl-c\"\u003e# or `Stream` if you really mean a raw `create(stream=True)` stream\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eHeader names are matched case-insensitively\u003c/h2\u003e\u003ca id=\"user-content-header-names-are-matched-case-insensitively\" class=\"anchor\" aria-label=\"Permalink: Header names are matched case-insensitively\" href=\"#header-names-are-matched-case-insensitively\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eHTTP header names are case-insensitive, and the SDK now treats them that way everywhere it merges headers. An entry\nin \u003ccode\u003edefault_headers\u003c/code\u003e, \u003ccode\u003eextra_headers\u003c/code\u003e, \u003ccode\u003ewith_options(default_headers=...)\u003c/code\u003e or the \u003ccode\u003eANTHROPIC_CUSTOM_HEADERS\u003c/code\u003e\nenvironment variable replaces a header of the same name whatever its casing — including the headers the SDK sets\nitself — instead of being sent alongside it, and \u003ccode\u003eomit\u003c/code\u003e removes one the same way.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"from anthropic import Anthropic, omit\n\nclient = Anthropic(default_headers={\u0026quot;USER-AGENT\u0026quot;: \u0026quot;my-app/1.0\u0026quot;})\nclient.messages.create(..., extra_headers={\u0026quot;x-api-key\u0026quot;: other_key, \u0026quot;X-Stainless-Timeout\u0026quot;: omit})\n\n# Before: sent `User-Agent: Anthropic/Python ...` and `USER-AGENT: my-app/1.0`, both API keys,\n#         and still sent `x-stainless-timeout`\n# After:  sends `USER-AGENT: my-app/1.0`, only `x-api-key: \u0026lt;other_key\u0026gt;`, and no `x-stainless-timeout` header\"\u003e\u003cpre\u003e\u003cspan class=\"pl-k\"\u003efrom\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eanthropic\u003c/span\u003e \u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e \u003cspan class=\"pl-v\"\u003eAnthropic\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eomit\u003c/span\u003e\n\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eAnthropic\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003edefault_headers\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"USER-AGENT\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\"my-app/1.0\"\u003c/span\u003e})\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eextra_headers\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"x-api-key\"\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003eother_key\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\"X-Stainless-Timeout\"\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003eomit\u003c/span\u003e})\n\n\u003cspan class=\"pl-c\"\u003e# Before: sent `User-Agent: Anthropic/Python ...` and `USER-AGENT: my-app/1.0`, both API keys,\u003c/span\u003e\n\u003cspan class=\"pl-c\"\u003e#         and still sent `x-stainless-timeout`\u003c/span\u003e\n\u003cspan class=\"pl-c\"\u003e# After:  sends `USER-AGENT: my-app/1.0`, only `x-api-key: \u0026lt;other_key\u0026gt;`, and no `x-stainless-timeout` header\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIf you relied on two casings of a name producing two header lines, send one comma-joined value instead.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003ebytes\u003c/code\u003e header values no longer work\u003c/h2\u003e\u003ca id=\"user-content-bytes-header-values-no-longer-work\" class=\"anchor\" aria-label=\"Permalink: bytes header values no longer work\" href=\"#bytes-header-values-no-longer-work\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003ePreviously even though the type annotations did not allow it, you could pass \u003ccode\u003ebytes\u003c/code\u003e as header values, this now raises an error:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before (worked despite the type error)\nclient.messages.create(..., extra_headers={\u0026quot;X-Signature\u0026quot;: signature_bytes})\n\n# After\nclient.messages.create(..., extra_headers={\u0026quot;X-Signature\u0026quot;: signature_bytes.decode()})\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before (worked despite the type error)\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eextra_headers\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"X-Signature\"\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003esignature_bytes\u003c/span\u003e})\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003emessages\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003ecreate\u003c/span\u003e(..., \u003cspan class=\"pl-s1\"\u003eextra_headers\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e{\u003cspan class=\"pl-s\"\u003e\"X-Signature\"\u003c/span\u003e: \u003cspan class=\"pl-s1\"\u003esignature_bytes\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003edecode\u003c/span\u003e()})\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBedrock: a region is now required\u003c/h2\u003e\u003ca id=\"user-content-bedrock-a-region-is-now-required\" class=\"anchor\" aria-label=\"Permalink: Bedrock: a region is now required\" href=\"#bedrock-a-region-is-now-required\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eAnthropicBedrock\u003c/code\u003e / \u003ccode\u003eAsyncAnthropicBedrock\u003c/code\u003e used to log a warning and silently fall back to \u003ccode\u003eus-east-1\u003c/code\u003e when no\nAWS region could be found. They now raise a \u003ccode\u003eValueError\u003c/code\u003e at construction time instead.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe region is resolved from, in order:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003ethe \u003ccode\u003eaws_region=\u003c/code\u003e argument\u003c/li\u003e\n\u003cli\u003ethe \u003ccode\u003eAWS_REGION\u003c/code\u003e / \u003ccode\u003eAWS_DEFAULT_REGION\u003c/code\u003e environment variables\u003c/li\u003e\n\u003cli\u003ethe configuration of the boto3 session for the given \u003ccode\u003eaws_profile\u003c/code\u003e (previously the profile argument was ignored for region lookup).\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"highlight highlight-source-python notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Before — implicitly us-east-1 if nothing was configured\nclient = AnthropicBedrock()\n\n# After\nclient = AnthropicBedrock(aws_region=\u0026quot;us-east-1\u0026quot;)  # or export AWS_REGION / configure your profile\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e# Before — implicitly us-east-1 if nothing was configured\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eAnthropicBedrock\u003c/span\u003e()\n\n\u003cspan class=\"pl-c\"\u003e# After\u003c/span\u003e\n\u003cspan class=\"pl-s1\"\u003eclient\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en\"\u003eAnthropicBedrock\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003eaws_region\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"us-east-1\"\u003c/span\u003e)  \u003cspan class=\"pl-c\"\u003e# or export AWS_REGION / configure your profile\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBedrock: unknown streaming events are skipped\u003c/h2\u003e\u003ca id=\"user-content-bedrock-unknown-streaming-events-are-skipped\" class=\"anchor\" aria-label=\"Permalink: Bedrock: unknown streaming events are skipped\" href=\"#bedrock-unknown-streaming-events-are-skipped\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003ePreviously all streaming events that the Bedrock API returned would be yielded by the SDK, now they are skipped.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe only known case this affects is an \u003ccode\u003eamazon-bedrock-invocationMetrics\u003c/code\u003e event.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIf you made use of this event please open an issue to let us know.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eQuick reference\u003c/h2\u003e\u003ca id=\"user-content-quick-reference\" class=\"anchor\" aria-label=\"Permalink: Quick reference\" href=\"#quick-reference\"\u003e\u003csvg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eYou have…\u003c/th\u003e\n\u003cth\u003eDo this\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003ePython 3.9\u003c/td\u003e\n\u003ctd\u003eupgrade to Python ≥ 3.10\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eimport httpx\u003c/code\u003e objects passed to / received from the SDK\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eimport httpx2 as httpx\u003c/code\u003e (or rename); annotations \u003ccode\u003ehttpx.X\u003c/code\u003e → \u003ccode\u003ehttpx2.X\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erespx\u003c/code\u003e / \u003ccode\u003epytest-httpx\u003c/code\u003e / \u003ccode\u003evcrpy\u003c/code\u003e, or OpenTelemetry / Sentry \u003ccode\u003ehttpx\u003c/code\u003e instrumentation\u003c/td\u003e\n\u003ctd\u003erun \u003ccode\u003ehttpx2.alias_httpx()\u003c/code\u003e before anything imports \u003ccode\u003ehttpx\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehttpx_aiohttp\u003c/code\u003e in your requirements\u003c/td\u003e\n\u003ctd\u003edrop it; \u003ccode\u003eanthropic[aiohttp]\u003c/code\u003e is enough\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eawait client.….with_raw_response.…()\u003c/code\u003e then \u003ccode\u003e.parse()\u003c/code\u003e / \u003ccode\u003e.text\u003c/code\u003e / \u003ccode\u003e.content\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eawait response.parse()\u003c/code\u003e / \u003ccode\u003eawait response.text()\u003c/code\u003e / \u003ccode\u003eawait response.read()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003esync \u003ccode\u003e.with_raw_response\u003c/code\u003e then \u003ccode\u003e.text\u003c/code\u003e / \u003ccode\u003e.content\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eresponse.text()\u003c/code\u003e / \u003ccode\u003eresponse.read()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eclient.completions.create()\u003c/code\u003e, \u003ccode\u003eHUMAN_PROMPT\u003c/code\u003e, \u003ccode\u003eAI_PROMPT\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003emove to \u003ccode\u003eclient.messages.create()\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etemperature=\u003c/code\u003e / \u003ccode\u003etop_p=\u003c/code\u003e / \u003ccode\u003etop_k=\u003c/code\u003e on message methods\u003c/td\u003e\n\u003ctd\u003eremove; use \u003ccode\u003eextra_body={\"temperature\": ...}\u003c/code\u003e if an older model still needs it\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput_format={...}\u003c/code\u003e (a schema dict) on any message method or helper\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eoutput_config={\"format\": {...}}\u003c/code\u003e; helpers keep \u003ccode\u003eoutput_format=Model\u003c/code\u003e for a class\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eBetaBase64PDFBlockParam\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eBetaRequestDocumentBlockParam\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eanthropic.Transport\u003c/code\u003e / \u003ccode\u003eProxiesTypes\u003c/code\u003e (or \u003ccode\u003eanthropic._types.AsyncTransport\u003c/code\u003e)\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003ehttpx2.BaseTransport\u003c/code\u003e / \u003ccode\u003eProxy\u003c/code\u003e / \u003ccode\u003eAsyncBaseTransport\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emessages.parse(stream=True)\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003emessages.stream(...)\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etool_runner(compaction_control=...)\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eserver-side \u003ccode\u003econtext_management\u003c/code\u003e compaction\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eclient.post(..., body=b\"...\")\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003econtent=b\"...\"\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eisinstance(x, Stream)\u003c/code\u003e meant for message streams\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eisinstance(x, MessageStream)\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003etwo casings of one header name across \u003ccode\u003edefault_headers\u003c/code\u003e / \u003ccode\u003eextra_headers\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ethe later one now replaces the earlier; join the values yourself if you need both\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebytes\u003c/code\u003e header values\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003e.decode()\u003c/code\u003e them — header values must be \u003ccode\u003estr\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eAnthropicBedrock()\u003c/code\u003e with no region configured\u003c/td\u003e\n\u003ctd\u003epass \u003ccode\u003eaws_region=\u003c/code\u003e or set \u003ccode\u003eAWS_REGION\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eagent_toolset.READ_MAX_BYTES\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003eDEFAULT_MAX_FILE_BYTES\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003c/article\u003e","richTextTruncated":false,"renderedFileInfo":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"Migrating to v1","fully_qualified_name":"Migrating to v1","kind":"section_1","ident_start":2,"ident_end":17,"extent_start":0,"extent_end":24606,"ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":17}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":424,"utf16_col":0}}},{"name":"Upgrading","fully_qualified_name":"Upgrading","kind":"section_2","ident_start":1028,"ident_end":1037,"extent_start":1025,"extent_end":1429,"ident_utf16":{"start":{"line_number":16,"utf16_col":3},"end":{"line_number":16,"utf16_col":12}},"extent_utf16":{"start":{"line_number":16,"utf16_col":0},"end":{"line_number":28,"utf16_col":0}}},{"name":"Environment requirements","fully_qualified_name":"Environment requirements","kind":"section_2","ident_start":1432,"ident_end":1456,"extent_start":1429,"extent_end":1638,"ident_utf16":{"start":{"line_number":28,"utf16_col":3},"end":{"line_number":28,"utf16_col":27}},"extent_utf16":{"start":{"line_number":28,"utf16_col":0},"end":{"line_number":34,"utf16_col":0}}},{"name":"The SDK is built on `httpx2`","fully_qualified_name":"The SDK is built on `httpx2`","kind":"section_2","ident_start":1641,"ident_end":1669,"extent_start":1638,"extent_end":6768,"ident_utf16":{"start":{"line_number":34,"utf16_col":3},"end":{"line_number":34,"utf16_col":31}},"extent_utf16":{"start":{"line_number":34,"utf16_col":0},"end":{"line_number":154,"utf16_col":0}}},{"name":"Custom HTTP clients, transports, timeouts and limits","fully_qualified_name":"Custom HTTP clients, transports, timeouts and limits","kind":"section_3","ident_start":2541,"ident_end":2593,"extent_start":2537,"extent_end":4436,"ident_utf16":{"start":{"line_number":46,"utf16_col":4},"end":{"line_number":46,"utf16_col":56}},"extent_utf16":{"start":{"line_number":46,"utf16_col":0},"end":{"line_number":99,"utf16_col":0}}},{"name":"Response and error objects","fully_qualified_name":"Response and error objects","kind":"section_3","ident_start":4440,"ident_end":4466,"extent_start":4436,"extent_end":5276,"ident_utf16":{"start":{"line_number":99,"utf16_col":4},"end":{"line_number":99,"utf16_col":30}},"extent_utf16":{"start":{"line_number":99,"utf16_col":0},"end":{"line_number":119,"utf16_col":0}}},{"name":"`aiohttp` support","fully_qualified_name":"`aiohttp` support","kind":"section_3","ident_start":5280,"ident_end":5297,"extent_start":5276,"extent_end":5506,"ident_utf16":{"start":{"line_number":119,"utf16_col":4},"end":{"line_number":119,"utf16_col":21}},"extent_utf16":{"start":{"line_number":119,"utf16_col":0},"end":{"line_number":124,"utf16_col":0}}},{"name":"Tracing, instrumentation and mocking libraries","fully_qualified_name":"Tracing, instrumentation and mocking libraries","kind":"section_3","ident_start":5510,"ident_end":5556,"extent_start":5506,"extent_end":6498,"ident_utf16":{"start":{"line_number":124,"utf16_col":4},"end":{"line_number":124,"utf16_col":50}},"extent_utf16":{"start":{"line_number":124,"utf16_col":0},"end":{"line_number":149,"utf16_col":0}}},{"name":"Removed old `httpx` re-exports","fully_qualified_name":"Removed old `httpx` re-exports","kind":"section_3","ident_start":6502,"ident_end":6532,"extent_start":6498,"extent_end":6768,"ident_utf16":{"start":{"line_number":149,"utf16_col":4},"end":{"line_number":149,"utf16_col":34}},"extent_utf16":{"start":{"line_number":149,"utf16_col":0},"end":{"line_number":154,"utf16_col":0}}},{"name":"`.with_raw_response` returns the new response classes","fully_qualified_name":"`.with_raw_response` returns the new response classes","kind":"section_2","ident_start":6771,"ident_end":6824,"extent_start":6768,"extent_end":9512,"ident_utf16":{"start":{"line_number":154,"utf16_col":3},"end":{"line_number":154,"utf16_col":56}},"extent_utf16":{"start":{"line_number":154,"utf16_col":0},"end":{"line_number":187,"utf16_col":0}}},{"name":"Removed: the legacy Text Completions API","fully_qualified_name":"Removed: the legacy Text Completions API","kind":"section_2","ident_start":9515,"ident_end":9555,"extent_start":9512,"extent_end":10033,"ident_utf16":{"start":{"line_number":187,"utf16_col":3},"end":{"line_number":187,"utf16_col":43}},"extent_utf16":{"start":{"line_number":187,"utf16_col":0},"end":{"line_number":195,"utf16_col":0}}},{"name":"Removed: deprecated request parameters","fully_qualified_name":"Removed: deprecated request parameters","kind":"section_2","ident_start":10036,"ident_end":10074,"extent_start":10033,"extent_end":14595,"ident_utf16":{"start":{"line_number":195,"utf16_col":3},"end":{"line_number":195,"utf16_col":41}},"extent_utf16":{"start":{"line_number":195,"utf16_col":0},"end":{"line_number":253,"utf16_col":0}}},{"name":"Removed: deprecated type aliases and exports","fully_qualified_name":"Removed: deprecated type aliases and exports","kind":"section_2","ident_start":14598,"ident_end":14642,"extent_start":14595,"extent_end":15811,"ident_utf16":{"start":{"line_number":253,"utf16_col":3},"end":{"line_number":253,"utf16_col":47}},"extent_utf16":{"start":{"line_number":253,"utf16_col":0},"end":{"line_number":262,"utf16_col":0}}},{"name":"Removed: deprecated helper arguments and behaviour","fully_qualified_name":"Removed: deprecated helper arguments and behaviour","kind":"section_2","ident_start":15814,"ident_end":15864,"extent_start":15811,"extent_end":18445,"ident_utf16":{"start":{"line_number":262,"utf16_col":3},"end":{"line_number":262,"utf16_col":53}},"extent_utf16":{"start":{"line_number":262,"utf16_col":0},"end":{"line_number":342,"utf16_col":0}}},{"name":"`messages.parse(stream=True)`","fully_qualified_name":"`messages.parse(stream=True)`","kind":"section_3","ident_start":15870,"ident_end":15899,"extent_start":15866,"extent_end":16404,"ident_utf16":{"start":{"line_number":264,"utf16_col":4},"end":{"line_number":264,"utf16_col":33}},"extent_utf16":{"start":{"line_number":264,"utf16_col":0},"end":{"line_number":281,"utf16_col":0}}},{"name":"`tool_runner(compaction_control=...)`","fully_qualified_name":"`tool_runner(compaction_control=...)`","kind":"section_3","ident_start":16408,"ident_end":16445,"extent_start":16404,"extent_end":17328,"ident_utf16":{"start":{"line_number":281,"utf16_col":4},"end":{"line_number":281,"utf16_col":41}},"extent_utf16":{"start":{"line_number":281,"utf16_col":0},"end":{"line_number":309,"utf16_col":0}}},{"name":"Raw bytes as `body=` on `client.get/post/put/patch/delete`","fully_qualified_name":"Raw bytes as `body=` on `client.get/post/put/patch/delete`","kind":"section_3","ident_start":17332,"ident_end":17390,"extent_start":17328,"extent_end":17792,"ident_utf16":{"start":{"line_number":309,"utf16_col":4},"end":{"line_number":309,"utf16_col":62}},"extent_utf16":{"start":{"line_number":309,"utf16_col":0},"end":{"line_number":322,"utf16_col":0}}},{"name":"`isinstance(stream, anthropic.Stream)` for message streams","fully_qualified_name":"`isinstance(stream, anthropic.Stream)` for message streams","kind":"section_3","ident_start":17796,"ident_end":17854,"extent_start":17792,"extent_end":18445,"ident_utf16":{"start":{"line_number":322,"utf16_col":4},"end":{"line_number":322,"utf16_col":62}},"extent_utf16":{"start":{"line_number":322,"utf16_col":0},"end":{"line_number":342,"utf16_col":0}}},{"name":"Header names are matched case-insensitively","fully_qualified_name":"Header names are matched case-insensitively","kind":"section_2","ident_start":18448,"ident_end":18491,"extent_start":18445,"extent_end":19491,"ident_utf16":{"start":{"line_number":342,"utf16_col":3},"end":{"line_number":342,"utf16_col":46}},"extent_utf16":{"start":{"line_number":342,"utf16_col":0},"end":{"line_number":362,"utf16_col":0}}},{"name":"`bytes` header values no longer work","fully_qualified_name":"`bytes` header values no longer work","kind":"section_2","ident_start":19494,"ident_end":19530,"extent_start":19491,"extent_end":19888,"ident_utf16":{"start":{"line_number":362,"utf16_col":3},"end":{"line_number":362,"utf16_col":39}},"extent_utf16":{"start":{"line_number":362,"utf16_col":0},"end":{"line_number":374,"utf16_col":0}}},{"name":"Bedrock: a region is now required","fully_qualified_name":"Bedrock: a region is now required","kind":"section_2","ident_start":19891,"ident_end":19924,"extent_start":19888,"extent_end":20606,"ident_utf16":{"start":{"line_number":374,"utf16_col":3},"end":{"line_number":374,"utf16_col":36}},"extent_utf16":{"start":{"line_number":374,"utf16_col":0},"end":{"line_number":393,"utf16_col":0}}},{"name":"Bedrock: unknown streaming events are skipped","fully_qualified_name":"Bedrock: unknown streaming events are skipped","kind":"section_2","ident_start":20609,"ident_end":20654,"extent_start":20606,"extent_end":20920,"ident_utf16":{"start":{"line_number":393,"utf16_col":3},"end":{"line_number":393,"utf16_col":48}},"extent_utf16":{"start":{"line_number":393,"utf16_col":0},"end":{"line_number":401,"utf16_col":0}}},{"name":"Quick reference","fully_qualified_name":"Quick reference","kind":"section_2","ident_start":20923,"ident_end":20938,"extent_start":20920,"extent_end":24606,"ident_utf16":{"start":{"line_number":401,"utf16_col":3},"end":{"line_number":401,"utf16_col":18}},"extent_utf16":{"start":{"line_number":401,"utf16_col":0},"end":{"line_number":424,"utf16_col":0}}}]}},"codeViewLayoutRoute":{"repo":{"id":1114121916,"defaultBranch":"main","name":"anthropic-sdk-python","ownerLogin":"A3IO","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2025-12-10T23:45:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/258090891?v=4","public":true,"private":false,"isOrgOwned":true,"isArchived":false},"currentUser":null,"uploadToken":"tsnKimBUoFiSSwYzF2JSEJHcANXf_b0QEV3RPV-W25_McGXGHtaM6zYbBxmUW2XddH5Jt8C4AJtQreOi-4aPAA","allShortcutsEnabled":false,"treeExpanded":true,"path":"MIGRATION.md","symbolsExpanded":false,"refInfo":{"name":"main","listCacheKey":"v0:1765411967.1159942","canEdit":false,"currentOid":"6c3e94b1208ae016fc992ffb4ae46ebf7fab706c"},"helpUrl":"https://docs.github.com","githubDevUrl":null},"codeViewFileTreeLayoutRoute":{"fileTree":{"":{"items":[{"name":".devcontainer","path":".devcontainer","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":".inline-snapshot","path":".inline-snapshot","contentType":"directory"},{"name":".vscode","path":".vscode","contentType":"directory"},{"name":"bin","path":"bin","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":"typings","path":"typings","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".python-version","path":".python-version","contentType":"file"},{"name":".release-please-manifest.json","path":".release-please-manifest.json","contentType":"file"},{"name":".stats.yml","path":".stats.yml","contentType":"file"},{"name":"Brewfile","path":"Brewfile","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CLAUDE.md","path":"CLAUDE.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"MIGRATION.md","path":"MIGRATION.md","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY.md","path":"SECURITY.md","contentType":"file"},{"name":"api.md","path":"api.md","contentType":"file"},{"name":"helpers.md","path":"helpers.md","contentType":"file"},{"name":"pyproject.toml","path":"pyproject.toml","contentType":"file"},{"name":"release-please-config.json","path":"release-please-config.json","contentType":"file"},{"name":"requirements-dev.lock","path":"requirements-dev.lock","contentType":"file"},{"name":"tools.md","path":"tools.md","contentType":"file"},{"name":"uv.lock","path":"uv.lock","contentType":"file"}],"totalCount":29}},"fileTreeProcessingTime":39.408635999999994,"foldersToFetch":[]},"codeViewBlobLayoutRoute":{"codeLineWrapEnabled":false,"refInfo":{"name":"main","listCacheKey":"v0:1765411967.1159942","canEdit":false,"refType":"branch","currentOid":"6c3e94b1208ae016fc992ffb4ae46ebf7fab706c","canEditOnDefaultBranch":false,"fileExistsOnDefault":true},"path":"MIGRATION.md","blob":{"copilotSWEAgentEnabled":false,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/A3IO/anthropic-sdk-python/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"MIGRATION.md","displayUrl":"https://github.com/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md?raw=true","headerInfo":{"blobSize":"24 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"bd6d1c2","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FA3IO%2Fanthropic-sdk-python%2Fblob%2Fmain%2FMIGRATION.md","isCSV":false,"isRichtext":true,"lineInfo":{"truncatedLoc":"424","truncatedSloc":"321"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"isIssueTemplate":false,"isDiscussionTemplate":false,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/A3IO/anthropic-sdk-python/blob/main/MIGRATION.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/A3IO/anthropic-sdk-python/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/A3IO/anthropic-sdk-python/raw/refs/heads/main/MIGRATION.md","renderImageOrRaw":false,"shortPath":null,"symbolsEnabled":true,"tabSize":4,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null},"copilotInfo":null,"copilotAccessAllowed":false,"copilotSpacesEnabled":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"isMarketplaceEnabled":true},"codeViewBlobLayoutRoute.StyledBlob":{"rawLines":["# Migrating to v1","","- [Upgrading](#upgrading)","- [Environment requirements](#environment-requirements)","- [The SDK is built on `httpx2`](#the-sdk-is-built-on-httpx2)","- [`.with_raw_response` returns the new response classes](#with_raw_response-returns-the-new-response-classes)","- [Removed: the legacy Text Completions API](#removed-the-legacy-text-completions-api)","- [Removed: deprecated request parameters](#removed-deprecated-request-parameters)","- [Removed: deprecated type aliases and exports](#removed-deprecated-type-aliases-and-exports)","- [Removed: deprecated helper arguments and behaviour](#removed-deprecated-helper-arguments-and-behaviour)","- [Header names are matched case-insensitively](#header-names-are-matched-case-insensitively)","- [bytes header values no longer work](#bytes-header-values-no-longer-work)","- [Bedrock: a region is now required](#bedrock-a-region-is-now-required)","- [Bedrock: unknown streaming events are skipped](#bedrock-unknown-streaming-events-are-skipped)","- [Quick reference](#quick-reference)","","## Upgrading","","```sh","pip install --upgrade \"anthropic\u003e=1,\u003c2\"","```","","If you use Claude Code, the fastest route through the rest of this guide is to let it do the edits:","run `/claude-api upgrade python` in your project and review the diff.","","A type checker (`pyright` / `mypy`) will flag almost everything below as an error after upgrading, which makes","it a good checklist even if you don't normally run one.","","## Environment requirements","","The minimum supported Python version has increased from 3.9 to 3.10.","","Nothing else about your environment needs to change. In particular Pydantic v1 and v2 both remain supported.","","## The SDK is built on `httpx2`","","The SDK's HTTP layer moved from `httpx`, which is no longer actively maintained, to [`httpx2`](https://github.com/pydantic/httpx2) - an API-compatible fork maintained by the Pydantic team.","","`httpx2` is a drop-in continuation of `httpx`, with the same classes, same behaviour, and security fixes included.","This only affects code that hands `httpx` objects **to** the SDK or inspects the ones it gets **back**.","","If you only ever pass plain values (`timeout=30.0`, `max_retries=3`, …) there is _likely_ nothing for you to do.","The exception is tooling that hooks `httpx` itself rather than your code — tracing / APM instrumentation and HTTP","mocking libraries. Those keep working but silently stop seeing the SDK's requests until you point them at `httpx2`;","see [Tracing, instrumentation and mocking libraries](#tracing-instrumentation-and-mocking-libraries) below.","","### Custom HTTP clients, transports, timeouts and limits","","Anything you construct from `httpx` and pass to the client must now come from `httpx2`. The simplest edit is","to alias the import; the SDK's own re-exports (`anthropic.Timeout`, `anthropic.DefaultHttpxClient`,","`anthropic.DefaultAsyncHttpxClient`, `anthropic.DefaultAioHttpClient`) already point at `httpx2` and keep working","unchanged.","","```python","# Before","import httpx","from anthropic import Anthropic, DefaultHttpxClient","","client = Anthropic(","    timeout=httpx.Timeout(60.0, connect=5.0),","    http_client=DefaultHttpxClient(","        proxy=\"http://my.proxy.example\",","        transport=httpx.HTTPTransport(local_address=\"0.0.0.0\"),","    ),",")","","# After","import httpx2 as httpx  # or `import httpx2` and rename the references","from anthropic import Anthropic, DefaultHttpxClient","","client = Anthropic(","    timeout=httpx.Timeout(60.0, connect=5.0),","    http_client=DefaultHttpxClient(","        proxy=\"http://my.proxy.example\",","        transport=httpx.HTTPTransport(local_address=\"0.0.0.0\"),","    ),",")","```","","Passing an `httpx.Client` / `httpx.AsyncClient` (from the old package) as `http_client=` raises a `TypeError`","at construction time, so this cannot fail silently.","","If you would rather not edit imports — or other code in your application still imports `httpx` and has to","share clients, transports or exception types with the SDK — call `httpx2.alias_httpx()` once at start-up instead.","It makes `import httpx` (and `import httpcore`) resolve to `httpx2` (and `httpcore2`) for the whole process. It has","to run before anything imports `httpx` (it raises a `RuntimeError` otherwise), and it is meant for applications:","a library should never call it on behalf of its users.","","```python","# the very first lines of your entry point","import httpx2","","httpx2.alias_httpx()","","import httpx  # this is now the httpx2 module","","assert httpx.Client is httpx2.Client","```","","### Response and error objects","","The objects the SDK returns are now `httpx2` types: `APIStatusError.response`, `APIConnectionError.request`,","`response.http_response` / `.headers` / `.url` on raw responses, and the `response=` argument your custom","`http_client` event hooks receive. They have exactly the same attributes as before; only `isinstance` checks and","type annotations that name `httpx.Response` / `httpx.Request` / `httpx.Headers` need to switch to `httpx2`.","","```python","# Before","def log_failure(err: anthropic.APIStatusError) -\u003e None:","    response: httpx.Response = err.response","    print(response.status_code, response.headers.get(\"request-id\"))","","","# After","def log_failure(err: anthropic.APIStatusError) -\u003e None:","    response: httpx2.Response = err.response","    print(response.status_code, response.headers.get(\"request-id\"))","```","","### `aiohttp` support","","`pip install anthropic[aiohttp]` and `http_client=DefaultAioHttpClient()` work as they did before.","However the `aiohttp` extra no longer installs the `httpx_aiohttp` package as it now ships inside the SDK.","","### Tracing, instrumentation and mocking libraries","","Libraries that observe or stub HTTP traffic by patching `httpx` — for example OpenTelemetry's","`HTTPXClientInstrumentor`, Sentry's `httpx` integration, [`respx`](https://lundberg.github.io/respx/),","`pytest-httpx` or `vcrpy` — patch the `httpx` package, which the SDK no longer uses. These libraries can silently","fail, making it difficult to identify failure points. You can holistically fix this by running `httpx2.alias_httpx()`","before anything else imports `httpx`.","","In an application, call it at the top of your entry point as shown above. Under pytest, an early plugin is the","least intrusive way to run it before `respx` / `pytest-httpx` and your test modules are imported:","","```python","# tests/_alias_httpx.py","import httpx2","","httpx2.alias_httpx()  # makes `import httpx` / `import httpcore` resolve to httpx2 / httpcore2","```","","```toml","# pyproject.toml","[tool.pytest.ini_options]","addopts = \"-p tests._alias_httpx\"","pythonpath = [\".\"]","```","","### Removed old `httpx` re-exports","","The top-level `anthropic.Transport` and `anthropic.ProxiesTypes` exports were unused aliases of `httpx` types and","are gone. Use `httpx2.BaseTransport`, `httpx2.AsyncBaseTransport` and `httpx2.Proxy` (or a proxy URL string) directly.","","## `.with_raw_response` returns the new response classes","","`.with_raw_response` used to return a `LegacyAPIResponse` class for both the sync and the async client. It now returns","the same `APIResponse` / `AsyncAPIResponse` classes that `.with_streaming_response` already used. Two things change:","","**On the async client, reading the response is now async.** `parse()`, `read()`, `text()` and `json()` are","coroutines on `AsyncAPIResponse`.","","```python","# Before","response = await client.messages.with_raw_response.create(...)","print(response.headers[\"request-id\"])","message = response.parse()","","# After","response = await client.messages.with_raw_response.create(...)","print(response.headers[\"request-id\"])  # metadata is still plain attribute access","message = await response.parse()","```","","**`.text` and `.content` became methods.** This applies to the sync client too. The new classes also expose","`json()` and the `iter_bytes()` / `iter_text()` / `iter_lines()` iterators directly, which previously meant","reaching for the underlying `response.http_response`.","","| `LegacyAPIResponse` (before)                                                                      | `APIResponse` (sync, after)                                | `AsyncAPIResponse` (async, after)             |","| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | --------------------------------------------- |","| `response.parse()`                                                                                | `response.parse()`                                         | `await response.parse()`                      |","| `response.text`                                                                                   | `response.text()`                                          | `await response.text()`                       |","| `response.content`                                                                                | `response.read()`                                          | `await response.read()`                       |","| — (only `response.http_response.json()`)                                                          | `response.json()`                                          | `await response.json()`                       |","| — (only `response.http_response.iter_bytes()` …)                                                  | `response.iter_bytes()` / `.iter_text()` / `.iter_lines()` | `async for chunk in response.iter_bytes():` … |","| `.headers`, `.status_code`, `.url`, `.request_id`, `.retries_taken`, `.http_response`, `.elapsed` | unchanged                                                  | unchanged                                     |","","## Removed: the legacy Text Completions API","","`client.completions.create()` (the `/v1/complete` endpoint), its types (`Completion`,","`CompletionCreateParams`) and the `anthropic.HUMAN_PROMPT` / `anthropic.AI_PROMPT` prompt constants have been","removed. Every current model is served through the Messages API, which has been the recommended interface since","2023 — see [Using the Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages)","if you still have code calling the legacy endpoint.","","## Removed: deprecated request parameters","","These parameters were deprecated by the API and are no longer accepted by the generated methods (passing them is","a `TypeError`, and a type checker flags it). They are also gone from the per-request `params` of","`messages.batches.create()`, where a type checker flags the key but the SDK still forwards it at runtime:","","| Method(s)                                                                                                                                                                                       | Removed parameter               | Use instead                                                                                                                                                                                                                                                                                                                                |","| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |","| `messages.create()`, `messages.stream()`, `messages.parse()` and their `beta.messages` counterparts, `beta.messages.tool_runner()`, and the per-request `params` of `messages.batches.create()` | `temperature`, `top_p`, `top_k` | Remove them. Current models do not use these sampling parameters; for an older model that still does, pass them through `extra_body` (see below).                                                                                                                                                                                          |","| `beta.messages.create()`, `beta.messages.count_tokens()`, batch request params                                                                                                                  | `output_format`                 | `output_config={\"format\": {...}}` — see [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs). The `output_format=MyModel` argument of the `parse()` / `stream()` / `count_tokens()` / `tool_runner()` **helpers** still takes a type; those helpers no longer accept a schema dict there either. |","","```python","# Before","client.beta.messages.create(","    ...,","    temperature=0.2,","    output_format={\"type\": \"json_schema\", \"schema\": Order.model_json_schema()},",")","","# After","client.beta.messages.create(","    ...,","    output_config={\"format\": {\"type\": \"json_schema\", \"schema\": Order.model_json_schema()}},",")","# or let the helper build the schema and parse the result:","client.beta.messages.parse(..., output_format=Order)","```","","The sampling parameters are only gone from the method signatures, not from the API: models that predate the","change still honour them. If you are pinned to such a model and really need a sampling setting, pass it through","`extra_body`, which is merged into the request JSON as-is (for `messages.batches.create()`, put the key straight into","the request's `params` dict):","","```python","# Before","client.messages.create(..., model=\"claude-sonnet-4-6\", temperature=0.2)","","# After","client.messages.create(..., model=\"claude-sonnet-4-6\", extra_body={\"temperature\": 0.2})","```","","The `output_format=` argument of `messages.parse()` / `stream()` / `count_tokens()` and `beta.messages.parse()` /","`stream()` / `tool_runner()` now only accepts a **type**. `messages.stream()`,","`messages.count_tokens()` and `beta.messages.stream()` used to accept a raw schema dict there too and forward it as","`output_config.format`; that form raises a `TypeError` now. Pass schema dicts via `output_config` and keep","`output_format=` for classes — the `DeprecationWarning` that `beta.messages.parse()` / `stream()` / `tool_runner()` used to","emit for the class form is gone, since that is now the only form they take:","","```python","# Before","client.messages.count_tokens(..., output_format={\"type\": \"json_schema\", \"schema\": {...}})","client.messages.count_tokens(..., output_format=Order)","","# After","client.messages.count_tokens(..., output_config={\"format\": {\"type\": \"json_schema\", \"schema\": {...}}})","client.messages.count_tokens(..., output_format=Order)  # unchanged","```","","## Removed: deprecated type aliases and exports","","| Removed                                                                                                 | Replacement                                                                         |","| ------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |","| `anthropic.types.beta.BetaBase64PDFBlockParam`                                                          | `anthropic.types.beta.BetaRequestDocumentBlockParam`                                |","| `anthropic.Transport`, `anthropic.ProxiesTypes` (and `anthropic._types.AsyncTransport` / `ProxiesDict`) | `httpx2.BaseTransport`, `httpx2.Proxy` (`httpx2.AsyncBaseTransport`)                |","| `anthropic.HUMAN_PROMPT`, `anthropic.AI_PROMPT`                                                         | none — see [the Text Completions section](#removed-the-legacy-text-completions-api) |","| `anthropic.lib.tools.agent_toolset.READ_MAX_BYTES`                                                      | `anthropic.lib.tools.agent_toolset.DEFAULT_MAX_FILE_BYTES`                          |","","## Removed: deprecated helper arguments and behaviour","","### `messages.parse(stream=True)`","","`parse()` always performs a non-streaming request; the `stream` argument never worked and has been removed from","`messages.parse()` / `beta.messages.parse()`. Use the streaming helper, which supports the same structured","output types:","","```python","# Before (which would crash)","client.messages.parse(..., output_format=Order, stream=True)","","# After","with client.messages.stream(..., output_format=Order) as stream:","    for event in stream:","        ...","    order = stream.get_final_message().parsed_output","```","","### `tool_runner(compaction_control=...)`","","Client-side compaction in the tool runner (the `compaction_control=` argument and the `CompactionControl` dict)","has been removed in favour of server-side compaction, which summarises the conversation inside the API instead of","with an extra client round-trip:","","```python","# Before","runner = client.beta.messages.tool_runner(","    ...,","    compaction_control={\"enabled\": True, \"context_token_threshold\": 100_000},",")","","# After","runner = client.beta.messages.tool_runner(","    ...,","    betas=[\"compact-2026-01-12\"],","    context_management={","        \"edits\": [","            {\"type\": \"compact_20260112\", \"trigger\": {\"type\": \"input_tokens\", \"value\": 100_000}}","        ]","    },",")","```","","The trigger threshold must be at least 50,000 tokens. See [compaction](https://platform.claude.com/docs/en/build-with-claude/compaction)","for the other options (`pause_after_compaction`, custom `instructions`).","","### Raw bytes as `body=` on `client.get/post/put/patch/delete`","","The low-level request methods accepted `bytes` for `body=` with a deprecation warning. `body=` is now always","JSON-serialised and raw payloads go through `content=` (which also accepts iterators for streaming uploads):","","```python","# Before","client.post(\"/v1/example\", body=b\"raw payload\", cast_to=httpx.Response)","","# After","client.post(\"/v1/example\", content=b\"raw payload\", cast_to=httpx2.Response)","```","","### `isinstance(stream, anthropic.Stream)` for message streams","","`MessageStream` / `AsyncMessageStream` (what `client.messages.stream()` yields) stopped inheriting from","`Stream` / `AsyncStream` many releases ago; a compatibility shim kept `isinstance()` checks passing with a","`DeprecationWarning`. The shim is gone, so such checks now return `False`. Check for the concrete classes instead:","","```python","# Before","from anthropic import Stream","","if isinstance(obj, Stream):","    ...","","# After","from anthropic.lib.streaming import MessageStream","","if isinstance(obj, MessageStream):","    ...  # or `Stream` if you really mean a raw `create(stream=True)` stream","```","","## Header names are matched case-insensitively","","HTTP header names are case-insensitive, and the SDK now treats them that way everywhere it merges headers. An entry","in `default_headers`, `extra_headers`, `with_options(default_headers=...)` or the `ANTHROPIC_CUSTOM_HEADERS`","environment variable replaces a header of the same name whatever its casing — including the headers the SDK sets","itself — instead of being sent alongside it, and `omit` removes one the same way.","","```python","from anthropic import Anthropic, omit","","client = Anthropic(default_headers={\"USER-AGENT\": \"my-app/1.0\"})","client.messages.create(..., extra_headers={\"x-api-key\": other_key, \"X-Stainless-Timeout\": omit})","","# Before: sent `User-Agent: Anthropic/Python ...` and `USER-AGENT: my-app/1.0`, both API keys,","#         and still sent `x-stainless-timeout`","# After:  sends `USER-AGENT: my-app/1.0`, only `x-api-key: \u003cother_key\u003e`, and no `x-stainless-timeout` header","```","","If you relied on two casings of a name producing two header lines, send one comma-joined value instead.","","## `bytes` header values no longer work","","Previously even though the type annotations did not allow it, you could pass `bytes` as header values, this now raises an error:","","```python","# Before (worked despite the type error)","client.messages.create(..., extra_headers={\"X-Signature\": signature_bytes})","","# After","client.messages.create(..., extra_headers={\"X-Signature\": signature_bytes.decode()})","```","","## Bedrock: a region is now required","","`AnthropicBedrock` / `AsyncAnthropicBedrock` used to log a warning and silently fall back to `us-east-1` when no","AWS region could be found. They now raise a `ValueError` at construction time instead.","","The region is resolved from, in order:","","- the `aws_region=` argument","- the `AWS_REGION` / `AWS_DEFAULT_REGION` environment variables","- the configuration of the boto3 session for the given `aws_profile` (previously the profile argument was ignored for region lookup).","","```python","# Before — implicitly us-east-1 if nothing was configured","client = AnthropicBedrock()","","# After","client = AnthropicBedrock(aws_region=\"us-east-1\")  # or export AWS_REGION / configure your profile","```","","## Bedrock: unknown streaming events are skipped","","Previously all streaming events that the Bedrock API returned would be yielded by the SDK, now they are skipped.","","The only known case this affects is an `amazon-bedrock-invocationMetrics` event.","","If you made use of this event please open an issue to let us know.","","## Quick reference","","| You have…                                                                             | Do this                                                                           |","| ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |","| Python 3.9                                                                            | upgrade to Python ≥ 3.10                                                          |","| `import httpx` objects passed to / received from the SDK                              | `import httpx2 as httpx` (or rename); annotations `httpx.X` → `httpx2.X`          |","| `respx` / `pytest-httpx` / `vcrpy`, or OpenTelemetry / Sentry `httpx` instrumentation | run `httpx2.alias_httpx()` before anything imports `httpx`                        |","| `httpx_aiohttp` in your requirements                                                  | drop it; `anthropic[aiohttp]` is enough                                           |","| `await client.….with_raw_response.…()` then `.parse()` / `.text` / `.content`         | `await response.parse()` / `await response.text()` / `await response.read()`      |","| sync `.with_raw_response` then `.text` / `.content`                                   | `response.text()` / `response.read()`                                             |","| `client.completions.create()`, `HUMAN_PROMPT`, `AI_PROMPT`                            | move to `client.messages.create()`                                                |","| `temperature=` / `top_p=` / `top_k=` on message methods                               | remove; use `extra_body={\"temperature\": ...}` if an older model still needs it    |","| `output_format={...}` (a schema dict) on any message method or helper                 | `output_config={\"format\": {...}}`; helpers keep `output_format=Model` for a class |","| `BetaBase64PDFBlockParam`                                                             | `BetaRequestDocumentBlockParam`                                                   |","| `anthropic.Transport` / `ProxiesTypes` (or `anthropic._types.AsyncTransport`)         | `httpx2.BaseTransport` / `Proxy` / `AsyncBaseTransport`                           |","| `messages.parse(stream=True)`                                                         | `messages.stream(...)`                                                            |","| `tool_runner(compaction_control=...)`                                                 | server-side `context_management` compaction                                       |","| `client.post(..., body=b\"...\")`                                                       | `content=b\"...\"`                                                                  |","| `isinstance(x, Stream)` meant for message streams                                     | `isinstance(x, MessageStream)`                                                    |","| two casings of one header name across `default_headers` / `extra_headers`             | the later one now replaces the earlier; join the values yourself if you need both |","| `bytes` header values                                                                 | `.decode()` them — header values must be `str`                                    |","| `AnthropicBedrock()` with no region configured                                        | pass `aws_region=` or set `AWS_REGION`                                            |","| `agent_toolset.READ_MAX_BYTES`                                                        | `DEFAULT_MAX_FILE_BYTES`                                                          |"],"stylingDirectives":[[[0,17,"pl-mh"],[2,17,"pl-en"]],[],[[0,1,"pl-v"],[2,3,"pl-s"],[12,13,"pl-s"],[13,14,"pl-s"],[14,24,"pl-corl"],[24,25,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[27,28,"pl-s"],[28,29,"pl-s"],[29,54,"pl-corl"],[54,55,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[23,24,"pl-s"],[24,30,"pl-c1"],[30,31,"pl-s"],[31,32,"pl-s"],[32,33,"pl-s"],[33,60,"pl-corl"],[60,61,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[3,4,"pl-s"],[4,22,"pl-c1"],[22,23,"pl-s"],[56,57,"pl-s"],[57,58,"pl-s"],[58,109,"pl-corl"],[109,110,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[43,44,"pl-s"],[44,45,"pl-s"],[45,85,"pl-corl"],[85,86,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[41,42,"pl-s"],[42,43,"pl-s"],[43,81,"pl-corl"],[81,82,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[47,48,"pl-s"],[48,49,"pl-s"],[49,93,"pl-corl"],[93,94,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[53,54,"pl-s"],[54,55,"pl-s"],[55,105,"pl-corl"],[105,106,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[46,47,"pl-s"],[47,48,"pl-s"],[48,92,"pl-corl"],[92,93,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[37,38,"pl-s"],[38,39,"pl-s"],[39,74,"pl-corl"],[74,75,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[36,37,"pl-s"],[37,38,"pl-s"],[38,71,"pl-corl"],[71,72,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[48,49,"pl-s"],[49,50,"pl-s"],[50,95,"pl-corl"],[95,96,"pl-s"]],[[0,1,"pl-v"],[2,3,"pl-s"],[18,19,"pl-s"],[19,20,"pl-s"],[20,36,"pl-corl"],[36,37,"pl-s"]],[],[[0,12,"pl-mh"],[3,12,"pl-en"]],[],[[0,3,"pl-s"],[3,5,"pl-en"]],[[22,39,"pl-s"],[22,23,"pl-pds"],[38,39,"pl-pds"]],[[0,3,"pl-s"]],[],[],[[4,5,"pl-s"],[5,31,"pl-c1"],[31,32,"pl-s"]],[],[[16,17,"pl-s"],[17,24,"pl-c1"],[24,25,"pl-s"],[28,29,"pl-s"],[29,33,"pl-c1"],[33,34,"pl-s"]],[],[],[[0,27,"pl-mh"],[3,27,"pl-en"]],[],[],[],[],[],[[0,31,"pl-mh"],[3,31,"pl-en"],[23,24,"pl-s"],[24,30,"pl-c1"],[30,31,"pl-s"]],[],[[32,33,"pl-s"],[33,38,"pl-c1"],[38,39,"pl-s"],[84,85,"pl-s"],[85,86,"pl-s"],[86,92,"pl-c1"],[92,93,"pl-s"],[93,94,"pl-s"],[94,95,"pl-s"],[95,129,"pl-corl"],[129,130,"pl-s"]],[],[[0,1,"pl-s"],[1,7,"pl-c1"],[7,8,"pl-s"],[38,39,"pl-s"],[39,44,"pl-c1"],[44,45,"pl-s"]],[[34,35,"pl-s"],[35,40,"pl-c1"],[40,41,"pl-s"],[50,52,"pl-s"],[54,56,"pl-s"],[94,96,"pl-s"],[100,102,"pl-s"]],[],[[36,37,"pl-s"],[37,49,"pl-c1"],[49,50,"pl-s"],[52,53,"pl-s"],[53,66,"pl-c1"],[66,67,"pl-s"],[81,82,"pl-s"],[88,89,"pl-s"]],[[36,37,"pl-s"],[37,42,"pl-c1"],[42,43,"pl-s"]],[[106,107,"pl-s"],[107,113,"pl-c1"],[113,114,"pl-s"]],[[4,5,"pl-s"],[51,52,"pl-s"],[52,53,"pl-s"],[53,99,"pl-corl"],[99,100,"pl-s"]],[],[[0,56,"pl-mh"],[4,56,"pl-en"]],[],[[28,29,"pl-s"],[29,34,"pl-c1"],[34,35,"pl-s"],[78,79,"pl-s"],[79,85,"pl-c1"],[85,86,"pl-s"]],[[47,48,"pl-s"],[48,65,"pl-c1"],[65,66,"pl-s"],[68,69,"pl-s"],[69,97,"pl-c1"],[97,98,"pl-s"]],[[0,1,"pl-s"],[1,34,"pl-c1"],[34,35,"pl-s"],[37,38,"pl-s"],[38,68,"pl-c1"],[68,69,"pl-s"],[88,89,"pl-s"],[89,95,"pl-c1"],[95,96,"pl-s"]],[],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[0,6,"pl-k"]],[[0,4,"pl-k"],[15,21,"pl-k"]],[],[[7,8,"pl-k"]],[[4,11,"pl-v"],[11,12,"pl-k"],[26,30,"pl-c1"],[32,39,"pl-v"],[39,40,"pl-k"],[40,43,"pl-c1"]],[[4,15,"pl-v"],[15,16,"pl-k"]],[[8,13,"pl-v"],[13,14,"pl-k"],[14,39,"pl-s"],[14,15,"pl-pds"],[38,39,"pl-pds"]],[[8,17,"pl-v"],[17,18,"pl-k"],[38,51,"pl-v"],[51,52,"pl-k"],[52,61,"pl-s"],[52,53,"pl-pds"],[60,61,"pl-pds"]],[],[],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[0,6,"pl-k"],[14,16,"pl-k"],[24,70,"pl-c"],[24,25,"pl-c"]],[[0,4,"pl-k"],[15,21,"pl-k"]],[],[[7,8,"pl-k"]],[[4,11,"pl-v"],[11,12,"pl-k"],[26,30,"pl-c1"],[32,39,"pl-v"],[39,40,"pl-k"],[40,43,"pl-c1"]],[[4,15,"pl-v"],[15,16,"pl-k"]],[[8,13,"pl-v"],[13,14,"pl-k"],[14,39,"pl-s"],[14,15,"pl-pds"],[38,39,"pl-pds"]],[[8,17,"pl-v"],[17,18,"pl-k"],[38,51,"pl-v"],[51,52,"pl-k"],[52,61,"pl-s"],[52,53,"pl-pds"],[60,61,"pl-pds"]],[],[],[[0,3,"pl-s"]],[],[[11,12,"pl-s"],[12,24,"pl-c1"],[24,25,"pl-s"],[28,29,"pl-s"],[29,46,"pl-c1"],[46,47,"pl-s"],[74,75,"pl-s"],[75,87,"pl-c1"],[87,88,"pl-s"],[98,99,"pl-s"],[99,108,"pl-c1"],[108,109,"pl-s"]],[],[],[[87,88,"pl-s"],[88,93,"pl-c1"],[93,94,"pl-s"]],[[65,66,"pl-s"],[66,86,"pl-c1"],[86,87,"pl-s"]],[[9,10,"pl-s"],[10,22,"pl-c1"],[22,23,"pl-s"],[29,30,"pl-s"],[30,45,"pl-c1"],[45,46,"pl-s"],[59,60,"pl-s"],[60,66,"pl-c1"],[66,67,"pl-s"],[73,74,"pl-s"],[74,83,"pl-c1"],[83,84,"pl-s"]],[[31,32,"pl-s"],[32,37,"pl-c1"],[37,38,"pl-s"],[52,53,"pl-s"],[53,65,"pl-c1"],[65,66,"pl-s"]],[],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,42,"pl-c"],[0,1,"pl-c"]],[[0,6,"pl-k"]],[],[],[],[[0,6,"pl-k"],[14,45,"pl-c"],[14,15,"pl-c"]],[],[[0,6,"pl-k"],[20,22,"pl-k"]],[[0,3,"pl-s"]],[],[[0,30,"pl-mh"],[4,30,"pl-en"]],[],[[36,37,"pl-s"],[37,43,"pl-c1"],[43,44,"pl-s"],[52,53,"pl-s"],[53,76,"pl-c1"],[76,77,"pl-s"],[79,80,"pl-s"],[80,106,"pl-c1"],[106,107,"pl-s"]],[[0,1,"pl-s"],[1,23,"pl-c1"],[23,24,"pl-s"],[27,28,"pl-s"],[28,36,"pl-c1"],[36,37,"pl-s"],[40,41,"pl-s"],[41,45,"pl-c1"],[45,46,"pl-s"],[73,74,"pl-s"],[74,83,"pl-c1"],[83,84,"pl-s"]],[[0,1,"pl-s"],[1,12,"pl-c1"],[12,13,"pl-s"],[89,90,"pl-s"],[90,100,"pl-c1"],[100,101,"pl-s"]],[[27,28,"pl-s"],[28,42,"pl-c1"],[42,43,"pl-s"],[46,47,"pl-s"],[47,60,"pl-c1"],[60,61,"pl-s"],[64,65,"pl-s"],[65,78,"pl-c1"],[78,79,"pl-s"],[98,99,"pl-s"],[99,105,"pl-c1"],[105,106,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[0,3,"pl-k"],[4,15,"pl-en"],[16,19,"pl-smi"],[50,54,"pl-c1"]],[[29,30,"pl-k"]],[[4,9,"pl-c1"],[53,65,"pl-s"],[53,54,"pl-pds"],[64,65,"pl-pds"]],[],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[0,3,"pl-k"],[4,15,"pl-en"],[16,19,"pl-smi"],[50,54,"pl-c1"]],[[30,31,"pl-k"]],[[4,9,"pl-c1"],[53,65,"pl-s"],[53,54,"pl-pds"],[64,65,"pl-pds"]],[[0,3,"pl-s"]],[],[[0,21,"pl-mh"],[4,21,"pl-en"],[4,5,"pl-s"],[5,12,"pl-c1"],[12,13,"pl-s"]],[],[[0,1,"pl-s"],[1,31,"pl-c1"],[31,32,"pl-s"],[37,38,"pl-s"],[38,72,"pl-c1"],[72,73,"pl-s"]],[[12,13,"pl-s"],[13,20,"pl-c1"],[20,21,"pl-s"],[51,52,"pl-s"],[52,65,"pl-c1"],[65,66,"pl-s"]],[],[[0,50,"pl-mh"],[4,50,"pl-en"]],[],[[56,57,"pl-s"],[57,62,"pl-c1"],[62,63,"pl-s"]],[[0,1,"pl-s"],[1,24,"pl-c1"],[24,25,"pl-s"],[36,37,"pl-s"],[37,42,"pl-c1"],[42,43,"pl-s"],[57,58,"pl-s"],[58,59,"pl-s"],[59,64,"pl-c1"],[64,65,"pl-s"],[65,66,"pl-s"],[66,67,"pl-s"],[67,100,"pl-corl"],[100,101,"pl-s"]],[[0,1,"pl-s"],[1,13,"pl-c1"],[13,14,"pl-s"],[18,19,"pl-s"],[19,24,"pl-c1"],[24,25,"pl-s"],[38,39,"pl-s"],[39,44,"pl-c1"],[44,45,"pl-s"]],[[95,96,"pl-s"],[96,116,"pl-c1"],[116,117,"pl-s"]],[[29,30,"pl-s"],[30,35,"pl-c1"],[35,36,"pl-s"]],[],[],[[37,38,"pl-s"],[38,43,"pl-c1"],[43,44,"pl-s"],[47,48,"pl-s"],[48,60,"pl-c1"],[60,61,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,23,"pl-c"],[0,1,"pl-c"]],[[0,6,"pl-k"]],[],[[22,94,"pl-c"],[22,23,"pl-c"]],[[0,3,"pl-s"]],[],[[0,3,"pl-s"],[3,7,"pl-en"]],[[0,16,"pl-c"],[0,1,"pl-c"]],[[1,5,"pl-en"],[6,12,"pl-en"],[13,24,"pl-en"]],[[0,7,"pl-smi"],[10,33,"pl-s"],[10,11,"pl-pds"],[32,33,"pl-pds"]],[[0,10,"pl-smi"],[14,17,"pl-s"],[14,15,"pl-pds"],[16,17,"pl-pds"]],[[0,3,"pl-s"]],[],[[0,34,"pl-mh"],[4,34,"pl-en"],[16,17,"pl-s"],[17,22,"pl-c1"],[22,23,"pl-s"]],[],[[14,15,"pl-s"],[15,34,"pl-c1"],[34,35,"pl-s"],[40,41,"pl-s"],[41,63,"pl-c1"],[63,64,"pl-s"],[96,97,"pl-s"],[97,102,"pl-c1"],[102,103,"pl-s"]],[[14,15,"pl-s"],[15,35,"pl-c1"],[35,36,"pl-s"],[38,39,"pl-s"],[39,64,"pl-c1"],[64,65,"pl-s"],[70,71,"pl-s"],[71,83,"pl-c1"],[83,84,"pl-s"]],[],[[0,56,"pl-mh"],[3,56,"pl-en"],[3,4,"pl-s"],[4,22,"pl-c1"],[22,23,"pl-s"]],[],[[0,1,"pl-s"],[1,19,"pl-c1"],[19,20,"pl-s"],[38,39,"pl-s"],[39,56,"pl-c1"],[56,57,"pl-s"]],[[9,10,"pl-s"],[10,21,"pl-c1"],[21,22,"pl-s"],[25,26,"pl-s"],[26,42,"pl-c1"],[42,43,"pl-s"],[57,58,"pl-s"],[58,82,"pl-c1"],[82,83,"pl-s"]],[],[[0,2,"pl-s"],[57,59,"pl-s"],[60,61,"pl-s"],[61,68,"pl-c1"],[68,69,"pl-s"],[71,72,"pl-s"],[72,78,"pl-c1"],[78,79,"pl-s"],[81,82,"pl-s"],[82,88,"pl-c1"],[88,89,"pl-s"],[94,95,"pl-s"],[95,101,"pl-c1"],[101,102,"pl-s"]],[[14,15,"pl-s"],[15,31,"pl-c1"],[31,32,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[9,10,"pl-k"],[11,16,"pl-k"],[58,61,"pl-c1"]],[[0,5,"pl-c1"],[23,35,"pl-s"],[23,24,"pl-pds"],[34,35,"pl-pds"]],[[8,9,"pl-k"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[9,10,"pl-k"],[11,16,"pl-k"],[58,61,"pl-c1"]],[[0,5,"pl-c1"],[23,35,"pl-s"],[23,24,"pl-pds"],[34,35,"pl-pds"],[39,81,"pl-c"],[39,40,"pl-c"]],[[8,9,"pl-k"],[10,15,"pl-k"]],[[0,3,"pl-s"]],[],[[0,2,"pl-s"],[2,3,"pl-s"],[3,8,"pl-c1"],[8,9,"pl-s"],[14,15,"pl-s"],[15,23,"pl-c1"],[23,24,"pl-s"],[40,42,"pl-s"]],[[0,1,"pl-s"],[1,7,"pl-c1"],[7,8,"pl-s"],[17,18,"pl-s"],[18,30,"pl-c1"],[30,31,"pl-s"],[34,35,"pl-s"],[35,46,"pl-c1"],[46,47,"pl-s"],[50,51,"pl-s"],[51,63,"pl-c1"],[63,64,"pl-s"]],[[28,29,"pl-s"],[29,51,"pl-c1"],[51,52,"pl-s"]],[],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,20,"pl-c1"],[20,21,"pl-s"],[100,101,"pl-ml"],[102,103,"pl-s"],[103,114,"pl-c1"],[114,115,"pl-s"],[161,162,"pl-ml"],[163,164,"pl-s"],[164,180,"pl-c1"],[180,181,"pl-s"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[100,101,"pl-ml"],[161,162,"pl-ml"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,19,"pl-c1"],[19,20,"pl-s"],[100,101,"pl-ml"],[102,103,"pl-s"],[103,119,"pl-c1"],[119,120,"pl-s"],[161,162,"pl-ml"],[163,164,"pl-s"],[164,186,"pl-c1"],[186,187,"pl-s"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,16,"pl-c1"],[16,17,"pl-s"],[100,101,"pl-ml"],[102,103,"pl-s"],[103,118,"pl-c1"],[118,119,"pl-s"],[161,162,"pl-ml"],[163,164,"pl-s"],[164,185,"pl-c1"],[185,186,"pl-s"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,19,"pl-c1"],[19,20,"pl-s"],[100,101,"pl-ml"],[102,103,"pl-s"],[103,118,"pl-c1"],[118,119,"pl-s"],[161,162,"pl-ml"],[163,164,"pl-s"],[164,185,"pl-c1"],[185,186,"pl-s"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[10,11,"pl-s"],[11,40,"pl-c1"],[40,41,"pl-s"],[100,101,"pl-ml"],[102,103,"pl-s"],[103,118,"pl-c1"],[118,119,"pl-s"],[161,162,"pl-ml"],[163,164,"pl-s"],[164,185,"pl-c1"],[185,186,"pl-s"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[10,11,"pl-s"],[11,46,"pl-c1"],[46,47,"pl-s"],[100,101,"pl-ml"],[102,103,"pl-s"],[103,124,"pl-c1"],[124,125,"pl-s"],[128,129,"pl-s"],[129,141,"pl-c1"],[141,142,"pl-s"],[145,146,"pl-s"],[146,159,"pl-c1"],[159,160,"pl-s"],[161,162,"pl-ml"],[163,164,"pl-s"],[164,205,"pl-c1"],[205,206,"pl-s"],[209,210,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,11,"pl-c1"],[11,12,"pl-s"],[14,15,"pl-s"],[15,27,"pl-c1"],[27,28,"pl-s"],[30,31,"pl-s"],[31,35,"pl-c1"],[35,36,"pl-s"],[38,39,"pl-s"],[39,50,"pl-c1"],[50,51,"pl-s"],[53,54,"pl-s"],[54,68,"pl-c1"],[68,69,"pl-s"],[71,72,"pl-s"],[72,86,"pl-c1"],[86,87,"pl-s"],[89,90,"pl-s"],[90,98,"pl-c1"],[98,99,"pl-s"],[100,101,"pl-ml"],[161,162,"pl-ml"],[209,210,"pl-ml"]],[],[[0,43,"pl-mh"],[3,43,"pl-en"]],[],[[0,1,"pl-s"],[1,28,"pl-c1"],[28,29,"pl-s"],[35,36,"pl-s"],[36,48,"pl-c1"],[48,49,"pl-s"],[72,73,"pl-s"],[73,83,"pl-c1"],[83,84,"pl-s"]],[[0,1,"pl-s"],[1,23,"pl-c1"],[23,24,"pl-s"],[34,35,"pl-s"],[35,57,"pl-c1"],[57,58,"pl-s"],[61,62,"pl-s"],[62,81,"pl-c1"],[81,82,"pl-s"]],[],[[11,12,"pl-s"],[34,35,"pl-s"],[35,36,"pl-s"],[36,111,"pl-corl"],[111,112,"pl-s"]],[],[],[[0,41,"pl-mh"],[3,41,"pl-en"]],[],[],[[2,3,"pl-s"],[3,12,"pl-c1"],[12,13,"pl-s"],[85,86,"pl-s"],[86,92,"pl-c1"],[92,93,"pl-s"]],[[0,1,"pl-s"],[1,26,"pl-c1"],[26,27,"pl-s"]],[],[[0,1,"pl-ml"],[194,195,"pl-ml"],[228,229,"pl-ml"],[561,562,"pl-ml"]],[[0,1,"pl-ml"],[194,195,"pl-ml"],[228,229,"pl-ml"],[561,562,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,20,"pl-c1"],[20,21,"pl-s"],[23,24,"pl-s"],[24,41,"pl-c1"],[41,42,"pl-s"],[44,45,"pl-s"],[45,61,"pl-c1"],[61,62,"pl-s"],[73,74,"pl-s"],[74,87,"pl-c1"],[87,88,"pl-s"],[103,104,"pl-s"],[104,131,"pl-c1"],[131,132,"pl-s"],[154,155,"pl-s"],[155,161,"pl-c1"],[161,162,"pl-s"],[166,167,"pl-s"],[167,192,"pl-c1"],[192,193,"pl-s"],[194,195,"pl-ml"],[196,197,"pl-s"],[197,208,"pl-c1"],[208,209,"pl-s"],[211,212,"pl-s"],[212,217,"pl-c1"],[217,218,"pl-s"],[220,221,"pl-s"],[221,226,"pl-c1"],[226,227,"pl-s"],[228,229,"pl-ml"],[350,351,"pl-s"],[351,361,"pl-c1"],[361,362,"pl-s"],[561,562,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,25,"pl-c1"],[25,26,"pl-s"],[28,29,"pl-s"],[29,57,"pl-c1"],[57,58,"pl-s"],[194,195,"pl-ml"],[196,197,"pl-s"],[197,210,"pl-c1"],[210,211,"pl-s"],[228,229,"pl-ml"],[230,231,"pl-s"],[231,262,"pl-c1"],[262,263,"pl-s"],[270,271,"pl-s"],[289,290,"pl-s"],[290,291,"pl-s"],[291,363,"pl-corl"],[363,364,"pl-s"],[370,371,"pl-s"],[371,392,"pl-c1"],[392,393,"pl-s"],[410,411,"pl-s"],[411,418,"pl-c1"],[418,419,"pl-s"],[422,423,"pl-s"],[423,431,"pl-c1"],[431,432,"pl-s"],[435,436,"pl-s"],[436,450,"pl-c1"],[450,451,"pl-s"],[454,455,"pl-s"],[455,468,"pl-c1"],[468,469,"pl-s"],[470,472,"pl-s"],[479,481,"pl-s"],[561,562,"pl-ml"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[],[[4,7,"pl-c1"]],[[4,15,"pl-v"],[15,16,"pl-k"],[16,19,"pl-c1"]],[[4,17,"pl-v"],[17,18,"pl-k"],[19,25,"pl-s"],[19,20,"pl-pds"],[24,25,"pl-pds"],[27,40,"pl-s"],[27,28,"pl-pds"],[39,40,"pl-pds"],[42,50,"pl-s"],[42,43,"pl-pds"],[49,50,"pl-pds"]],[],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[],[[4,7,"pl-c1"]],[[4,17,"pl-v"],[17,18,"pl-k"],[19,27,"pl-s"],[19,20,"pl-pds"],[26,27,"pl-pds"],[30,36,"pl-s"],[30,31,"pl-pds"],[35,36,"pl-pds"],[38,51,"pl-s"],[38,39,"pl-pds"],[50,51,"pl-pds"],[53,61,"pl-s"],[53,54,"pl-pds"],[60,61,"pl-pds"]],[],[[0,58,"pl-c"],[0,1,"pl-c"]],[[27,30,"pl-c1"],[32,45,"pl-v"],[45,46,"pl-k"]],[[0,3,"pl-s"]],[],[],[],[[0,1,"pl-s"],[1,11,"pl-c1"],[11,12,"pl-s"],[63,64,"pl-s"],[64,89,"pl-c1"],[89,90,"pl-s"]],[[14,15,"pl-s"],[15,21,"pl-c1"],[21,22,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[23,26,"pl-c1"],[28,33,"pl-v"],[33,34,"pl-k"],[34,53,"pl-s"],[34,35,"pl-pds"],[52,53,"pl-pds"],[55,66,"pl-v"],[66,67,"pl-k"],[67,70,"pl-c1"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[23,26,"pl-c1"],[28,33,"pl-v"],[33,34,"pl-k"],[34,53,"pl-s"],[34,35,"pl-pds"],[52,53,"pl-pds"],[55,65,"pl-v"],[65,66,"pl-k"],[67,80,"pl-s"],[67,68,"pl-pds"],[79,80,"pl-pds"],[82,85,"pl-c1"]],[[0,3,"pl-s"]],[],[[4,5,"pl-s"],[5,19,"pl-c1"],[19,20,"pl-s"],[33,34,"pl-s"],[34,50,"pl-c1"],[50,51,"pl-s"],[54,55,"pl-s"],[55,63,"pl-c1"],[63,64,"pl-s"],[67,68,"pl-s"],[68,82,"pl-c1"],[82,83,"pl-s"],[88,89,"pl-s"],[89,110,"pl-c1"],[110,111,"pl-s"]],[[0,1,"pl-s"],[1,9,"pl-c1"],[9,10,"pl-s"],[13,14,"pl-s"],[14,27,"pl-c1"],[27,28,"pl-s"],[48,50,"pl-s"],[54,56,"pl-s"],[58,59,"pl-s"],[59,76,"pl-c1"],[76,77,"pl-s"]],[[0,1,"pl-s"],[1,24,"pl-c1"],[24,25,"pl-s"],[30,31,"pl-s"],[31,53,"pl-c1"],[53,54,"pl-s"]],[[0,1,"pl-s"],[1,21,"pl-c1"],[21,22,"pl-s"],[43,44,"pl-s"],[44,53,"pl-c1"],[53,54,"pl-s"],[82,83,"pl-s"],[83,96,"pl-c1"],[96,97,"pl-s"]],[[0,1,"pl-s"],[1,15,"pl-c1"],[15,16,"pl-s"],[35,36,"pl-s"],[36,54,"pl-c1"],[54,55,"pl-s"],[61,62,"pl-s"],[62,83,"pl-c1"],[83,84,"pl-s"],[87,88,"pl-s"],[88,96,"pl-c1"],[96,97,"pl-s"],[100,101,"pl-s"],[101,114,"pl-c1"],[114,115,"pl-s"]],[],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[29,32,"pl-c1"],[34,47,"pl-v"],[47,48,"pl-k"],[49,55,"pl-s"],[49,50,"pl-pds"],[54,55,"pl-pds"],[57,70,"pl-s"],[57,58,"pl-pds"],[69,70,"pl-pds"],[72,80,"pl-s"],[72,73,"pl-pds"],[79,80,"pl-pds"],[83,86,"pl-c1"]],[[29,32,"pl-c1"],[34,47,"pl-v"],[47,48,"pl-k"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[29,32,"pl-c1"],[34,47,"pl-v"],[47,48,"pl-k"],[49,57,"pl-s"],[49,50,"pl-pds"],[56,57,"pl-pds"],[60,66,"pl-s"],[60,61,"pl-pds"],[65,66,"pl-pds"],[68,81,"pl-s"],[68,69,"pl-pds"],[80,81,"pl-pds"],[83,91,"pl-s"],[83,84,"pl-pds"],[90,91,"pl-pds"],[94,97,"pl-c1"]],[[29,32,"pl-c1"],[34,47,"pl-v"],[47,48,"pl-k"],[56,67,"pl-c"],[56,57,"pl-c"]],[[0,3,"pl-s"]],[],[[0,47,"pl-mh"],[3,47,"pl-en"]],[],[[0,1,"pl-ml"],[106,107,"pl-ml"],[192,193,"pl-ml"]],[[0,1,"pl-ml"],[106,107,"pl-ml"],[192,193,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,47,"pl-c1"],[47,48,"pl-s"],[106,107,"pl-ml"],[108,109,"pl-s"],[109,159,"pl-c1"],[159,160,"pl-s"],[192,193,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,22,"pl-c1"],[22,23,"pl-s"],[25,26,"pl-s"],[26,48,"pl-c1"],[48,49,"pl-s"],[55,56,"pl-s"],[56,87,"pl-c1"],[87,88,"pl-s"],[91,92,"pl-s"],[92,103,"pl-c1"],[103,104,"pl-s"],[106,107,"pl-ml"],[108,109,"pl-s"],[109,129,"pl-c1"],[129,130,"pl-s"],[132,133,"pl-s"],[133,145,"pl-c1"],[145,146,"pl-s"],[148,149,"pl-s"],[149,174,"pl-c1"],[174,175,"pl-s"],[192,193,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,25,"pl-c1"],[25,26,"pl-s"],[28,29,"pl-s"],[29,48,"pl-c1"],[48,49,"pl-s"],[106,107,"pl-ml"],[119,120,"pl-s"],[148,149,"pl-s"],[149,150,"pl-s"],[150,190,"pl-corl"],[190,191,"pl-s"],[192,193,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,51,"pl-c1"],[51,52,"pl-s"],[106,107,"pl-ml"],[108,109,"pl-s"],[109,165,"pl-c1"],[165,166,"pl-s"],[192,193,"pl-ml"]],[],[[0,53,"pl-mh"],[3,53,"pl-en"]],[],[[0,33,"pl-mh"],[4,33,"pl-en"],[4,5,"pl-s"],[5,32,"pl-c1"],[32,33,"pl-s"]],[],[[0,1,"pl-s"],[1,8,"pl-c1"],[8,9,"pl-s"],[55,56,"pl-s"],[56,62,"pl-c1"],[62,63,"pl-s"]],[[0,1,"pl-s"],[1,17,"pl-c1"],[17,18,"pl-s"],[21,22,"pl-s"],[22,43,"pl-c1"],[43,44,"pl-s"]],[],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,28,"pl-c"],[0,1,"pl-c"]],[[22,25,"pl-c1"],[27,40,"pl-v"],[40,41,"pl-k"],[48,54,"pl-v"],[54,55,"pl-k"],[55,59,"pl-c1"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[0,4,"pl-k"],[28,31,"pl-c1"],[33,46,"pl-v"],[46,47,"pl-k"],[54,56,"pl-k"]],[[4,7,"pl-k"],[14,16,"pl-k"]],[[8,11,"pl-c1"]],[[10,11,"pl-k"]],[[0,3,"pl-s"]],[],[[0,41,"pl-mh"],[4,41,"pl-en"],[4,5,"pl-s"],[5,40,"pl-c1"],[40,41,"pl-s"]],[],[[47,48,"pl-s"],[48,67,"pl-c1"],[67,68,"pl-s"],[86,87,"pl-s"],[87,104,"pl-c1"],[104,105,"pl-s"]],[],[],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[7,8,"pl-k"]],[[4,7,"pl-c1"]],[[4,22,"pl-v"],[22,23,"pl-k"],[24,33,"pl-s"],[24,25,"pl-pds"],[32,33,"pl-pds"],[35,39,"pl-c1"],[41,66,"pl-s"],[41,42,"pl-pds"],[65,66,"pl-pds"],[68,75,"pl-c1"]],[],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[7,8,"pl-k"]],[[4,7,"pl-c1"]],[[4,9,"pl-v"],[9,10,"pl-k"],[11,31,"pl-s"],[11,12,"pl-pds"],[30,31,"pl-pds"]],[[4,22,"pl-v"],[22,23,"pl-k"]],[[8,15,"pl-s"],[8,9,"pl-pds"],[14,15,"pl-pds"]],[[13,19,"pl-s"],[13,14,"pl-pds"],[18,19,"pl-pds"],[21,39,"pl-s"],[21,22,"pl-pds"],[38,39,"pl-pds"],[41,50,"pl-s"],[41,42,"pl-pds"],[49,50,"pl-pds"],[53,59,"pl-s"],[53,54,"pl-pds"],[58,59,"pl-pds"],[61,75,"pl-s"],[61,62,"pl-pds"],[74,75,"pl-pds"],[77,84,"pl-s"],[77,78,"pl-pds"],[83,84,"pl-pds"],[86,93,"pl-c1"]],[],[],[],[[0,3,"pl-s"]],[],[[58,59,"pl-s"],[69,70,"pl-s"],[70,71,"pl-s"],[71,135,"pl-corl"],[135,136,"pl-s"]],[[23,24,"pl-s"],[24,46,"pl-c1"],[46,47,"pl-s"],[56,57,"pl-s"],[57,69,"pl-c1"],[69,70,"pl-s"]],[],[[0,62,"pl-mh"],[4,62,"pl-en"],[17,18,"pl-s"],[18,23,"pl-c1"],[23,24,"pl-s"],[28,29,"pl-s"],[29,61,"pl-c1"],[61,62,"pl-s"]],[],[[39,40,"pl-s"],[40,45,"pl-c1"],[45,46,"pl-s"],[51,52,"pl-s"],[52,57,"pl-c1"],[57,58,"pl-s"],[87,88,"pl-s"],[88,93,"pl-c1"],[93,94,"pl-s"]],[[44,45,"pl-s"],[45,53,"pl-c1"],[53,54,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[12,25,"pl-s"],[12,13,"pl-pds"],[24,25,"pl-pds"],[27,31,"pl-v"],[31,32,"pl-k"],[32,46,"pl-s"],[32,33,"pl-k"],[33,34,"pl-pds"],[45,46,"pl-pds"],[48,55,"pl-v"],[55,56,"pl-k"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[12,25,"pl-s"],[12,13,"pl-pds"],[24,25,"pl-pds"],[27,34,"pl-v"],[34,35,"pl-k"],[35,49,"pl-s"],[35,36,"pl-k"],[36,37,"pl-pds"],[48,49,"pl-pds"],[51,58,"pl-v"],[58,59,"pl-k"]],[[0,3,"pl-s"]],[],[[0,62,"pl-mh"],[4,62,"pl-en"],[4,5,"pl-s"],[5,41,"pl-c1"],[41,42,"pl-s"]],[],[[0,1,"pl-s"],[1,14,"pl-c1"],[14,15,"pl-s"],[18,19,"pl-s"],[19,37,"pl-c1"],[37,38,"pl-s"],[45,46,"pl-s"],[46,70,"pl-c1"],[70,71,"pl-s"]],[[0,1,"pl-s"],[1,7,"pl-c1"],[7,8,"pl-s"],[11,12,"pl-s"],[12,23,"pl-c1"],[23,24,"pl-s"],[70,71,"pl-s"],[71,83,"pl-c1"],[83,84,"pl-s"]],[[0,1,"pl-s"],[1,19,"pl-c1"],[19,20,"pl-s"],[66,67,"pl-s"],[67,72,"pl-c1"],[72,73,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,8,"pl-c"],[0,1,"pl-c"]],[[0,4,"pl-k"],[15,21,"pl-k"]],[],[[0,2,"pl-k"],[3,13,"pl-c1"]],[[4,7,"pl-c1"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[0,4,"pl-k"],[29,35,"pl-k"]],[],[[0,2,"pl-k"],[3,13,"pl-c1"]],[[4,7,"pl-c1"],[9,76,"pl-c"],[9,10,"pl-c"]],[[0,3,"pl-s"]],[],[[0,46,"pl-mh"],[3,46,"pl-en"]],[],[],[[3,4,"pl-s"],[4,19,"pl-c1"],[19,20,"pl-s"],[22,23,"pl-s"],[23,36,"pl-c1"],[36,37,"pl-s"],[39,40,"pl-s"],[40,73,"pl-c1"],[73,74,"pl-s"],[82,83,"pl-s"],[83,107,"pl-c1"],[107,108,"pl-s"]],[],[[49,50,"pl-s"],[50,54,"pl-c1"],[54,55,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,4,"pl-k"],[15,21,"pl-k"]],[],[[7,8,"pl-k"],[19,34,"pl-v"],[34,35,"pl-k"],[36,48,"pl-s"],[36,37,"pl-pds"],[47,48,"pl-pds"],[50,62,"pl-s"],[50,51,"pl-pds"],[61,62,"pl-pds"]],[[23,26,"pl-c1"],[28,41,"pl-v"],[41,42,"pl-k"],[43,54,"pl-s"],[43,44,"pl-pds"],[53,54,"pl-pds"],[67,88,"pl-s"],[67,68,"pl-pds"],[87,88,"pl-pds"]],[],[[0,94,"pl-c"],[0,1,"pl-c"]],[[0,46,"pl-c"],[0,1,"pl-c"]],[[0,108,"pl-c"],[0,1,"pl-c"]],[[0,3,"pl-s"]],[],[],[],[[0,39,"pl-mh"],[3,39,"pl-en"],[3,4,"pl-s"],[4,9,"pl-c1"],[9,10,"pl-s"]],[],[[77,78,"pl-s"],[78,83,"pl-c1"],[83,84,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,40,"pl-c"],[0,1,"pl-c"]],[[23,26,"pl-c1"],[28,41,"pl-v"],[41,42,"pl-k"],[43,56,"pl-s"],[43,44,"pl-pds"],[55,56,"pl-pds"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[23,26,"pl-c1"],[28,41,"pl-v"],[41,42,"pl-k"],[43,56,"pl-s"],[43,44,"pl-pds"],[55,56,"pl-pds"]],[[0,3,"pl-s"]],[],[[0,36,"pl-mh"],[3,36,"pl-en"]],[],[[0,1,"pl-s"],[1,17,"pl-c1"],[17,18,"pl-s"],[21,22,"pl-s"],[22,43,"pl-c1"],[43,44,"pl-s"],[93,94,"pl-s"],[94,103,"pl-c1"],[103,104,"pl-s"]],[[44,45,"pl-s"],[45,55,"pl-c1"],[55,56,"pl-s"]],[],[],[],[[0,1,"pl-v"],[6,7,"pl-s"],[7,18,"pl-c1"],[18,19,"pl-s"]],[[0,1,"pl-v"],[6,7,"pl-s"],[7,17,"pl-c1"],[17,18,"pl-s"],[21,22,"pl-s"],[22,40,"pl-c1"],[40,41,"pl-s"]],[[0,1,"pl-v"],[55,56,"pl-s"],[56,67,"pl-c1"],[67,68,"pl-s"]],[],[[0,3,"pl-s"],[3,9,"pl-en"]],[[0,57,"pl-c"],[0,1,"pl-c"]],[[7,8,"pl-k"]],[],[[0,7,"pl-c"],[0,1,"pl-c"]],[[7,8,"pl-k"],[26,36,"pl-v"],[36,37,"pl-k"],[37,48,"pl-s"],[37,38,"pl-pds"],[47,48,"pl-pds"],[51,98,"pl-c"],[51,52,"pl-c"]],[[0,3,"pl-s"]],[],[[0,48,"pl-mh"],[3,48,"pl-en"]],[],[],[],[[39,40,"pl-s"],[40,72,"pl-c1"],[72,73,"pl-s"]],[],[],[],[[0,18,"pl-mh"],[3,18,"pl-en"]],[],[[0,1,"pl-ml"],[88,89,"pl-ml"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[88,89,"pl-ml"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[88,89,"pl-ml"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,15,"pl-c1"],[15,16,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,113,"pl-c1"],[113,114,"pl-s"],[140,141,"pl-s"],[141,148,"pl-c1"],[148,149,"pl-s"],[152,153,"pl-s"],[153,161,"pl-c1"],[161,162,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,8,"pl-c1"],[8,9,"pl-s"],[12,13,"pl-s"],[13,25,"pl-c1"],[25,26,"pl-s"],[29,30,"pl-s"],[30,35,"pl-c1"],[35,36,"pl-s"],[64,65,"pl-s"],[65,70,"pl-c1"],[70,71,"pl-s"],[88,89,"pl-ml"],[94,95,"pl-s"],[95,115,"pl-c1"],[115,116,"pl-s"],[141,142,"pl-s"],[142,147,"pl-c1"],[147,148,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,16,"pl-c1"],[16,17,"pl-s"],[88,89,"pl-ml"],[99,100,"pl-s"],[100,118,"pl-c1"],[118,119,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,39,"pl-c1"],[39,40,"pl-s"],[46,47,"pl-s"],[47,55,"pl-c1"],[55,56,"pl-s"],[59,60,"pl-s"],[60,65,"pl-c1"],[65,66,"pl-s"],[69,70,"pl-s"],[70,78,"pl-c1"],[78,79,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,113,"pl-c1"],[113,114,"pl-s"],[117,118,"pl-s"],[118,139,"pl-c1"],[139,140,"pl-s"],[143,144,"pl-s"],[144,165,"pl-c1"],[165,166,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[7,8,"pl-s"],[8,26,"pl-c1"],[26,27,"pl-s"],[33,34,"pl-s"],[34,39,"pl-c1"],[39,40,"pl-s"],[43,44,"pl-s"],[44,52,"pl-c1"],[52,53,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,106,"pl-c1"],[106,107,"pl-s"],[110,111,"pl-s"],[111,126,"pl-c1"],[126,127,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,30,"pl-c1"],[30,31,"pl-s"],[33,34,"pl-s"],[34,46,"pl-c1"],[46,47,"pl-s"],[49,50,"pl-s"],[50,59,"pl-c1"],[59,60,"pl-s"],[88,89,"pl-ml"],[98,99,"pl-s"],[99,123,"pl-c1"],[123,124,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,15,"pl-c1"],[15,16,"pl-s"],[19,20,"pl-s"],[20,26,"pl-c1"],[26,27,"pl-s"],[30,31,"pl-s"],[31,37,"pl-c1"],[37,38,"pl-s"],[88,89,"pl-ml"],[102,103,"pl-s"],[103,134,"pl-c1"],[134,135,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,22,"pl-c1"],[22,23,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,122,"pl-c1"],[122,123,"pl-s"],[138,139,"pl-s"],[139,158,"pl-c1"],[158,159,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,26,"pl-c1"],[26,27,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,120,"pl-c1"],[120,121,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,22,"pl-c1"],[22,23,"pl-s"],[26,27,"pl-s"],[27,39,"pl-c1"],[39,40,"pl-s"],[45,46,"pl-s"],[46,77,"pl-c1"],[77,78,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,111,"pl-c1"],[111,112,"pl-s"],[115,116,"pl-s"],[116,121,"pl-c1"],[121,122,"pl-s"],[125,126,"pl-s"],[126,144,"pl-c1"],[144,145,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,30,"pl-c1"],[30,31,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,111,"pl-c1"],[111,112,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,38,"pl-c1"],[38,39,"pl-s"],[88,89,"pl-ml"],[102,103,"pl-s"],[103,121,"pl-c1"],[121,122,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,32,"pl-c1"],[32,33,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,105,"pl-c1"],[105,106,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,24,"pl-c1"],[24,25,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,119,"pl-c1"],[119,120,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[40,41,"pl-s"],[41,56,"pl-c1"],[56,57,"pl-s"],[60,61,"pl-s"],[61,74,"pl-c1"],[74,75,"pl-s"],[88,89,"pl-ml"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,8,"pl-c1"],[8,9,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,100,"pl-c1"],[100,101,"pl-s"],[131,132,"pl-s"],[132,135,"pl-c1"],[135,136,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,21,"pl-c1"],[21,22,"pl-s"],[88,89,"pl-ml"],[95,96,"pl-s"],[96,107,"pl-c1"],[107,108,"pl-s"],[116,117,"pl-s"],[117,127,"pl-c1"],[127,128,"pl-s"],[172,173,"pl-ml"]],[[0,1,"pl-ml"],[2,3,"pl-s"],[3,31,"pl-c1"],[31,32,"pl-s"],[88,89,"pl-ml"],[90,91,"pl-s"],[91,113,"pl-c1"],[113,114,"pl-s"],[172,173,"pl-ml"]]],"colorizedLines":null}},"title":"anthropic-sdk-python/MIGRATION.md at main · A3IO/anthropic-sdk-python","appPayload":{},"meta":{"title":"anthropic-sdk-python/MIGRATION.md at main · A3IO/anthropic-sdk-python"}}</script>
  <div data-target="react-app.reactRoot"><meta name="github-code-view-meta-stats" id="github-code-view-meta-stats" data-hydrostats="publish"/> <!-- --> <a hidden="" id="code-view-repo-link" href="/A3IO/anthropic-sdk-python" data-discover="true"></a> <div class="d-none"></div><div><div style="--spacing:var(--spacing-none)" class="prc-PageLayout-PageLayoutRoot--KH-d" data-component="SplitPageLayout" data-has-sidebar="true"><div class="prc-PageLayout-SidebarWrapper-kLG4B CopilotSidePanelSidebar-module__SidePanel__L3O0C CopilotSidePanelSidebar-module__HiddenSidePanel__TBRGn" style="--spacing-column:var(--spacing-none)" data-is-hidden="false" data-position="end" data-sticky="true" data-responsive-variant="fullscreen"><div class="prc-PageLayout-VerticalDivider-9QRmK prc-PageLayout-SidebarVerticalDivider-0Rl0V" data-component="PageLayout.VerticalDivider" data-variant="line" data-position="end" style="--spacing:var(--spacing-none)"><div class="prc-PageLayout-DraggableHandle-9s6B4" data-component="PageLayout.DragHandle" role="slider" aria-label="Draggable pane splitter" aria-valuemin="450" aria-valuemax="768" aria-valuenow="544" aria-valuetext="Pane width 544 pixels" tabindex="0"></div></div><div class="prc-PageLayout-Sidebar-iciWg" data-component="SplitPageLayout.Sidebar" data-resizable="true" style="--spacing:var(--spacing-normal);--pane-min-width:450px;--pane-max-width:768px;--pane-width-custom:544px;--pane-width-size:var(--pane-width-custom);--pane-width:544px"><div class="height-full" data-testid="copilot-code-view-side-panel"><div id="copilot-side-panel-content" class="height-full"></div></div></div></div><div class="prc-PageLayout-PageLayoutWrapper-2BhU2" data-width="full"><div class="prc-PageLayout-PageLayoutContent-BneH9"><div id="repos-file-tree-sidebar" class="CodeViewFileTreeLayout-module__sidebar__n_Aau" tabindex="0"><div class="prc-PageLayout-PaneWrapper-pHPop ReposFileTreePane-module__Pane__rBZpI ReposFileTreePane-module__HideTree__AYZnm ReposFileTreePane-module__HidePane__VHAVt" style="--offset-header:0px;--spacing-row:var(--spacing-none);--spacing-column:var(--spacing-none)" data-is-hidden="false" data-position="start" data-sticky="true"><div class="prc-PageLayout-HorizontalDivider-JLVqp prc-PageLayout-PaneHorizontalDivider-9tbnE" data-component="PageLayout.HorizontalDivider" data-variant-regular="none" data-variant-narrow="none" data-position="start" style="--spacing-divider:var(--spacing-none);--spacing:var(--spacing-none)"></div><div class="prc-PageLayout-Pane-AyzHK" data-component="SplitPageLayout.Pane" data-resizable="true" style="--spacing:var(--spacing-none);--pane-min-width:256px;--pane-max-width:calc(100vw - var(--pane-max-width-diff));--pane-width-size:var(--pane-width-large);--pane-width:320px"></div><div class="prc-PageLayout-VerticalDivider-9QRmK prc-PageLayout-PaneVerticalDivider-le57g" data-component="PageLayout.VerticalDivider" data-variant-narrow="none" data-variant-regular="line" data-variant-wide="line" data-position="start" style="--spacing:var(--spacing-none)"><div class="prc-PageLayout-DraggableHandle-9s6B4" data-component="PageLayout.DragHandle" role="slider" aria-label="Draggable pane splitter" aria-valuemin="256" aria-valuemax="600" aria-valuenow="320" aria-valuetext="Pane width 320 pixels" tabindex="0"></div></div></div></div><div data-component="SplitPageLayout.Content" class="prc-PageLayout-ContentWrapper-gR9eG"><div class="prc-PageLayout-Content-xWL-A" data-width="full" style="--spacing:var(--spacing-none)"><div class="SharedPageLayout-module__content__IwGAp" data-selector="repos-split-pane-content" id="repos-split-pane-content" tabindex="0"> <!-- --> <div class="container CodeViewHeader-module__Box__JkPOb"><div class="CodeViewHeader-module__StickyHeader__Qn7UN" id="StickyHeader"><div class="CodeViewHeader-module__Box_1__SbNDV"><div class="CodeViewHeader-module__Box_2__TB46f"><div class="react-code-view-header-wrap--narrow CodeViewHeader-module__Box_3__q1zUL"><div class="CodeViewHeader-module__treeToggleWrapper__RQ__9"><h2 class="use-tree-pane-module__Heading__s4QbZ prc-Heading-Heading-MtWFE" data-component="Heading"><button data-component="Button" type="button" aria-label="Expand file tree" data-testid="expand-file-tree-button-mobile" class="prc-Button-ButtonBase-9n-Xk ExpandFileTreeButton-module__Button_1__Svs95" data-loading="false" data-size="medium" data-variant="invisible"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="leadingVisual" class="prc-Button-Visual-YNt2F prc-Button-LeadingVisual-UySKu prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-arrow-left" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z"></path></svg></span><span data-component="text" class="prc-Button-Label-FWkx3">Files</span></span></button><button data-component="IconButton" type="button" data-testid="expand-file-tree-button" aria-controls="repos-file-tree" class="prc-Button-ButtonBase-9n-Xk position-relative ExpandFileTreeButton-module__expandButton__hDOcv ExpandFileTreeButton-module__filesButtonBreakpoint__zEvz3 fgColor-muted prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-labelledby="_R_4lla9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-sidebar-collapse" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M6.823 7.823a.25.25 0 0 1 0 .354l-2.396 2.396A.25.25 0 0 1 4 10.396V5.604a.25.25 0 0 1 .427-.177Z"></path><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25H9.5v-13H1.75a.25.25 0 0 0-.25.25ZM11 14.5h3.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="se" data-component="Tooltip" aria-hidden="true" id="_R_4lla9lik5_">Expand file tree</span><div class="d-none"></div></h2></div><div class="react-code-view-header-mb--narrow mr-2"><button data-component="Button" type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-label="main branch" data-testid="anchor-button" data-icv-name="Switch branches/tags" class="prc-Button-ButtonBase-9n-Xk ref-selector-class RefSelectorAnchoredOverlay-module__RefSelectorOverlayBtn__a3WK3" data-loading="false" data-size="medium" data-variant="default" id="ref-picker-repos-header-ref-selector-wide"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="leadingVisual" class="prc-Button-Visual-YNt2F prc-Button-LeadingVisual-UySKu prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></span><span data-component="text" class="prc-Button-Label-FWkx3"><div class="RefSelectorAnchoredOverlay-module__RefSelectorOverlayContainer__yaf4p"><div style="max-width:125px" class="ref-selector-button-text-container RefSelectorAnchoredOverlay-module__RefSelectorBtnTextContainer__Di3rk"><span class="RefSelectorAnchoredOverlay-module__RefSelectorText__w_fmP">main</span></div></div></span><span data-component="trailingVisual" class="prc-Button-Visual-YNt2F prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></span></button><div class="d-none"></div></div><div class="react-code-view-header-mb--narrow CodeViewHeader-module__Box_5__MQ0hL"><div class="Breadcrumb-module__container__Vxvev Breadcrumb-module__lg__Rjz0A"><nav data-testid="breadcrumbs" aria-labelledby="repos-header-breadcrumb-heading" id="repos-header-breadcrumb" class="Breadcrumb-module__nav__rQFDj"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone__rwWIk prc-Heading-Heading-MtWFE" data-component="Heading" data-testid="screen-reader-heading" id="repos-header-breadcrumb-heading">Breadcrumbs</h2><ol class="Breadcrumb-module__list__ZH6zr"><li class="Breadcrumb-module__listItem__Ib0x_"><a class="Breadcrumb-module__repoLink__O2Nbs prc-Link-Link-9ZwDx" data-component="Link" data-testid="breadcrumbs-repo-link" href="/A3IO/anthropic-sdk-python/tree/main" data-discover="true">anthropic-sdk-python</a></li></ol></nav><div data-testid="breadcrumbs-filename" class="Breadcrumb-module__filename__equZR"><span class="Breadcrumb-module__separator__eNwsI Breadcrumb-module__lg__Rjz0A" aria-hidden="true">/</span><h1 class="Breadcrumb-module__filenameHeading__MNMtw Breadcrumb-module__lg__Rjz0A prc-Heading-Heading-MtWFE" data-component="Heading" tabindex="-1" id="file-name-id">MIGRATION.md</h1></div><button data-component="IconButton" type="button" class="prc-Button-ButtonBase-9n-Xk ml-2 prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="small" data-variant="invisible" aria-labelledby="_R_7lla9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-copy" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path></svg></button><span class="CopyToClipboardIconButton-module__tooltip__WyiwL prc-TooltipV2-Tooltip-tLeuB" data-direction="nw" data-component="Tooltip" aria-label="Copy path" aria-hidden="true" id="_R_7lla9lik5_">Copy path</span></div></div></div><div class="react-code-view-header-element--wide"><div class="CodeViewHeader-module__Box_7___0R6c"><div class="d-flex gap-2"><div><div class="CodeViewHeader-module__FileResultsList__JDzUy"><span class="d-flex FileResultsList-module__FilesSearchBox__ivVkc TextInput-wrapper prc-components-TextInputWrapper-Hpdqi prc-components-TextInputBaseWrapper-wY-n0" data-no-trailing-action="true" data-component="TextInput" data-leading-visual="true" data-trailing-visual="true" aria-busy="false"><span class="TextInput-icon" id="_R_1cpla9lik5_" aria-hidden="true" data-component="TextInput.LeadingVisual"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-search" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path></svg></span><input type="text" aria-label="Go to file" role="combobox" aria-controls="file-results-list" aria-expanded="false" aria-haspopup="dialog" autoCorrect="off" spellCheck="false" placeholder="Go to file" aria-describedby="_R_1cpla9lik5_ _R_1cpla9lik5H1_" data-component="input" class="prc-components-Input-IwWrt" value=""/><span class="TextInput-icon" id="_R_1cpla9lik5H1_" aria-hidden="true" data-component="TextInput.TrailingVisual"></span></span></div><div class="d-none"></div></div><button data-component="Button" type="button" style="display:none" class="prc-Button-ButtonBase-9n-Xk NavigationMenu-module__Button__LpKgm" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="text" class="prc-Button-Label-FWkx3">Blame</span></span></button><div class="d-none"></div><button data-component="IconButton" type="button" data-testid="more-file-actions-button-nav-menu-wide" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-9n-Xk js-blob-dropdown-click NavigationMenu-module__IconButton__HpX3G prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-labelledby="_R_7p9la9lik5_" id="_R_99la9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-kebab-horizontal" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="nw" data-component="Tooltip" aria-hidden="true" id="_R_7p9la9lik5_">More file actions</span></div></div></div><div class="react-code-view-header-element--narrow"><div class="CodeViewHeader-module__Box_7___0R6c"><div class="d-flex gap-2"><button data-component="Button" type="button" style="display:none" class="prc-Button-ButtonBase-9n-Xk NavigationMenu-module__Button__LpKgm" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="text" class="prc-Button-Label-FWkx3">Blame</span></span></button><div class="d-none"></div><button data-component="IconButton" type="button" data-testid="more-file-actions-button-nav-menu-narrow" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-9n-Xk js-blob-dropdown-click NavigationMenu-module__IconButton__HpX3G prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-labelledby="_R_7pdla9lik5_" id="_R_9dla9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-kebab-horizontal" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="nw" data-component="Tooltip" aria-hidden="true" id="_R_7pdla9lik5_">More file actions</span></div></div></div></div></div></div></div><div class="CodeView-module__contentWrapper__cG2JH"><div class="react-code-view-bottom-padding"><div class="BlobTopBanners-module__Box__v_nvx"></div></div> <div class="d-none"></div><div class="d-flex flex-column border rounded-2 tmp-mb-3 pl-1"><div class="LatestCommit-module__Box__B25ZT"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone__rwWIk prc-Heading-Heading-MtWFE" data-component="Heading" data-testid="screen-reader-heading">Latest commit</h2><div style="width:120px" class="Skeleton Skeleton--text" data-testid="loading"> </div><div class="d-flex flex-shrink-0 gap-2"><div data-testid="latest-commit-details" class="d-none d-sm-flex flex-items-center"></div><div class="d-flex gap-2"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone__rwWIk prc-Heading-Heading-MtWFE" data-component="Heading" data-testid="screen-reader-heading">History</h2><a data-component="LinkButton" href="/A3IO/anthropic-sdk-python/commits/main/MIGRATION.md" class="prc-Button-ButtonBase-9n-Xk d-none d-lg-flex LinkButton-module__linkButton__nFnov flex-items-center fgColor-default" data-loading="false" data-size="small" data-variant="invisible"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="leadingVisual" class="prc-Button-Visual-YNt2F prc-Button-LeadingVisual-UySKu prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-history" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path></svg></span><span data-component="text" class="prc-Button-Label-FWkx3"><span class="fgColor-default">History</span></span></span></a><div class="d-sm-none"></div><div class="d-flex d-lg-none"><a data-component="LinkButton" aria-label="View commit history for this file." href="/A3IO/anthropic-sdk-python/commits/main/MIGRATION.md" class="prc-Button-ButtonBase-9n-Xk LinkButton-module__linkButton__nFnov flex-items-center fgColor-default" data-loading="false" data-size="small" data-variant="invisible" aria-describedby="_R_4mlala9lik5_"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="leadingVisual" class="prc-Button-Visual-YNt2F prc-Button-LeadingVisual-UySKu prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-history" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path></svg></span></span></a><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="s" data-component="Tooltip" role="tooltip" aria-hidden="true" id="_R_4mlala9lik5_">History</span></div></div></div></div></div><div class="d-flex flex-row"><div class="container BlobViewContent-module__blobContainer__DtH2d"><div class="react-code-size-details-banner BlobViewContent-module__codeSizeDetails__e5sUw"><div class="react-code-size-details-banner CodeSizeDetails-module__Box__VcD6l"><div class="text-mono CodeSizeDetails-module__Box_1__GVxQL"><div data-testid="blob-size" class="CodeSizeDetails-module__Truncate_1__lE93V prc-Truncate-Truncate-2G1eo" data-inline="true" title="24 KB" style="--truncate-max-width:100%"><span>424 lines (321 loc) · 24 KB</span></div></div></div></div><div class="react-blob-view-header-sticky BlobViewContent-module__stickyHeader__VwxB5" id="repos-sticky-header"><div class="BlobViewHeader-module__Box__yhm9u"><div class="react-blob-sticky-header"><div class="FileNameStickyHeader-module__outerWrapper__ZL4Xc FileNameStickyHeader-module__outerWrapperHidden__Zpynk"><div class="FileNameStickyHeader-module__Box_1__Hazu5"><div class="FileNameStickyHeader-module__Box_2__hoolP"><div class="FileNameStickyHeader-module__Box_3__MVKsk"><button data-component="Button" type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-label="main branch" data-testid="anchor-button" data-icv-name="Switch branches/tags" class="prc-Button-ButtonBase-9n-Xk ref-selector-class RefSelectorAnchoredOverlay-module__RefSelectorOverlayBtn__a3WK3" data-loading="false" data-size="medium" data-variant="default" id="ref-picker-repos-header-ref-selector"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="leadingVisual" class="prc-Button-Visual-YNt2F prc-Button-LeadingVisual-UySKu prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></span><span data-component="text" class="prc-Button-Label-FWkx3"><div class="RefSelectorAnchoredOverlay-module__RefSelectorOverlayContainer__yaf4p"><div style="max-width:125px" class="ref-selector-button-text-container RefSelectorAnchoredOverlay-module__RefSelectorBtnTextContainer__Di3rk"><span class="RefSelectorAnchoredOverlay-module__RefSelectorText__w_fmP">main</span></div></div></span><span data-component="trailingVisual" class="prc-Button-Visual-YNt2F prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></span></button><div class="d-none"></div></div><div class="FileNameStickyHeader-module__Box_4__FLhtt"><div class="Breadcrumb-module__container__Vxvev Breadcrumb-module__md__Wb1Gs"><nav data-testid="breadcrumbs" aria-labelledby="sticky-breadcrumb-heading" id="sticky-breadcrumb" class="Breadcrumb-module__nav__rQFDj"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone__rwWIk prc-Heading-Heading-MtWFE" data-component="Heading" data-testid="screen-reader-heading" id="sticky-breadcrumb-heading">Breadcrumbs</h2><ol class="Breadcrumb-module__list__ZH6zr"><li class="Breadcrumb-module__listItem__Ib0x_"><a class="Breadcrumb-module__repoLink__O2Nbs prc-Link-Link-9ZwDx" data-component="Link" data-testid="breadcrumbs-repo-link" href="/A3IO/anthropic-sdk-python/tree/main" data-discover="true">anthropic-sdk-python</a></li></ol></nav><div data-testid="breadcrumbs-filename" class="Breadcrumb-module__filename__equZR"><span class="Breadcrumb-module__separator__eNwsI Breadcrumb-module__md__Wb1Gs" aria-hidden="true">/</span><h1 class="Breadcrumb-module__filenameHeading__MNMtw Breadcrumb-module__md__Wb1Gs prc-Heading-Heading-MtWFE" data-component="Heading" tabindex="-1" id="sticky-file-name-id">MIGRATION.md</h1></div><button data-component="IconButton" type="button" class="prc-Button-ButtonBase-9n-Xk ml-2 prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="small" data-variant="invisible" aria-labelledby="_R_7lcpala9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-copy" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path></svg></button><span class="CopyToClipboardIconButton-module__tooltip__WyiwL prc-TooltipV2-Tooltip-tLeuB" data-direction="s" data-component="Tooltip" aria-label="Copy path" aria-hidden="true" id="_R_7lcpala9lik5_">Copy path</span></div></div></div><button data-component="Button" type="button" class="prc-Button-ButtonBase-9n-Xk FileNameStickyHeader-module__Button__LSEU_ FileNameStickyHeader-module__GoToTopButton__nxAFn" data-loading="false" data-size="small" data-variant="invisible"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="leadingVisual" class="prc-Button-Visual-YNt2F prc-Button-LeadingVisual-UySKu prc-Button-VisualWrap-E4cnq"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-arrow-up" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M3.47 7.78a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0l4.25 4.25a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018L9 4.81v7.44a.75.75 0 0 1-1.5 0V4.81L4.53 7.78a.75.75 0 0 1-1.06 0Z"></path></svg></span><span data-component="text" class="prc-Button-Label-FWkx3">Top</span></span></button></div></div></div><div class="BlobViewHeader-module__Box_1__VEmuQ"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone__rwWIk prc-Heading-Heading-MtWFE" data-component="Heading" data-testid="screen-reader-heading">File metadata and controls</h2><div class="BlobViewHeader-module__Box_2__icUs2"><ul aria-label="File view" class="prc-SegmentedControl-SegmentedControl-lqIXp BlobTabButtons-module__SegmentedControl__jen2u" data-variant="default" data-size="small" data-component="SegmentedControl"><li class="prc-SegmentedControl-Item-tSCQh" data-selected="" data-component="SegmentedControl.Button"><button aria-pressed="true" class="prc-SegmentedControl-Button-E48xz" type="button" style="--separator-color:transparent"><span class="prc-SegmentedControl-Content-1COlk segmentedControl-content"><div class="prc-SegmentedControl-Text-7S2y2 segmentedControl-text" data-text="Preview">Preview</div></span></button></li><li class="prc-SegmentedControl-Item-tSCQh" data-component="SegmentedControl.Button"><button aria-pressed="false" class="prc-SegmentedControl-Button-E48xz" type="button" style="--separator-color:var(--borderColor-default)"><span class="prc-SegmentedControl-Content-1COlk segmentedControl-content"><div class="prc-SegmentedControl-Text-7S2y2 segmentedControl-text" data-text="Code">Code</div></span></button></li><li class="prc-SegmentedControl-Item-tSCQh" data-component="SegmentedControl.Button"><button aria-pressed="false" class="prc-SegmentedControl-Button-E48xz" type="button" style="--separator-color:var(--borderColor-default)"><span class="prc-SegmentedControl-Content-1COlk segmentedControl-content"><div class="prc-SegmentedControl-Text-7S2y2 segmentedControl-text" data-text="Blame">Blame</div></span></button></li></ul><div class="d-none"></div><div class="react-code-size-details-in-header CodeSizeDetails-module__Box__VcD6l"><div class="text-mono CodeSizeDetails-module__Box_1__GVxQL"><div data-testid="blob-size" class="CodeSizeDetails-module__Truncate_1__lE93V prc-Truncate-Truncate-2G1eo" data-inline="true" title="24 KB" style="--truncate-max-width:100%"><span>424 lines (321 loc) · 24 KB</span></div></div></div></div><div class="BlobViewHeader-module__Box_3__ng6v2"><div class="d-none"></div><div class="react-blob-header-edit-and-raw-actions BlobViewHeader-module__Box_4__J4Y4W"><div class="d-none"></div><div class="prc-ButtonGroup-ButtonGroup-vFUrY" data-component="ButtonGroup"><div class="prc-ButtonGroup-Item-PqvDl"><a data-component="LinkButton" href="https://github.com/A3IO/anthropic-sdk-python/raw/refs/heads/main/MIGRATION.md" data-testid="raw-button" class="prc-Button-ButtonBase-9n-Xk LinkButton-module__linkButton__nFnov BlobViewHeader-module__LinkButton__X9kx2" data-loading="false" data-no-visuals="true" data-size="small" data-variant="default"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-Iohp5"><span data-component="text" class="prc-Button-Label-FWkx3">Raw</span></span></a></div><div class="prc-ButtonGroup-Item-PqvDl"><button data-component="IconButton" type="button" data-testid="copy-raw-button" class="prc-Button-ButtonBase-9n-Xk prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="small" data-variant="default" aria-labelledby="_R_qaucpala9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-copy" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="n" data-component="Tooltip" aria-hidden="true" id="_R_qaucpala9lik5_">Copy raw file</span></div><div class="prc-ButtonGroup-Item-PqvDl"><button data-component="IconButton" type="button" data-testid="download-raw-button" class="prc-Button-ButtonBase-9n-Xk BlobViewHeader-module__downloadButton__ef459 prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="small" data-variant="default" aria-labelledby="_R_eaucpala9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-download" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"></path><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="n" data-component="Tooltip" aria-hidden="true" id="_R_eaucpala9lik5_">Download raw file</span></div></div></div><button data-component="IconButton" type="button" aria-pressed="false" class="prc-Button-ButtonBase-9n-Xk tmp-mr-2 TableOfContents-module__IconButton__jrlNM prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="small" data-variant="invisible" aria-labelledby="_R_3ucpala9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-list-unordered" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M5.75 2.5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5ZM2 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM2 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="n" data-component="Tooltip" aria-hidden="true" id="_R_3ucpala9lik5_">Outline</span><div class="react-blob-header-edit-and-raw-actions-combined"><button data-component="IconButton" type="button" title="More file actions" data-testid="more-file-actions-button" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-9n-Xk js-blob-dropdown-click BlobViewHeader-module__IconButton__XrMQY prc-Button-IconButton-fyge7" data-loading="false" data-no-visuals="true" data-size="small" data-variant="invisible" aria-labelledby="_R_fkecpala9lik5_" id="_R_kecpala9lik5_"><svg data-component="Octicon" aria-hidden="true" focusable="false" class="octicon octicon-kebab-horizontal" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg></button><span class="prc-TooltipV2-Tooltip-tLeuB" data-direction="nw" data-component="Tooltip" aria-hidden="true" id="_R_fkecpala9lik5_">Edit and raw actions</span></div></div></div></div><div></div></div><div class="BlobViewContent-module__blobContentWrapper__JS0W6"><section aria-labelledby="file-name-id-wide file-name-id-mobile" class="BlobContent-module__blobContentSection__VOgZq BlobContent-module__blobContentSectionMarkdown__mPLOK" style="margin-top:46px"><div class="js-snippet-clipboard-copy-unpositioned BlobContent-module__markdownBlob__T8jpG" data-hpc="true" containertiming="hpc"><article class="markdown-body entry-content container-lg" itemprop="text"><div class="markdown-heading" dir="auto"><h1 tabindex="-1" class="heading-element" dir="auto">Migrating to v1</h1><a id="user-content-migrating-to-v1" class="anchor" aria-label="Permalink: Migrating to v1" href="#migrating-to-v1"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<ul dir="auto">
<li><a href="#upgrading">Upgrading</a></li>
<li><a href="#environment-requirements">Environment requirements</a></li>
<li><a href="#the-sdk-is-built-on-httpx2">The SDK is built on <code>httpx2</code></a></li>
<li><a href="#with_raw_response-returns-the-new-response-classes"><code>.with_raw_response</code> returns the new response classes</a></li>
<li><a href="#removed-the-legacy-text-completions-api">Removed: the legacy Text Completions API</a></li>
<li><a href="#removed-deprecated-request-parameters">Removed: deprecated request parameters</a></li>
<li><a href="#removed-deprecated-type-aliases-and-exports">Removed: deprecated type aliases and exports</a></li>
<li><a href="#removed-deprecated-helper-arguments-and-behaviour">Removed: deprecated helper arguments and behaviour</a></li>
<li><a href="#header-names-are-matched-case-insensitively">Header names are matched case-insensitively</a></li>
<li><a href="#bytes-header-values-no-longer-work">bytes header values no longer work</a></li>
<li><a href="#bedrock-a-region-is-now-required">Bedrock: a region is now required</a></li>
<li><a href="#bedrock-unknown-streaming-events-are-skipped">Bedrock: unknown streaming events are skipped</a></li>
<li><a href="#quick-reference">Quick reference</a></li>
</ul>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Upgrading</h2><a id="user-content-upgrading" class="anchor" aria-label="Permalink: Upgrading" href="#upgrading"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pip install --upgrade &quot;anthropic&gt;=1,&lt;2&quot;"><pre>pip install --upgrade <span class="pl-s"><span class="pl-pds">"</span>anthropic&gt;=1,&lt;2<span class="pl-pds">"</span></span></pre></div>
<p dir="auto">If you use Claude Code, the fastest route through the rest of this guide is to let it do the edits:
run <code>/claude-api upgrade python</code> in your project and review the diff.</p>
<p dir="auto">A type checker (<code>pyright</code> / <code>mypy</code>) will flag almost everything below as an error after upgrading, which makes
it a good checklist even if you don't normally run one.</p>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Environment requirements</h2><a id="user-content-environment-requirements" class="anchor" aria-label="Permalink: Environment requirements" href="#environment-requirements"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">The minimum supported Python version has increased from 3.9 to 3.10.</p>
<p dir="auto">Nothing else about your environment needs to change. In particular Pydantic v1 and v2 both remain supported.</p>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">The SDK is built on <code>httpx2</code></h2><a id="user-content-the-sdk-is-built-on-httpx2" class="anchor" aria-label="Permalink: The SDK is built on httpx2" href="#the-sdk-is-built-on-httpx2"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">The SDK's HTTP layer moved from <code>httpx</code>, which is no longer actively maintained, to <a href="https://github.com/pydantic/httpx2"><code>httpx2</code></a> - an API-compatible fork maintained by the Pydantic team.</p>
<p dir="auto"><code>httpx2</code> is a drop-in continuation of <code>httpx</code>, with the same classes, same behaviour, and security fixes included.
This only affects code that hands <code>httpx</code> objects <strong>to</strong> the SDK or inspects the ones it gets <strong>back</strong>.</p>
<p dir="auto">If you only ever pass plain values (<code>timeout=30.0</code>, <code>max_retries=3</code>, …) there is <em>likely</em> nothing for you to do.
The exception is tooling that hooks <code>httpx</code> itself rather than your code — tracing / APM instrumentation and HTTP
mocking libraries. Those keep working but silently stop seeing the SDK's requests until you point them at <code>httpx2</code>;
see <a href="#tracing-instrumentation-and-mocking-libraries">Tracing, instrumentation and mocking libraries</a> below.</p>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Custom HTTP clients, transports, timeouts and limits</h3><a id="user-content-custom-http-clients-transports-timeouts-and-limits" class="anchor" aria-label="Permalink: Custom HTTP clients, transports, timeouts and limits" href="#custom-http-clients-transports-timeouts-and-limits"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">Anything you construct from <code>httpx</code> and pass to the client must now come from <code>httpx2</code>. The simplest edit is
to alias the import; the SDK's own re-exports (<code>anthropic.Timeout</code>, <code>anthropic.DefaultHttpxClient</code>,
<code>anthropic.DefaultAsyncHttpxClient</code>, <code>anthropic.DefaultAioHttpClient</code>) already point at <code>httpx2</code> and keep working
unchanged.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
import httpx
from anthropic import Anthropic, DefaultHttpxClient

client = Anthropic(
    timeout=httpx.Timeout(60.0, connect=5.0),
    http_client=DefaultHttpxClient(
        proxy=&quot;http://my.proxy.example&quot;,
        transport=httpx.HTTPTransport(local_address=&quot;0.0.0.0&quot;),
    ),
)

# After
import httpx2 as httpx  # or `import httpx2` and rename the references
from anthropic import Anthropic, DefaultHttpxClient

client = Anthropic(
    timeout=httpx.Timeout(60.0, connect=5.0),
    http_client=DefaultHttpxClient(
        proxy=&quot;http://my.proxy.example&quot;,
        transport=httpx.HTTPTransport(local_address=&quot;0.0.0.0&quot;),
    ),
)"><pre><span class="pl-c"># Before</span>
<span class="pl-k">import</span> <span class="pl-s1">httpx</span>
<span class="pl-k">from</span> <span class="pl-s1">anthropic</span> <span class="pl-k">import</span> <span class="pl-v">Anthropic</span>, <span class="pl-v">DefaultHttpxClient</span>

<span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-en">Anthropic</span>(
    <span class="pl-s1">timeout</span><span class="pl-c1">=</span><span class="pl-s1">httpx</span>.<span class="pl-c1">Timeout</span>(<span class="pl-c1">60.0</span>, <span class="pl-s1">connect</span><span class="pl-c1">=</span><span class="pl-c1">5.0</span>),
    <span class="pl-s1">http_client</span><span class="pl-c1">=</span><span class="pl-en">DefaultHttpxClient</span>(
        <span class="pl-s1">proxy</span><span class="pl-c1">=</span><span class="pl-s">"http://my.proxy.example"</span>,
        <span class="pl-s1">transport</span><span class="pl-c1">=</span><span class="pl-s1">httpx</span>.<span class="pl-c1">HTTPTransport</span>(<span class="pl-s1">local_address</span><span class="pl-c1">=</span><span class="pl-s">"0.0.0.0"</span>),
    ),
)

<span class="pl-c"># After</span>
<span class="pl-k">import</span> <span class="pl-s1">httpx2</span> <span class="pl-k">as</span> <span class="pl-s1">httpx</span>  <span class="pl-c"># or `import httpx2` and rename the references</span>
<span class="pl-k">from</span> <span class="pl-s1">anthropic</span> <span class="pl-k">import</span> <span class="pl-v">Anthropic</span>, <span class="pl-v">DefaultHttpxClient</span>

<span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-en">Anthropic</span>(
    <span class="pl-s1">timeout</span><span class="pl-c1">=</span><span class="pl-s1">httpx</span>.<span class="pl-c1">Timeout</span>(<span class="pl-c1">60.0</span>, <span class="pl-s1">connect</span><span class="pl-c1">=</span><span class="pl-c1">5.0</span>),
    <span class="pl-s1">http_client</span><span class="pl-c1">=</span><span class="pl-en">DefaultHttpxClient</span>(
        <span class="pl-s1">proxy</span><span class="pl-c1">=</span><span class="pl-s">"http://my.proxy.example"</span>,
        <span class="pl-s1">transport</span><span class="pl-c1">=</span><span class="pl-s1">httpx</span>.<span class="pl-c1">HTTPTransport</span>(<span class="pl-s1">local_address</span><span class="pl-c1">=</span><span class="pl-s">"0.0.0.0"</span>),
    ),
)</pre></div>
<p dir="auto">Passing an <code>httpx.Client</code> / <code>httpx.AsyncClient</code> (from the old package) as <code>http_client=</code> raises a <code>TypeError</code>
at construction time, so this cannot fail silently.</p>
<p dir="auto">If you would rather not edit imports — or other code in your application still imports <code>httpx</code> and has to
share clients, transports or exception types with the SDK — call <code>httpx2.alias_httpx()</code> once at start-up instead.
It makes <code>import httpx</code> (and <code>import httpcore</code>) resolve to <code>httpx2</code> (and <code>httpcore2</code>) for the whole process. It has
to run before anything imports <code>httpx</code> (it raises a <code>RuntimeError</code> otherwise), and it is meant for applications:
a library should never call it on behalf of its users.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# the very first lines of your entry point
import httpx2

httpx2.alias_httpx()

import httpx  # this is now the httpx2 module

assert httpx.Client is httpx2.Client"><pre><span class="pl-c"># the very first lines of your entry point</span>
<span class="pl-k">import</span> <span class="pl-s1">httpx2</span>

<span class="pl-s1">httpx2</span>.<span class="pl-c1">alias_httpx</span>()

<span class="pl-k">import</span> <span class="pl-s1">httpx</span>  <span class="pl-c"># this is now the httpx2 module</span>

<span class="pl-k">assert</span> <span class="pl-s1">httpx</span>.<span class="pl-c1">Client</span> <span class="pl-c1">is</span> <span class="pl-s1">httpx2</span>.<span class="pl-c1">Client</span></pre></div>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Response and error objects</h3><a id="user-content-response-and-error-objects" class="anchor" aria-label="Permalink: Response and error objects" href="#response-and-error-objects"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">The objects the SDK returns are now <code>httpx2</code> types: <code>APIStatusError.response</code>, <code>APIConnectionError.request</code>,
<code>response.http_response</code> / <code>.headers</code> / <code>.url</code> on raw responses, and the <code>response=</code> argument your custom
<code>http_client</code> event hooks receive. They have exactly the same attributes as before; only <code>isinstance</code> checks and
type annotations that name <code>httpx.Response</code> / <code>httpx.Request</code> / <code>httpx.Headers</code> need to switch to <code>httpx2</code>.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
def log_failure(err: anthropic.APIStatusError) -&gt; None:
    response: httpx.Response = err.response
    print(response.status_code, response.headers.get(&quot;request-id&quot;))


# After
def log_failure(err: anthropic.APIStatusError) -&gt; None:
    response: httpx2.Response = err.response
    print(response.status_code, response.headers.get(&quot;request-id&quot;))"><pre><span class="pl-c"># Before</span>
<span class="pl-k">def</span> <span class="pl-en">log_failure</span>(<span class="pl-s1">err</span>: <span class="pl-s1">anthropic</span>.<span class="pl-c1">APIStatusError</span>) <span class="pl-c1">-&gt;</span> <span class="pl-c1">None</span>:
    <span class="pl-s1">response</span>: <span class="pl-s1">httpx</span>.<span class="pl-c1">Response</span> <span class="pl-c1">=</span> <span class="pl-s1">err</span>.<span class="pl-c1">response</span>
    <span class="pl-en">print</span>(<span class="pl-s1">response</span>.<span class="pl-c1">status_code</span>, <span class="pl-s1">response</span>.<span class="pl-c1">headers</span>.<span class="pl-c1">get</span>(<span class="pl-s">"request-id"</span>))


<span class="pl-c"># After</span>
<span class="pl-k">def</span> <span class="pl-en">log_failure</span>(<span class="pl-s1">err</span>: <span class="pl-s1">anthropic</span>.<span class="pl-c1">APIStatusError</span>) <span class="pl-c1">-&gt;</span> <span class="pl-c1">None</span>:
    <span class="pl-s1">response</span>: <span class="pl-s1">httpx2</span>.<span class="pl-c1">Response</span> <span class="pl-c1">=</span> <span class="pl-s1">err</span>.<span class="pl-c1">response</span>
    <span class="pl-en">print</span>(<span class="pl-s1">response</span>.<span class="pl-c1">status_code</span>, <span class="pl-s1">response</span>.<span class="pl-c1">headers</span>.<span class="pl-c1">get</span>(<span class="pl-s">"request-id"</span>))</pre></div>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto"><code>aiohttp</code> support</h3><a id="user-content-aiohttp-support" class="anchor" aria-label="Permalink: aiohttp support" href="#aiohttp-support"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto"><code>pip install anthropic[aiohttp]</code> and <code>http_client=DefaultAioHttpClient()</code> work as they did before.
However the <code>aiohttp</code> extra no longer installs the <code>httpx_aiohttp</code> package as it now ships inside the SDK.</p>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Tracing, instrumentation and mocking libraries</h3><a id="user-content-tracing-instrumentation-and-mocking-libraries" class="anchor" aria-label="Permalink: Tracing, instrumentation and mocking libraries" href="#tracing-instrumentation-and-mocking-libraries"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">Libraries that observe or stub HTTP traffic by patching <code>httpx</code> — for example OpenTelemetry's
<code>HTTPXClientInstrumentor</code>, Sentry's <code>httpx</code> integration, <a href="https://lundberg.github.io/respx/" rel="nofollow"><code>respx</code></a>,
<code>pytest-httpx</code> or <code>vcrpy</code> — patch the <code>httpx</code> package, which the SDK no longer uses. These libraries can silently
fail, making it difficult to identify failure points. You can holistically fix this by running <code>httpx2.alias_httpx()</code>
before anything else imports <code>httpx</code>.</p>
<p dir="auto">In an application, call it at the top of your entry point as shown above. Under pytest, an early plugin is the
least intrusive way to run it before <code>respx</code> / <code>pytest-httpx</code> and your test modules are imported:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# tests/_alias_httpx.py
import httpx2

httpx2.alias_httpx()  # makes `import httpx` / `import httpcore` resolve to httpx2 / httpcore2"><pre><span class="pl-c"># tests/_alias_httpx.py</span>
<span class="pl-k">import</span> <span class="pl-s1">httpx2</span>

<span class="pl-s1">httpx2</span>.<span class="pl-c1">alias_httpx</span>()  <span class="pl-c"># makes `import httpx` / `import httpcore` resolve to httpx2 / httpcore2</span></pre></div>
<div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# pyproject.toml
[tool.pytest.ini_options]
addopts = &quot;-p tests._alias_httpx&quot;
pythonpath = [&quot;.&quot;]"><pre><span class="pl-c"><span class="pl-c">#</span> pyproject.toml</span>
[<span class="pl-en">tool</span>.<span class="pl-en">pytest</span>.<span class="pl-en">ini_options</span>]
<span class="pl-smi">addopts</span> = <span class="pl-s"><span class="pl-pds">"</span>-p tests._alias_httpx<span class="pl-pds">"</span></span>
<span class="pl-smi">pythonpath</span> = [<span class="pl-s"><span class="pl-pds">"</span>.<span class="pl-pds">"</span></span>]</pre></div>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Removed old <code>httpx</code> re-exports</h3><a id="user-content-removed-old-httpx-re-exports" class="anchor" aria-label="Permalink: Removed old httpx re-exports" href="#removed-old-httpx-re-exports"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">The top-level <code>anthropic.Transport</code> and <code>anthropic.ProxiesTypes</code> exports were unused aliases of <code>httpx</code> types and
are gone. Use <code>httpx2.BaseTransport</code>, <code>httpx2.AsyncBaseTransport</code> and <code>httpx2.Proxy</code> (or a proxy URL string) directly.</p>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto"><code>.with_raw_response</code> returns the new response classes</h2><a id="user-content-with_raw_response-returns-the-new-response-classes" class="anchor" aria-label="Permalink: .with_raw_response returns the new response classes" href="#with_raw_response-returns-the-new-response-classes"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto"><code>.with_raw_response</code> used to return a <code>LegacyAPIResponse</code> class for both the sync and the async client. It now returns
the same <code>APIResponse</code> / <code>AsyncAPIResponse</code> classes that <code>.with_streaming_response</code> already used. Two things change:</p>
<p dir="auto"><strong>On the async client, reading the response is now async.</strong> <code>parse()</code>, <code>read()</code>, <code>text()</code> and <code>json()</code> are
coroutines on <code>AsyncAPIResponse</code>.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
response = await client.messages.with_raw_response.create(...)
print(response.headers[&quot;request-id&quot;])
message = response.parse()

# After
response = await client.messages.with_raw_response.create(...)
print(response.headers[&quot;request-id&quot;])  # metadata is still plain attribute access
message = await response.parse()"><pre><span class="pl-c"># Before</span>
<span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">with_raw_response</span>.<span class="pl-c1">create</span>(...)
<span class="pl-en">print</span>(<span class="pl-s1">response</span>.<span class="pl-c1">headers</span>[<span class="pl-s">"request-id"</span>])
<span class="pl-s1">message</span> <span class="pl-c1">=</span> <span class="pl-s1">response</span>.<span class="pl-c1">parse</span>()

<span class="pl-c"># After</span>
<span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">with_raw_response</span>.<span class="pl-c1">create</span>(...)
<span class="pl-en">print</span>(<span class="pl-s1">response</span>.<span class="pl-c1">headers</span>[<span class="pl-s">"request-id"</span>])  <span class="pl-c"># metadata is still plain attribute access</span>
<span class="pl-s1">message</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">response</span>.<span class="pl-c1">parse</span>()</pre></div>
<p dir="auto"><strong><code>.text</code> and <code>.content</code> became methods.</strong> This applies to the sync client too. The new classes also expose
<code>json()</code> and the <code>iter_bytes()</code> / <code>iter_text()</code> / <code>iter_lines()</code> iterators directly, which previously meant
reaching for the underlying <code>response.http_response</code>.</p>
<markdown-accessiblity-table><table>
<thead>
<tr>
<th><code>LegacyAPIResponse</code> (before)</th>
<th><code>APIResponse</code> (sync, after)</th>
<th><code>AsyncAPIResponse</code> (async, after)</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>response.parse()</code></td>
<td><code>response.parse()</code></td>
<td><code>await response.parse()</code></td>
</tr>
<tr>
<td><code>response.text</code></td>
<td><code>response.text()</code></td>
<td><code>await response.text()</code></td>
</tr>
<tr>
<td><code>response.content</code></td>
<td><code>response.read()</code></td>
<td><code>await response.read()</code></td>
</tr>
<tr>
<td>— (only <code>response.http_response.json()</code>)</td>
<td><code>response.json()</code></td>
<td><code>await response.json()</code></td>
</tr>
<tr>
<td>— (only <code>response.http_response.iter_bytes()</code> …)</td>
<td><code>response.iter_bytes()</code> / <code>.iter_text()</code> / <code>.iter_lines()</code></td>
<td><code>async for chunk in response.iter_bytes():</code> …</td>
</tr>
<tr>
<td><code>.headers</code>, <code>.status_code</code>, <code>.url</code>, <code>.request_id</code>, <code>.retries_taken</code>, <code>.http_response</code>, <code>.elapsed</code></td>
<td>unchanged</td>
<td>unchanged</td>
</tr>
</tbody>
</table></markdown-accessiblity-table>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Removed: the legacy Text Completions API</h2><a id="user-content-removed-the-legacy-text-completions-api" class="anchor" aria-label="Permalink: Removed: the legacy Text Completions API" href="#removed-the-legacy-text-completions-api"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto"><code>client.completions.create()</code> (the <code>/v1/complete</code> endpoint), its types (<code>Completion</code>,
<code>CompletionCreateParams</code>) and the <code>anthropic.HUMAN_PROMPT</code> / <code>anthropic.AI_PROMPT</code> prompt constants have been
removed. Every current model is served through the Messages API, which has been the recommended interface since
2023 — see <a href="https://platform.claude.com/docs/en/build-with-claude/working-with-messages" rel="nofollow">Using the Messages API</a>
if you still have code calling the legacy endpoint.</p>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Removed: deprecated request parameters</h2><a id="user-content-removed-deprecated-request-parameters" class="anchor" aria-label="Permalink: Removed: deprecated request parameters" href="#removed-deprecated-request-parameters"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">These parameters were deprecated by the API and are no longer accepted by the generated methods (passing them is
a <code>TypeError</code>, and a type checker flags it). They are also gone from the per-request <code>params</code> of
<code>messages.batches.create()</code>, where a type checker flags the key but the SDK still forwards it at runtime:</p>
<markdown-accessiblity-table><table>
<thead>
<tr>
<th>Method(s)</th>
<th>Removed parameter</th>
<th>Use instead</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>messages.create()</code>, <code>messages.stream()</code>, <code>messages.parse()</code> and their <code>beta.messages</code> counterparts, <code>beta.messages.tool_runner()</code>, and the per-request <code>params</code> of <code>messages.batches.create()</code></td>
<td><code>temperature</code>, <code>top_p</code>, <code>top_k</code></td>
<td>Remove them. Current models do not use these sampling parameters; for an older model that still does, pass them through <code>extra_body</code> (see below).</td>
</tr>
<tr>
<td><code>beta.messages.create()</code>, <code>beta.messages.count_tokens()</code>, batch request params</td>
<td><code>output_format</code></td>
<td><code>output_config={"format": {...}}</code> — see <a href="https://platform.claude.com/docs/en/build-with-claude/structured-outputs" rel="nofollow">structured outputs</a>. The <code>output_format=MyModel</code> argument of the <code>parse()</code> / <code>stream()</code> / <code>count_tokens()</code> / <code>tool_runner()</code> <strong>helpers</strong> still takes a type; those helpers no longer accept a schema dict there either.</td>
</tr>
</tbody>
</table></markdown-accessiblity-table>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
client.beta.messages.create(
    ...,
    temperature=0.2,
    output_format={&quot;type&quot;: &quot;json_schema&quot;, &quot;schema&quot;: Order.model_json_schema()},
)

# After
client.beta.messages.create(
    ...,
    output_config={&quot;format&quot;: {&quot;type&quot;: &quot;json_schema&quot;, &quot;schema&quot;: Order.model_json_schema()}},
)
# or let the helper build the schema and parse the result:
client.beta.messages.parse(..., output_format=Order)"><pre><span class="pl-c"># Before</span>
<span class="pl-s1">client</span>.<span class="pl-c1">beta</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(
    ...,
    <span class="pl-s1">temperature</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>,
    <span class="pl-s1">output_format</span><span class="pl-c1">=</span>{<span class="pl-s">"type"</span>: <span class="pl-s">"json_schema"</span>, <span class="pl-s">"schema"</span>: <span class="pl-v">Order</span>.<span class="pl-c1">model_json_schema</span>()},
)

<span class="pl-c"># After</span>
<span class="pl-s1">client</span>.<span class="pl-c1">beta</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(
    ...,
    <span class="pl-s1">output_config</span><span class="pl-c1">=</span>{<span class="pl-s">"format"</span>: {<span class="pl-s">"type"</span>: <span class="pl-s">"json_schema"</span>, <span class="pl-s">"schema"</span>: <span class="pl-v">Order</span>.<span class="pl-c1">model_json_schema</span>()}},
)
<span class="pl-c"># or let the helper build the schema and parse the result:</span>
<span class="pl-s1">client</span>.<span class="pl-c1">beta</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">parse</span>(..., <span class="pl-s1">output_format</span><span class="pl-c1">=</span><span class="pl-v">Order</span>)</pre></div>
<p dir="auto">The sampling parameters are only gone from the method signatures, not from the API: models that predate the
change still honour them. If you are pinned to such a model and really need a sampling setting, pass it through
<code>extra_body</code>, which is merged into the request JSON as-is (for <code>messages.batches.create()</code>, put the key straight into
the request's <code>params</code> dict):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
client.messages.create(..., model=&quot;claude-sonnet-4-6&quot;, temperature=0.2)

# After
client.messages.create(..., model=&quot;claude-sonnet-4-6&quot;, extra_body={&quot;temperature&quot;: 0.2})"><pre><span class="pl-c"># Before</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(..., <span class="pl-s1">model</span><span class="pl-c1">=</span><span class="pl-s">"claude-sonnet-4-6"</span>, <span class="pl-s1">temperature</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>)

<span class="pl-c"># After</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(..., <span class="pl-s1">model</span><span class="pl-c1">=</span><span class="pl-s">"claude-sonnet-4-6"</span>, <span class="pl-s1">extra_body</span><span class="pl-c1">=</span>{<span class="pl-s">"temperature"</span>: <span class="pl-c1">0.2</span>})</pre></div>
<p dir="auto">The <code>output_format=</code> argument of <code>messages.parse()</code> / <code>stream()</code> / <code>count_tokens()</code> and <code>beta.messages.parse()</code> /
<code>stream()</code> / <code>tool_runner()</code> now only accepts a <strong>type</strong>. <code>messages.stream()</code>,
<code>messages.count_tokens()</code> and <code>beta.messages.stream()</code> used to accept a raw schema dict there too and forward it as
<code>output_config.format</code>; that form raises a <code>TypeError</code> now. Pass schema dicts via <code>output_config</code> and keep
<code>output_format=</code> for classes — the <code>DeprecationWarning</code> that <code>beta.messages.parse()</code> / <code>stream()</code> / <code>tool_runner()</code> used to
emit for the class form is gone, since that is now the only form they take:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
client.messages.count_tokens(..., output_format={&quot;type&quot;: &quot;json_schema&quot;, &quot;schema&quot;: {...}})
client.messages.count_tokens(..., output_format=Order)

# After
client.messages.count_tokens(..., output_config={&quot;format&quot;: {&quot;type&quot;: &quot;json_schema&quot;, &quot;schema&quot;: {...}}})
client.messages.count_tokens(..., output_format=Order)  # unchanged"><pre><span class="pl-c"># Before</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">count_tokens</span>(..., <span class="pl-s1">output_format</span><span class="pl-c1">=</span>{<span class="pl-s">"type"</span>: <span class="pl-s">"json_schema"</span>, <span class="pl-s">"schema"</span>: {...}})
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">count_tokens</span>(..., <span class="pl-s1">output_format</span><span class="pl-c1">=</span><span class="pl-v">Order</span>)

<span class="pl-c"># After</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">count_tokens</span>(..., <span class="pl-s1">output_config</span><span class="pl-c1">=</span>{<span class="pl-s">"format"</span>: {<span class="pl-s">"type"</span>: <span class="pl-s">"json_schema"</span>, <span class="pl-s">"schema"</span>: {...}}})
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">count_tokens</span>(..., <span class="pl-s1">output_format</span><span class="pl-c1">=</span><span class="pl-v">Order</span>)  <span class="pl-c"># unchanged</span></pre></div>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Removed: deprecated type aliases and exports</h2><a id="user-content-removed-deprecated-type-aliases-and-exports" class="anchor" aria-label="Permalink: Removed: deprecated type aliases and exports" href="#removed-deprecated-type-aliases-and-exports"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<markdown-accessiblity-table><table>
<thead>
<tr>
<th>Removed</th>
<th>Replacement</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>anthropic.types.beta.BetaBase64PDFBlockParam</code></td>
<td><code>anthropic.types.beta.BetaRequestDocumentBlockParam</code></td>
</tr>
<tr>
<td><code>anthropic.Transport</code>, <code>anthropic.ProxiesTypes</code> (and <code>anthropic._types.AsyncTransport</code> / <code>ProxiesDict</code>)</td>
<td><code>httpx2.BaseTransport</code>, <code>httpx2.Proxy</code> (<code>httpx2.AsyncBaseTransport</code>)</td>
</tr>
<tr>
<td><code>anthropic.HUMAN_PROMPT</code>, <code>anthropic.AI_PROMPT</code></td>
<td>none — see <a href="#removed-the-legacy-text-completions-api">the Text Completions section</a></td>
</tr>
<tr>
<td><code>anthropic.lib.tools.agent_toolset.READ_MAX_BYTES</code></td>
<td><code>anthropic.lib.tools.agent_toolset.DEFAULT_MAX_FILE_BYTES</code></td>
</tr>
</tbody>
</table></markdown-accessiblity-table>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Removed: deprecated helper arguments and behaviour</h2><a id="user-content-removed-deprecated-helper-arguments-and-behaviour" class="anchor" aria-label="Permalink: Removed: deprecated helper arguments and behaviour" href="#removed-deprecated-helper-arguments-and-behaviour"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto"><code>messages.parse(stream=True)</code></h3><a id="user-content-messagesparsestreamtrue" class="anchor" aria-label="Permalink: messages.parse(stream=True)" href="#messagesparsestreamtrue"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto"><code>parse()</code> always performs a non-streaming request; the <code>stream</code> argument never worked and has been removed from
<code>messages.parse()</code> / <code>beta.messages.parse()</code>. Use the streaming helper, which supports the same structured
output types:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before (which would crash)
client.messages.parse(..., output_format=Order, stream=True)

# After
with client.messages.stream(..., output_format=Order) as stream:
    for event in stream:
        ...
    order = stream.get_final_message().parsed_output"><pre><span class="pl-c"># Before (which would crash)</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">parse</span>(..., <span class="pl-s1">output_format</span><span class="pl-c1">=</span><span class="pl-v">Order</span>, <span class="pl-s1">stream</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)

<span class="pl-c"># After</span>
<span class="pl-k">with</span> <span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">stream</span>(..., <span class="pl-s1">output_format</span><span class="pl-c1">=</span><span class="pl-v">Order</span>) <span class="pl-k">as</span> <span class="pl-s1">stream</span>:
    <span class="pl-k">for</span> <span class="pl-s1">event</span> <span class="pl-c1">in</span> <span class="pl-s1">stream</span>:
        ...
    <span class="pl-s1">order</span> <span class="pl-c1">=</span> <span class="pl-s1">stream</span>.<span class="pl-c1">get_final_message</span>().<span class="pl-c1">parsed_output</span></pre></div>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto"><code>tool_runner(compaction_control=...)</code></h3><a id="user-content-tool_runnercompaction_control" class="anchor" aria-label="Permalink: tool_runner(compaction_control=...)" href="#tool_runnercompaction_control"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">Client-side compaction in the tool runner (the <code>compaction_control=</code> argument and the <code>CompactionControl</code> dict)
has been removed in favour of server-side compaction, which summarises the conversation inside the API instead of
with an extra client round-trip:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
runner = client.beta.messages.tool_runner(
    ...,
    compaction_control={&quot;enabled&quot;: True, &quot;context_token_threshold&quot;: 100_000},
)

# After
runner = client.beta.messages.tool_runner(
    ...,
    betas=[&quot;compact-2026-01-12&quot;],
    context_management={
        &quot;edits&quot;: [
            {&quot;type&quot;: &quot;compact_20260112&quot;, &quot;trigger&quot;: {&quot;type&quot;: &quot;input_tokens&quot;, &quot;value&quot;: 100_000}}
        ]
    },
)"><pre><span class="pl-c"># Before</span>
<span class="pl-s1">runner</span> <span class="pl-c1">=</span> <span class="pl-s1">client</span>.<span class="pl-c1">beta</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">tool_runner</span>(
    ...,
    <span class="pl-s1">compaction_control</span><span class="pl-c1">=</span>{<span class="pl-s">"enabled"</span>: <span class="pl-c1">True</span>, <span class="pl-s">"context_token_threshold"</span>: <span class="pl-c1">100_000</span>},
)

<span class="pl-c"># After</span>
<span class="pl-s1">runner</span> <span class="pl-c1">=</span> <span class="pl-s1">client</span>.<span class="pl-c1">beta</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">tool_runner</span>(
    ...,
    <span class="pl-s1">betas</span><span class="pl-c1">=</span>[<span class="pl-s">"compact-2026-01-12"</span>],
    <span class="pl-s1">context_management</span><span class="pl-c1">=</span>{
        <span class="pl-s">"edits"</span>: [
            {<span class="pl-s">"type"</span>: <span class="pl-s">"compact_20260112"</span>, <span class="pl-s">"trigger"</span>: {<span class="pl-s">"type"</span>: <span class="pl-s">"input_tokens"</span>, <span class="pl-s">"value"</span>: <span class="pl-c1">100_000</span>}}
        ]
    },
)</pre></div>
<p dir="auto">The trigger threshold must be at least 50,000 tokens. See <a href="https://platform.claude.com/docs/en/build-with-claude/compaction" rel="nofollow">compaction</a>
for the other options (<code>pause_after_compaction</code>, custom <code>instructions</code>).</p>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Raw bytes as <code>body=</code> on <code>client.get/post/put/patch/delete</code></h3><a id="user-content-raw-bytes-as-body-on-clientgetpostputpatchdelete" class="anchor" aria-label="Permalink: Raw bytes as body= on client.get/post/put/patch/delete" href="#raw-bytes-as-body-on-clientgetpostputpatchdelete"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">The low-level request methods accepted <code>bytes</code> for <code>body=</code> with a deprecation warning. <code>body=</code> is now always
JSON-serialised and raw payloads go through <code>content=</code> (which also accepts iterators for streaming uploads):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
client.post(&quot;/v1/example&quot;, body=b&quot;raw payload&quot;, cast_to=httpx.Response)

# After
client.post(&quot;/v1/example&quot;, content=b&quot;raw payload&quot;, cast_to=httpx2.Response)"><pre><span class="pl-c"># Before</span>
<span class="pl-s1">client</span>.<span class="pl-c1">post</span>(<span class="pl-s">"/v1/example"</span>, <span class="pl-s1">body</span><span class="pl-c1">=</span><span class="pl-s">b"raw payload"</span>, <span class="pl-s1">cast_to</span><span class="pl-c1">=</span><span class="pl-s1">httpx</span>.<span class="pl-c1">Response</span>)

<span class="pl-c"># After</span>
<span class="pl-s1">client</span>.<span class="pl-c1">post</span>(<span class="pl-s">"/v1/example"</span>, <span class="pl-s1">content</span><span class="pl-c1">=</span><span class="pl-s">b"raw payload"</span>, <span class="pl-s1">cast_to</span><span class="pl-c1">=</span><span class="pl-s1">httpx2</span>.<span class="pl-c1">Response</span>)</pre></div>
<div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto"><code>isinstance(stream, anthropic.Stream)</code> for message streams</h3><a id="user-content-isinstancestream-anthropicstream-for-message-streams" class="anchor" aria-label="Permalink: isinstance(stream, anthropic.Stream) for message streams" href="#isinstancestream-anthropicstream-for-message-streams"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto"><code>MessageStream</code> / <code>AsyncMessageStream</code> (what <code>client.messages.stream()</code> yields) stopped inheriting from
<code>Stream</code> / <code>AsyncStream</code> many releases ago; a compatibility shim kept <code>isinstance()</code> checks passing with a
<code>DeprecationWarning</code>. The shim is gone, so such checks now return <code>False</code>. Check for the concrete classes instead:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before
from anthropic import Stream

if isinstance(obj, Stream):
    ...

# After
from anthropic.lib.streaming import MessageStream

if isinstance(obj, MessageStream):
    ...  # or `Stream` if you really mean a raw `create(stream=True)` stream"><pre><span class="pl-c"># Before</span>
<span class="pl-k">from</span> <span class="pl-s1">anthropic</span> <span class="pl-k">import</span> <span class="pl-v">Stream</span>

<span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">obj</span>, <span class="pl-v">Stream</span>):
    ...

<span class="pl-c"># After</span>
<span class="pl-k">from</span> <span class="pl-s1">anthropic</span>.<span class="pl-s1">lib</span>.<span class="pl-s1">streaming</span> <span class="pl-k">import</span> <span class="pl-v">MessageStream</span>

<span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">obj</span>, <span class="pl-v">MessageStream</span>):
    ...  <span class="pl-c"># or `Stream` if you really mean a raw `create(stream=True)` stream</span></pre></div>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Header names are matched case-insensitively</h2><a id="user-content-header-names-are-matched-case-insensitively" class="anchor" aria-label="Permalink: Header names are matched case-insensitively" href="#header-names-are-matched-case-insensitively"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">HTTP header names are case-insensitive, and the SDK now treats them that way everywhere it merges headers. An entry
in <code>default_headers</code>, <code>extra_headers</code>, <code>with_options(default_headers=...)</code> or the <code>ANTHROPIC_CUSTOM_HEADERS</code>
environment variable replaces a header of the same name whatever its casing — including the headers the SDK sets
itself — instead of being sent alongside it, and <code>omit</code> removes one the same way.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from anthropic import Anthropic, omit

client = Anthropic(default_headers={&quot;USER-AGENT&quot;: &quot;my-app/1.0&quot;})
client.messages.create(..., extra_headers={&quot;x-api-key&quot;: other_key, &quot;X-Stainless-Timeout&quot;: omit})

# Before: sent `User-Agent: Anthropic/Python ...` and `USER-AGENT: my-app/1.0`, both API keys,
#         and still sent `x-stainless-timeout`
# After:  sends `USER-AGENT: my-app/1.0`, only `x-api-key: &lt;other_key&gt;`, and no `x-stainless-timeout` header"><pre><span class="pl-k">from</span> <span class="pl-s1">anthropic</span> <span class="pl-k">import</span> <span class="pl-v">Anthropic</span>, <span class="pl-s1">omit</span>

<span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-en">Anthropic</span>(<span class="pl-s1">default_headers</span><span class="pl-c1">=</span>{<span class="pl-s">"USER-AGENT"</span>: <span class="pl-s">"my-app/1.0"</span>})
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(..., <span class="pl-s1">extra_headers</span><span class="pl-c1">=</span>{<span class="pl-s">"x-api-key"</span>: <span class="pl-s1">other_key</span>, <span class="pl-s">"X-Stainless-Timeout"</span>: <span class="pl-s1">omit</span>})

<span class="pl-c"># Before: sent `User-Agent: Anthropic/Python ...` and `USER-AGENT: my-app/1.0`, both API keys,</span>
<span class="pl-c">#         and still sent `x-stainless-timeout`</span>
<span class="pl-c"># After:  sends `USER-AGENT: my-app/1.0`, only `x-api-key: &lt;other_key&gt;`, and no `x-stainless-timeout` header</span></pre></div>
<p dir="auto">If you relied on two casings of a name producing two header lines, send one comma-joined value instead.</p>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto"><code>bytes</code> header values no longer work</h2><a id="user-content-bytes-header-values-no-longer-work" class="anchor" aria-label="Permalink: bytes header values no longer work" href="#bytes-header-values-no-longer-work"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">Previously even though the type annotations did not allow it, you could pass <code>bytes</code> as header values, this now raises an error:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before (worked despite the type error)
client.messages.create(..., extra_headers={&quot;X-Signature&quot;: signature_bytes})

# After
client.messages.create(..., extra_headers={&quot;X-Signature&quot;: signature_bytes.decode()})"><pre><span class="pl-c"># Before (worked despite the type error)</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(..., <span class="pl-s1">extra_headers</span><span class="pl-c1">=</span>{<span class="pl-s">"X-Signature"</span>: <span class="pl-s1">signature_bytes</span>})

<span class="pl-c"># After</span>
<span class="pl-s1">client</span>.<span class="pl-c1">messages</span>.<span class="pl-c1">create</span>(..., <span class="pl-s1">extra_headers</span><span class="pl-c1">=</span>{<span class="pl-s">"X-Signature"</span>: <span class="pl-s1">signature_bytes</span>.<span class="pl-c1">decode</span>()})</pre></div>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Bedrock: a region is now required</h2><a id="user-content-bedrock-a-region-is-now-required" class="anchor" aria-label="Permalink: Bedrock: a region is now required" href="#bedrock-a-region-is-now-required"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto"><code>AnthropicBedrock</code> / <code>AsyncAnthropicBedrock</code> used to log a warning and silently fall back to <code>us-east-1</code> when no
AWS region could be found. They now raise a <code>ValueError</code> at construction time instead.</p>
<p dir="auto">The region is resolved from, in order:</p>
<ul dir="auto">
<li>the <code>aws_region=</code> argument</li>
<li>the <code>AWS_REGION</code> / <code>AWS_DEFAULT_REGION</code> environment variables</li>
<li>the configuration of the boto3 session for the given <code>aws_profile</code> (previously the profile argument was ignored for region lookup).</li>
</ul>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Before — implicitly us-east-1 if nothing was configured
client = AnthropicBedrock()

# After
client = AnthropicBedrock(aws_region=&quot;us-east-1&quot;)  # or export AWS_REGION / configure your profile"><pre><span class="pl-c"># Before — implicitly us-east-1 if nothing was configured</span>
<span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-en">AnthropicBedrock</span>()

<span class="pl-c"># After</span>
<span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-en">AnthropicBedrock</span>(<span class="pl-s1">aws_region</span><span class="pl-c1">=</span><span class="pl-s">"us-east-1"</span>)  <span class="pl-c"># or export AWS_REGION / configure your profile</span></pre></div>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Bedrock: unknown streaming events are skipped</h2><a id="user-content-bedrock-unknown-streaming-events-are-skipped" class="anchor" aria-label="Permalink: Bedrock: unknown streaming events are skipped" href="#bedrock-unknown-streaming-events-are-skipped"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<p dir="auto">Previously all streaming events that the Bedrock API returned would be yielded by the SDK, now they are skipped.</p>
<p dir="auto">The only known case this affects is an <code>amazon-bedrock-invocationMetrics</code> event.</p>
<p dir="auto">If you made use of this event please open an issue to let us know.</p>
<div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Quick reference</h2><a id="user-content-quick-reference" class="anchor" aria-label="Permalink: Quick reference" href="#quick-reference"><svg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<markdown-accessiblity-table><table>
<thead>
<tr>
<th>You have…</th>
<th>Do this</th>
</tr>
</thead>
<tbody>
<tr>
<td>Python 3.9</td>
<td>upgrade to Python ≥ 3.10</td>
</tr>
<tr>
<td><code>import httpx</code> objects passed to / received from the SDK</td>
<td><code>import httpx2 as httpx</code> (or rename); annotations <code>httpx.X</code> → <code>httpx2.X</code></td>
</tr>
<tr>
<td><code>respx</code> / <code>pytest-httpx</code> / <code>vcrpy</code>, or OpenTelemetry / Sentry <code>httpx</code> instrumentation</td>
<td>run <code>httpx2.alias_httpx()</code> before anything imports <code>httpx</code></td>
</tr>
<tr>
<td><code>httpx_aiohttp</code> in your requirements</td>
<td>drop it; <code>anthropic[aiohttp]</code> is enough</td>
</tr>
<tr>
<td><code>await client.….with_raw_response.…()</code> then <code>.parse()</code> / <code>.text</code> / <code>.content</code></td>
<td><code>await response.parse()</code> / <code>await response.text()</code> / <code>await response.read()</code></td>
</tr>
<tr>
<td>sync <code>.with_raw_response</code> then <code>.text</code> / <code>.content</code></td>
<td><code>response.text()</code> / <code>response.read()</code></td>
</tr>
<tr>
<td><code>client.completions.create()</code>, <code>HUMAN_PROMPT</code>, <code>AI_PROMPT</code></td>
<td>move to <code>client.messages.create()</code></td>
</tr>
<tr>
<td><code>temperature=</code> / <code>top_p=</code> / <code>top_k=</code> on message methods</td>
<td>remove; use <code>extra_body={"temperature": ...}</code> if an older model still needs it</td>
</tr>
<tr>
<td><code>output_format={...}</code> (a schema dict) on any message method or helper</td>
<td><code>output_config={"format": {...}}</code>; helpers keep <code>output_format=Model</code> for a class</td>
</tr>
<tr>
<td><code>BetaBase64PDFBlockParam</code></td>
<td><code>BetaRequestDocumentBlockParam</code></td>
</tr>
<tr>
<td><code>anthropic.Transport</code> / <code>ProxiesTypes</code> (or <code>anthropic._types.AsyncTransport</code>)</td>
<td><code>httpx2.BaseTransport</code> / <code>Proxy</code> / <code>AsyncBaseTransport</code></td>
</tr>
<tr>
<td><code>messages.parse(stream=True)</code></td>
<td><code>messages.stream(...)</code></td>
</tr>
<tr>
<td><code>tool_runner(compaction_control=...)</code></td>
<td>server-side <code>context_management</code> compaction</td>
</tr>
<tr>
<td><code>client.post(..., body=b"...")</code></td>
<td><code>content=b"..."</code></td>
</tr>
<tr>
<td><code>isinstance(x, Stream)</code> meant for message streams</td>
<td><code>isinstance(x, MessageStream)</code></td>
</tr>
<tr>
<td>two casings of one header name across <code>default_headers</code> / <code>extra_headers</code></td>
<td>the later one now replaces the earlier; join the values yourself if you need both</td>
</tr>
<tr>
<td><code>bytes</code> header values</td>
<td><code>.decode()</code> them — header values must be <code>str</code></td>
</tr>
<tr>
<td><code>AnthropicBedrock()</code> with no region configured</td>
<td>pass <code>aws_region=</code> or set <code>AWS_REGION</code></td>
</tr>
<tr>
<td><code>agent_toolset.READ_MAX_BYTES</code></td>
<td><code>DEFAULT_MAX_FILE_BYTES</code></td>
</tr>
</tbody>
</table></markdown-accessiblity-table>
</article></div><div class="d-none"></div></section></div></div></div> </div> <!-- --> </div></div></div></div></div></div><div class="ScrollMarksContainer-module__scrollMarksContainer__Eu7uU" id="find-result-marks-container"></div><div class="d-none"></div><div class="d-none"></div></div> <!-- --> <!-- --> </div>
</react-app>




  </div>

</turbo-frame>

    </main>
  </div>

  </div>

          <footer class="footer f6 color-fg-muted color-border-subtle tmp-pt-7 tmp-pb-6 p-responsive" role="contentinfo"  >
  <h2 class='sr-only'>Footer</h2>

  


  <div class="d-flex flex-justify-center flex-items-center flex-column-reverse flex-lg-row flex-wrap flex-lg-nowrap">
    <div class="d-flex flex-items-center flex-shrink-0 mx-2">
      <a aria-label="GitHub Homepage" class="footer-octicon mr-2" href="https://github.com">
        <svg aria-hidden="true" data-component="Octicon" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-mark-github">
    <path d="M10.226 17.284c-2.965-.36-5.054-2.493-5.054-5.256 0-1.123.404-2.336 1.078-3.144-.292-.741-.247-2.314.09-2.965.898-.112 2.111.36 2.83 1.01.853-.269 1.752-.404 2.853-.404 1.1 0 1.999.135 2.807.382.696-.629 1.932-1.1 2.83-.988.315.606.36 2.179.067 2.942.72.854 1.101 2 1.101 3.167 0 2.763-2.089 4.852-5.098 5.234.763.494 1.28 1.572 1.28 2.807v2.336c0 .674.561 1.056 1.235.786 4.066-1.55 7.255-5.615 7.255-10.646C23.5 6.188 18.334 1 11.978 1 5.62 1 .5 6.188.5 12.545c0 4.986 3.167 9.12 7.435 10.669.606.225 1.19-.18 1.19-.786V20.63a2.9 2.9 0 0 1-1.078.224c-1.483 0-2.359-.808-2.987-2.313-.247-.607-.517-.966-1.034-1.033-.27-.023-.359-.135-.359-.27 0-.27.45-.471.898-.471.652 0 1.213.404 1.797 1.235.45.651.921.943 1.483.943.561 0 .92-.202 1.437-.719.382-.381.674-.718.944-.943"></path>
</svg>
</a>
      <span>
        &copy; 2026 GitHub,&nbsp;Inc.
      </span>
    </div>

    <nav aria-label="Footer">
      <h3 class="sr-only" id="sr-footer-heading">Footer navigation</h3>

      <ul class="list-style-none d-flex flex-justify-center flex-wrap mb-2 mb-lg-0" aria-labelledby="sr-footer-heading">


          <li class="mx-2">
            <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to Terms&quot;,&quot;label&quot;:&quot;text:terms&quot;}" href="https://docs.github.com/site-policy/github-terms/github-terms-of-service" data-view-component="true" class="Link--secondary Link">Terms</a>
          </li>

          <li class="mx-2">
            <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to privacy&quot;,&quot;label&quot;:&quot;text:privacy&quot;}" href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement" data-view-component="true" class="Link--secondary Link">Privacy</a>
          </li>


            <li class="mx-2">
              <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to security&quot;,&quot;label&quot;:&quot;text:security&quot;}" href="https://github.com/security" data-view-component="true" class="Link--secondary Link">Security</a>
            </li>

            <li class="mx-2">
              <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to status&quot;,&quot;label&quot;:&quot;text:status&quot;}" href="https://www.githubstatus.com/" data-view-component="true" class="Link--secondary Link">Status</a>
            </li>

          <li class="mx-2">
            <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to community&quot;,&quot;label&quot;:&quot;text:community&quot;}" href="https://github.community/" data-view-component="true" class="Link--secondary Link">Community</a>
          </li>

          <li class="mx-2">
            <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to docs&quot;,&quot;label&quot;:&quot;text:docs&quot;}" href="https://docs.github.com/" data-view-component="true" class="Link--secondary Link">Docs</a>
          </li>

          <li class="mx-2">
            <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to contact&quot;,&quot;label&quot;:&quot;text:contact&quot;}" href="https://support.github.com?tags=dotcom-footer" data-view-component="true" class="Link--secondary Link">Contact</a>
          </li>

          
<li class="mx-2" >
  <cookie-consent-link>
    <button
      type="button"
      class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent"
      data-action="click:cookie-consent-link#showConsentManagement"
      data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;cookies&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;cookies_link_subfooter_footer&quot;}"
    >
      Manage cookies
    </button>
  </cookie-consent-link>
</li>

  <li class="mx-2">
    <cookie-consent-link>
      <button
        type="button"
        class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent text-left"
        data-action="click:cookie-consent-link#showConsentManagement"
        data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;dont_share_info&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;dont_share_info_link_subfooter_footer&quot;}"
      >
        Do not share my personal information
      </button>
    </cookie-consent-link>
  </li>

      </ul>
    </nav>
  </div>
</footer>



    <ghcc-consent id="ghcc" class="position-fixed bottom-0 left-0" style="z-index: 999999"
      data-locale="en"
      data-initial-cookie-consent-allowed=""
      data-cookie-consent-required="true"
    ></ghcc-consent>




  <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden>
    <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
    <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
      <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>
    You can’t perform that action at this time.
  </div>

    <template id="site-details-dialog">
  <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open>
    <summary role="button" aria-label="Close dialog"></summary>
    <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal">
      <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog>
        <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
      </button>
      <div class="octocat-spinner tmp-my-6 js-details-dialog-spinner"></div>
    </details-dialog>
  </details>
</template>

    <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;">
  <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;">
  </div>
</div>

    <template id="snippet-clipboard-copy-button">
  <div class="zeroclipboard-container position-absolute right-0 top-0">
    <clipboard-copy aria-label="Copy code to clipboard" class="ClipboardButton btn js-clipboard-copy m-2 p-0" data-copy-feedback="Copied!" data-tooltip-direction="w">
      <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2 tmp-m-2">
    <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
      <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2 tmp-m-2">
    <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path>
</svg>
    </clipboard-copy>
  </div>
</template>
<template id="snippet-clipboard-copy-button-unpositioned">
  <div class="zeroclipboard-container">
    <clipboard-copy aria-label="Copy code to clipboard" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w">
      <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon">
    <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
      <svg aria-hidden="true" data-component="Octicon" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none">
    <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path>
</svg>
    </clipboard-copy>
  </div>
</template>




    </div>
    <div id="js-global-screen-reader-notice" class="sr-only mt-n1" aria-live="polite" aria-atomic="true" ></div>
    <div id="js-global-screen-reader-notice-assertive" class="sr-only mt-n1" aria-live="assertive" aria-atomic="true"></div>
  </body>
</html>

