Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/trae-agent
/ functions
Functions
548 in github.com/bytedance/trae-agent
⨍
Functions
548
◇
Types & classes
111
↳
Endpoints
26
Method
test_new_task_initialization
(self)
tests/agent/test_trae_agent.py:49
Method
test_ollama_chat
There is nothing we have to assert for this test case just see if it can run
tests/utils/test_ollama_client_utils.py:76
Method
test_ollama_set_chat_history
There is nothing we have to assert for this test case just see if it can run
tests/utils/test_ollama_client_utils.py:52
Method
test_openai_client_with_custom_base_url
(self, mock_openai)
tests/utils/test_config.py:73
Method
test_openrouter_chat
There is nothing we have to assert for this test case just see if it can run
tests/utils/test_openrouter_client_utils.py:72
Method
test_parse_messages
Test the parse_messages method with various message types.
tests/utils/test_google_client.py:196
Method
test_parse_tool_call_result
Test the _parse_tool_call_result method.
tests/utils/test_google_client.py:238
Method
test_patch_filtering
(self)
tests/agent/test_trae_agent.py:78
Method
test_protected_attributes_access_restrictions
Test that protected attributes cannot be accessed directly from outside the class.
tests/agent/test_trae_agent.py:116
Method
test_public_property_access_allowed
Test that public properties can be accessed properly.
tests/agent/test_trae_agent.py:135
Method
test_relative_path
(self)
tests/tools/test_edit_tool.py:119
Method
test_remove_config_key
Test removing a key from an object.
tests/tools/test_json_edit_tool.py:150
Method
test_remove_user_by_index
Test removing an element from a list by its index.
tests/tools/test_json_edit_tool.py:130
Method
test_run_with_both_task_and_file
Test for a clear error when both task string and --file are used.
tests/test_cli.py:96
Method
test_run_with_file_argument
Test that the --file argument correctly reads from a file.
tests/test_cli.py:54
Method
test_run_with_long_prompt
Test that a long prompt string is handled correctly.
tests/test_cli.py:18
Method
test_run_with_no_input
Test for a clear error when neither task string nor --file is provided.
tests/test_cli.py:104
Method
test_run_with_nonexistent_file
Test for a clear error when --file points to a non-existent file.
tests/test_cli.py:89
Method
test_run_with_nonexistent_working_dir
Test for a clear error when --working-dir points to a non-existent directory.
tests/test_cli.py:114
Method
test_run_with_string_that_is_also_a_filename
Test that a task string that looks like a file is treated as a string.
tests/test_cli.py:145
Method
test_session_restart
(self)
tests/tools/test_bash_tool.py:35
Method
test_set_chat_history
(self)
tests/utils/test_openrouter_client_utils.py:51
Method
test_set_config_value
Test setting a simple configuration value.
tests/tools/test_json_edit_tool.py:48
Method
test_str_replace_multiple_occurrences
(self)
tests/tools/test_edit_tool.py:73
Method
test_str_replace_success
(self)
tests/tools/test_edit_tool.py:88
Method
test_successful_command_execution
(self)
tests/tools/test_bash_tool.py:53
Method
test_supports_tool_calling
A test case to check the support tool calling function
tests/utils/test_ollama_client_utils.py:100
Method
test_supports_tool_calling
Test the supports_tool_calling method.
tests/utils/test_google_client.py:295
Method
test_supports_tool_calling
A test case to check the support tool calling function
tests/utils/test_openrouter_client_utils.py:96
Method
test_task_completion_detection
(self)
tests/agent/test_trae_agent.py:89
Method
test_tool_initialization
(self)
tests/tools/test_bash_tool.py:19
Method
test_tool_initialization
(self)
tests/agent/test_trae_agent.py:100
Method
test_update_and_get_server_status
(self)
tests/utils/test_mcp_client.py:15
Method
test_update_user_name
Test updating a name in a list of objects.
tests/tools/test_json_edit_tool.py:69
Method
test_view_directory
(self)
tests/tools/test_edit_tool.py:103
Method
test_view_file
(self)
tests/tools/test_edit_tool.py:112
Method
test_view_operation
Test the view operation to ensure it reads and returns content.
tests/tools/test_json_edit_tool.py:168
Method
to_params
(self)
evaluation/patch_selection/trae_selector/tools/tools/bash.py:118
Method
to_params
(self)
evaluation/patch_selection/trae_selector/tools/tools/edit.py:36
Function
tools
Show available tools and their descriptions.
trae_agent/cli.py:707
Method
tools
(self)
trae_agent/tools/base.py:200
Method
tools
Get the tools available to this agent.
trae_agent/agent/base_agent.py:108
Method
trajectory_recorder
Get the trajectory recorder for this agent.
trae_agent/agent/base_agent.py:88
Method
update_lakeview
(self, step_number: int, lakeview_summary: str)
trae_agent/utils/trajectory_recorder.py:191
Method
update_status
Update the console status with new agent step or execution info.
trae_agent/utils/cli/simple_console.py:41
Method
update_status
Update the console with agent status.
trae_agent/utils/cli/rich_console.py:301
Function
wrapper
(*args: Any, **kwargs: Any)
trae_agent/utils/llm_clients/retry_utils.py:31
Function
write_text
(filename, content)
evaluation/patch_selection/trae_selector/tools/tools/edit.py:21
← previous
501–548 of 548, ranked by callers