Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-quickstarts
/ functions
Functions
710 in github.com/anthropics/claude-quickstarts
⨍
Functions
710
◇
Types & classes
123
↳
Endpoints
40
Method
cleanup
Cleanup method to ensure browser is closed properly.
browser-use-demo/browser_use_demo/tools/browser.py:1250
Method
close
(self)
computer-use-best-practices/computer_use/tools/browser.py:248
Function
cn
(...inputs: ClassValue[])
customer-support-agent/app/lib/utils.ts:20
Method
combine_fields
( field: str | None, other_field: str | None, concatenate: bool = True )
browser-use-demo/browser_use_demo/tools/base.py:36
Method
combine_fields
( field: str | None, other_field: str | None, concatenate: bool = True )
computer-use-demo/computer_use_demo/tools/base.py:36
Method
contains_side_effect
(key)
browser-use-demo/tests/test_streamlit_helpers.py:44
Function
context_edits_applied
(edits: list[object])
computer-use-best-practices/computer_use/render.py:93
Function
disable_chat_callback
()
browser-use-demo/browser_use_demo/streamlit.py:707
Function
document_block
(b64_pdf: str)
computer-use-best-practices/computer_use/tools/result.py:23
Function
edge_case_messages
Messages specifically designed to test edge cases and error conditions.
browser-use-demo/tests/conftest.py:131
Method
edit_sync
()
agents/tools/file_tools.py:242
Method
execute
(self, *, a: str, **_: Any)
computer-use-best-practices/tests/test_base.py:50
Method
execute
(self, *, app_name: str, **_: Any)
computer-use-best-practices/computer_use/tools/open_app.py:22
Method
execute
(self, *, actions: list[dict[str, Any]], **_: Any)
computer-use-best-practices/computer_use/tools/batch.py:69
Method
execute
(self, *, code: str, **_: Any)
computer-use-best-practices/computer_use/tools/shell.py:135
Method
execute
(self, **kwargs: Any)
computer-use-best-practices/computer_use/tools/browser.py:150
Method
execute
Execute the MCP tool with the given input_schema. Note: Currently only supports text results from MCP tools.
agents/tools/mcp_tool.py:21
Method
execute
Simply returns the thought back to the model.
agents/tools/think.py:30
Method
execute
Execute a file read operation. Args: operation: The operation to perform (read or list) path: The file or directory p
agents/tools/file_tools.py:49
Method
execute
Execute a file write operation. Args: operation: The operation to perform (write or edit) path: The file path
agents/tools/file_tools.py:180
Function
handleFileSelect
(e: React.ChangeEvent<HTMLInputElement>)
financial-data-analyst/app/finance/page.tsx:282
Function
handleInputChange
(event: React.ChangeEvent<HTMLTextAreaElement>)
customer-support-agent/components/ChatArea.tsx:550
Function
handleInputChange
(event: React.ChangeEvent<HTMLTextAreaElement>)
financial-data-analyst/app/finance/page.tsx:509
Function
handleKeyDown
(e: React.KeyboardEvent<HTMLTextAreaElement>)
customer-support-agent/components/ChatArea.tsx:541
Function
handleKeyDown
(e: React.KeyboardEvent<HTMLTextAreaElement>)
financial-data-analyst/app/finance/page.tsx:493
Function
handleSubmit
(event: React.FormEvent<HTMLFormElement>)
financial-data-analyst/app/finance/page.tsx:371
Function
handleSuggestedQuestionClick
(question: string)
customer-support-agent/components/ChatArea.tsx:558
Function
handleToolExecution
(event: Event)
customer-support-agent/components/ChatArea.tsx:563
Function
handleUpdateRagSources
(event: CustomEvent)
customer-support-agent/components/ChatArea.tsx:369
Function
handleUpdateSidebar
(event: CustomEvent<ThinkingContent>)
customer-support-agent/components/LeftSidebar.tsx:53
Function
handleUpdateSidebar
(event: CustomEvent<ThinkingContent>)
customer-support-agent/components/ChatArea.tsx:349
Function
index
()
computer-use-best-practices/dev_ui/tool_panel/server.py:39
Function
index
()
computer-use-best-practices/dev_ui/localization_demo/server.py:82
Function
interrupted
()
computer-use-best-practices/computer_use/render.py:115
Function
isValidBase64
(str: string)
financial-data-analyst/app/api/finance/route.ts:14
Method
is_error
(self)
computer-use-best-practices/computer_use/tools/result.py:46
Method
list_sync
()
agents/tools/file_tools.py:114
Function
list_tools
()
computer-use-best-practices/dev_ui/tool_panel/server.py:44
Function
localize
( image: Annotated[UploadFile, File()], label: Annotated[str, Form()], model: Annotated[str, Form(
computer-use-best-practices/dev_ui/localization_demo/server.py:99
Method
map_key
Map a key name to Playwright's expected format.
browser-use-demo/browser_use_demo/tools/browser.py:580
Function
meta
()
computer-use-best-practices/dev_ui/localization_demo/server.py:87
Method
mock_agent
(input_text)
browser-use-demo/tests/test_integration.py:165
Function
mock_api_response_with_text_and_tools
Mock API response containing both text and tool uses.
browser-use-demo/tests/conftest.py:206
Function
mock_asyncio_loop
Mock asyncio event loop for testing.
browser-use-demo/tests/conftest.py:161
Function
mock_browser_tool
Mock BrowserTool to avoid Playwright dependencies.
browser-use-demo/tests/conftest.py:50
Function
mock_environment
Mock environment variables for testing.
browser-use-demo/tests/conftest.py:170
Function
mock_provider
Mock APIProvider enum.
browser-use-demo/tests/conftest.py:196
Function
mock_screen_dimensions
()
computer-use-demo/tests/conftest.py:8
Function
mock_streamlit
Mock Streamlit module and session_state.
browser-use-demo/tests/conftest.py:17
Function
mock_tool_collection
Mock ToolCollection for testing.
browser-use-demo/tests/conftest.py:229
Method
modify_state
(*args, **kwargs)
browser-use-demo/tests/test_message_renderer.py:345
Method
options
Return browser display options.
browser-use-demo/browser_use_demo/tools/browser.py:196
Method
options
(self)
computer-use-demo/computer_use_demo/tools/computer.py:103
Method
options
(self)
computer-use-demo/computer_use_demo/tools/computer.py:421
Method
output_callback
(content)
browser-use-demo/tests/test_sampling_loop.py:338
Function
preflight
()
computer-use-best-practices/dev_ui/tool_panel/server.py:49
Method
process_default_content
Default processor for unknown content types.
browser-use-demo/browser_use_demo/streamlit.py:233
Method
process_image_content
Process image content type.
browser-use-demo/browser_use_demo/streamlit.py:193
Method
process_tool_result_content
Process tool result content type.
browser-use-demo/browser_use_demo/streamlit.py:213
Method
process_tool_use_content
Process tool use content type.
browser-use-demo/browser_use_demo/streamlit.py:205
Function
prompt_user
Read a follow-up message. Returns None on EOF or empty input.
computer-use-best-practices/computer_use/render.py:119
Method
read_sync
()
agents/tools/file_tools.py:89
Function
reload
Rebuild ``cfg`` from the given sources. Note that modules which did ``from constants import cfg`` hold their own binding; rebind their local n
computer-use-best-practices/constants.py:268
Method
remove_message_pair
()
agents/utils/history_util.py:85
Function
repl
(m: re.Match[str])
computer-use-best-practices/dev_ui/localization_demo/server.py:65
Function
retry
(attempt: int, total: int, exc: Exception, delay: float)
computer-use-best-practices/computer_use/render.py:109
Function
run
(req: RunRequest)
computer-use-best-practices/dev_ui/tool_panel/server.py:57
Method
run_setup
()
browser-use-demo/tests/test_streamlit_helpers.py:279
Method
run_test
()
browser-use-demo/tests/test_sampling_loop.py:84
Method
run_test
()
browser-use-demo/tests/test_sampling_loop.py:314
Function
safety_banner
()
computer-use-best-practices/computer_use/render.py:44
Function
sample_messages
Provide various message structures for testing edge cases.
browser-use-demo/tests/conftest.py:79
Function
sample_mixed_content_messages
Sample messages with mixed text and tool content.
browser-use-demo/tests/conftest.py:250
Function
sample_tool_result
Create sample ToolResult objects for testing.
browser-use-demo/tests/conftest.py:59
Function
scrollToBottom
()
customer-support-agent/components/ChatArea.tsx:324
Function
scrollToBottom
()
financial-data-analyst/app/finance/page.tsx:214
Function
scrollToNewestChart
()
financial-data-analyst/app/finance/page.tsx:268
Function
scrollToNewestMessage
()
customer-support-agent/components/ChatArea.tsx:331
Method
setitem_side_effect
(key, value)
browser-use-demo/tests/test_integration.py:87
Function
streamlit_app
()
computer-use-demo/tests/streamlit_test.py:11
Method
test_add_assistant_message
Test adding an assistant message.
browser-use-demo/tests/test_sampling_loop.py:173
Method
test_add_assistant_message_empty_content
Test that empty content is not added.
browser-use-demo/tests/test_sampling_loop.py:188
Method
test_add_tool_results
Test adding tool results.
browser-use-demo/tests/test_sampling_loop.py:198
Method
test_add_tool_results_empty
Test that empty tool results are not added.
browser-use-demo/tests/test_sampling_loop.py:216
Function
test_advisor_prompt_addendum_gated
()
computer-use-best-practices/tests/test_advisor.py:82
Function
test_advisor_reminder_interval_on_config
()
computer-use-best-practices/tests/test_advisor.py:76
Function
test_advisor_tool_param_shape
()
computer-use-best-practices/tests/test_advisor.py:23
Method
test_api_parameters
Test passing various API parameters.
agents/test_message_params.py:131
Method
test_async_agent_execution
Test running async agent with event loop management.
browser-use-demo/tests/test_integration.py:146
Method
test_authenticate_non_anthropic_provider
Test authenticate with non-Anthropic provider.
browser-use-demo/tests/test_streamlit_helpers.py:245
Method
test_authenticate_with_missing_key
Test authenticate with missing API key.
browser-use-demo/tests/test_streamlit_helpers.py:212
Method
test_authenticate_with_none_key
Test authenticate with None API key.
browser-use-demo/tests/test_streamlit_helpers.py:231
Method
test_authenticate_with_valid_key
Test authenticate with valid API key.
browser-use-demo/tests/test_streamlit_helpers.py:195
Function
test_autocompaction_edit_shape
()
computer-use-best-practices/tests/test_advisor.py:67
Function
test_autocompaction_trigger_floor
(capsys)
computer-use-best-practices/tests/test_constants.py:4
Method
test_base64_decode_error
Test handling invalid base64 image data.
browser-use-demo/tests/test_message_renderer.py:364
Function
test_bash_echo
()
computer-use-best-practices/tests/test_shell.py:11
Function
test_bash_tool_no_command
(bash_tool)
computer-use-demo/tests/tools/bash_test.py:29
Function
test_bash_tool_non_zero_exit
(bash_tool)
computer-use-demo/tests/tools/bash_test.py:57
Function
test_bash_tool_restart
(bash_tool)
computer-use-demo/tests/tools/bash_test.py:12
← previous
next →
401–500 of 710, ranked by callers