MCPcopy Create free account

hub / github.com/bytedance/trae-agent / functions

Functions548 in github.com/bytedance/trae-agent

Methodtest_new_task_initialization
(self)
tests/agent/test_trae_agent.py:49
Methodtest_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
Methodtest_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
Methodtest_openai_client_with_custom_base_url
(self, mock_openai)
tests/utils/test_config.py:73
Methodtest_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
Methodtest_parse_messages
Test the parse_messages method with various message types.
tests/utils/test_google_client.py:196
Methodtest_parse_tool_call_result
Test the _parse_tool_call_result method.
tests/utils/test_google_client.py:238
Methodtest_patch_filtering
(self)
tests/agent/test_trae_agent.py:78
Methodtest_protected_attributes_access_restrictions
Test that protected attributes cannot be accessed directly from outside the class.
tests/agent/test_trae_agent.py:116
Methodtest_public_property_access_allowed
Test that public properties can be accessed properly.
tests/agent/test_trae_agent.py:135
Methodtest_relative_path
(self)
tests/tools/test_edit_tool.py:119
Methodtest_remove_config_key
Test removing a key from an object.
tests/tools/test_json_edit_tool.py:150
Methodtest_remove_user_by_index
Test removing an element from a list by its index.
tests/tools/test_json_edit_tool.py:130
Methodtest_run_with_both_task_and_file
Test for a clear error when both task string and --file are used.
tests/test_cli.py:96
Methodtest_run_with_file_argument
Test that the --file argument correctly reads from a file.
tests/test_cli.py:54
Methodtest_run_with_long_prompt
Test that a long prompt string is handled correctly.
tests/test_cli.py:18
Methodtest_run_with_no_input
Test for a clear error when neither task string nor --file is provided.
tests/test_cli.py:104
Methodtest_run_with_nonexistent_file
Test for a clear error when --file points to a non-existent file.
tests/test_cli.py:89
Methodtest_run_with_nonexistent_working_dir
Test for a clear error when --working-dir points to a non-existent directory.
tests/test_cli.py:114
Methodtest_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
Methodtest_session_restart
(self)
tests/tools/test_bash_tool.py:35
Methodtest_set_chat_history
(self)
tests/utils/test_openrouter_client_utils.py:51
Methodtest_set_config_value
Test setting a simple configuration value.
tests/tools/test_json_edit_tool.py:48
Methodtest_str_replace_multiple_occurrences
(self)
tests/tools/test_edit_tool.py:73
Methodtest_str_replace_success
(self)
tests/tools/test_edit_tool.py:88
Methodtest_successful_command_execution
(self)
tests/tools/test_bash_tool.py:53
Methodtest_supports_tool_calling
A test case to check the support tool calling function
tests/utils/test_ollama_client_utils.py:100
Methodtest_supports_tool_calling
Test the supports_tool_calling method.
tests/utils/test_google_client.py:295
Methodtest_supports_tool_calling
A test case to check the support tool calling function
tests/utils/test_openrouter_client_utils.py:96
Methodtest_task_completion_detection
(self)
tests/agent/test_trae_agent.py:89
Methodtest_tool_initialization
(self)
tests/tools/test_bash_tool.py:19
Methodtest_tool_initialization
(self)
tests/agent/test_trae_agent.py:100
Methodtest_update_and_get_server_status
(self)
tests/utils/test_mcp_client.py:15
Methodtest_update_user_name
Test updating a name in a list of objects.
tests/tools/test_json_edit_tool.py:69
Methodtest_view_directory
(self)
tests/tools/test_edit_tool.py:103
Methodtest_view_file
(self)
tests/tools/test_edit_tool.py:112
Methodtest_view_operation
Test the view operation to ensure it reads and returns content.
tests/tools/test_json_edit_tool.py:168
Methodto_params
(self)
evaluation/patch_selection/trae_selector/tools/tools/bash.py:118
Methodto_params
(self)
evaluation/patch_selection/trae_selector/tools/tools/edit.py:36
Functiontools
Show available tools and their descriptions.
trae_agent/cli.py:707
Methodtools
(self)
trae_agent/tools/base.py:200
Methodtools
Get the tools available to this agent.
trae_agent/agent/base_agent.py:108
Methodtrajectory_recorder
Get the trajectory recorder for this agent.
trae_agent/agent/base_agent.py:88
Methodupdate_lakeview
(self, step_number: int, lakeview_summary: str)
trae_agent/utils/trajectory_recorder.py:191
Methodupdate_status
Update the console status with new agent step or execution info.
trae_agent/utils/cli/simple_console.py:41
Methodupdate_status
Update the console with agent status.
trae_agent/utils/cli/rich_console.py:301
Functionwrapper
(*args: Any, **kwargs: Any)
trae_agent/utils/llm_clients/retry_utils.py:31
Functionwrite_text
(filename, content)
evaluation/patch_selection/trae_selector/tools/tools/edit.py:21
← previous501–548 of 548, ranked by callers