MCPcopy Create free account

hub / github.com/MiroMindAI/MiroThinker / functions

Functions534 in github.com/MiroMindAI/MiroThinker

↓ 1 callersFunctioncheck_unused_code
Check for unused code in the parser.
apps/lobehub-compatibility/test_tool_parser.py:291
↓ 1 callersMethodclose
Close the session and connection.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/browser_session.py:49
↓ 1 callersFunctionconvert_oai_tool_call_to_mcp_tool_call_str
(oai_tool_call)
apps/collect-trace/utils/converters/convert_oai_to_chatml.py:24
↓ 1 callersMethodcopy_gaia_text_103_tasks
Copy GAIA-Text-103 tasks from GAIA validation logs Args: gaia_logs_dir: Directory containing GAIA validation logs
apps/miroflow-agent/benchmarks/subset_extraction/gaia-to-text-103-mover.py:59
↓ 1 callersFunctioncreateBrowserStepHTML
(step, parentIndex)
apps/visualize-trace/static/js/script.js:717
↓ 1 callersFunctioncreateNewFormatToolCallHTML
(tool)
apps/visualize-trace/static/js/script.js:169
↓ 1 callersFunctioncreateStepHTML
(step, index)
apps/visualize-trace/static/js/script.js:622
↓ 1 callersMethodcreate_message
Call LLM to generate a response with optional tool call support. This is the main entry point for LLM interactions. It handles:
apps/miroflow-agent/src/llm/base_client.py:223
↓ 1 callersFunctiondetect_pass_at_k
Detect the pass_at_k value used in the results directory
apps/miroflow-agent/benchmarks/evaluators/calculate_average_score.py:12
↓ 1 callersFunctiondetermine_conversion_method
Determine conversion method based on provider Args: provider: LLM provider name Returns: 'oai' for OpenAI, 'non-oai' fo
apps/collect-trace/utils/converters/convert_to_chatml_auto_batch.py:36
↓ 1 callersFunctiondiscover_runs
Discover subdirectories inside results_dir that potentially contain a 'benchmark_results.jsonl'. We don't strictly require the subdir name to
apps/miroflow-agent/benchmarks/evaluators/extract_futurex_results.py:44
↓ 1 callersMethodend_sub_agent_session
End the current sub-agent session
apps/miroflow-agent/src/logging/task_logger.py:206
↓ 1 callersMethodend_workflow
Send end_of_workflow event. Args: workflow_id: The workflow ID to end
apps/miroflow-agent/src/core/stream_handler.py:79
↓ 1 callersMethodevaluate_accuracy
Evaluate pass@k accuracy (verification already done in run_single_task)
apps/miroflow-agent/benchmarks/common_benchmark.py:732
↓ 1 callersFunctionexample_1_basic_conversion
Example 1: Basic conversion using Python API
apps/collect-trace/utils/converters/example_usage.py:19
↓ 1 callersFunctionextract_eval_details_from_log
Extract evaluation details from a completed task log file. Returns: Dict with num_correct, num_expected, num_excessive, or empty dic
apps/miroflow-agent/benchmarks/check_progress/check_progress_deepsearchqa.py:21
↓ 1 callersFunctionextract_failure_experience_summary
Extract failure experience summary from LLM response text. The text may contain: - <think>...</think> block (thinking content) - Mai
apps/miroflow-agent/src/utils/parsing_utils.py:228
↓ 1 callersFunctionextract_info_with_llm
Summarize content using an LLM API. Args: content (str): The content to summarize info_to_extract (str): The specific types
libs/miroflow-tools/src/miroflow_tools/dev_mcp_servers/jina_scrape_llm_summary.py:588
↓ 1 callersMethodextract_task_info
Extract task information from a task file
apps/miroflow-agent/benchmarks/subset_extraction/gaia-text-103-grader.py:78
↓ 1 callersMethodextract_tool_calls_info
Extract tool call information from LLM response
apps/miroflow-agent/src/llm/providers/openai_client.py:334
↓ 1 callersFunctionfilter_google_search_organic
Filter google search organic results to remove unnecessary information
apps/gradio-demo/main.py:206
↓ 1 callersFunctionfilter_google_search_result
Filter google search result content based on environment variables. Args: result_content: The JSON string result from google search
libs/miroflow-tools/src/miroflow_tools/mcp_servers/searching_google_mcp_server.py:41
↓ 1 callersFunctionfilter_message
Filter message to remove unnecessary information
apps/gradio-demo/main.py:232
↓ 1 callersFunctionfind_json_files
Find JSON files from input paths Args: input_paths: List of file paths, directories, or patterns Returns: List of JSON
apps/collect-trace/utils/converters/convert_to_chatml_auto_batch.py:129
↓ 1 callersMethodfind_task_files
Find all task JSON files in the extraction directory
apps/miroflow-agent/benchmarks/subset_extraction/gaia-text-103-grader.py:66
↓ 1 callersFunctionformatFileSize
(bytes)
apps/visualize-trace/static/js/script.js:102
↓ 1 callersFunctionformatJsonContent
(content)
apps/visualize-trace/static/js/script.js:245
↓ 1 callersFunctionformatMcpToolCallWithPlaceholders
(text, placeholders)
apps/visualize-trace/static/js/script.js:111
↓ 1 callersMethodformat_final_summary_and_log
Format final summary information, including answers and token statistics. Args: final_answer_text: The final answer text
apps/miroflow-agent/src/io/output_formatter.py:126
↓ 1 callersMethodgenerate_and_finalize_answer
Generate final answer and handle fallback based on context management settings. Context Management (context_compress_limit > 0) is e
apps/miroflow-agent/src/core/answer_generator.py:462
↓ 1 callersMethodgenerate_final_answer_with_retries
Generate final answer with retry mechanism. Args: system_prompt: System prompt for the LLM message_history:
apps/miroflow-agent/src/core/answer_generator.py:256
↓ 1 callersFunctiongenerate_mcp_servers_str
(tool_definition)
apps/collect-trace/utils/converters/convert_oai_to_chatml.py:61
↓ 1 callersFunctiongenerate_summary
Generates a summary of benchmark results by reading log files from a directory, calculating total and average trace data, both overall and gr
apps/miroflow-agent/src/logging/summary_time_cost.py:82
↓ 1 callersMethodget_basic_info
Get basic information of the task
apps/visualize-trace/trace_analyzer.py:85
↓ 1 callersMethodget_browser_agent_session_messages
Get message list for specified session
apps/visualize-trace/trace_analyzer.py:125
↓ 1 callersFunctionget_color_for_level
Get color code based on log level for better visual distinction
apps/miroflow-agent/src/logging/task_logger.py:34
↓ 1 callersFunctionget_demo_summarize_prompt
Generate a user-friendly summarize prompt for demo mode. This prompt is designed for better user experience, producing well-formatted Ma
apps/gradio-demo/prompt_patch.py:46
↓ 1 callersFunctionget_env_info
Collect current configuration and environment information for logging. Gathers LLM settings, agent configuration, API key availability (mask
apps/miroflow-agent/src/config/settings.py:422
↓ 1 callersMethodget_execution_summary
Get execution summary information
apps/visualize-trace/trace_analyzer.py:350
↓ 1 callersMethodget_extra_info
Get the extra information attached to this response.
apps/miroflow-agent/src/utils/wrapper_utils.py:69
↓ 1 callersFunctionget_llm_provider
Extract llm_provider from JSON file Args: json_file_path: Path to JSON file Returns: llm_provider value or 'unknown' if
apps/collect-trace/utils/converters/convert_to_chatml_auto_batch.py:11
↓ 1 callersMethodget_performance_summary
Get performance summary information
apps/visualize-trace/trace_analyzer.py:99
↓ 1 callersMethodget_response
Get the wrapped response object.
apps/miroflow-agent/src/utils/wrapper_utils.py:73
↓ 1 callersMethodget_scrape_result
Process scrape result and truncate if too long. Args: result: Raw scrape result string (JSON or plain text) Ret
apps/miroflow-agent/src/core/tool_executor.py:193
↓ 1 callersMethodget_server_params
Get parameters for the specified server
libs/miroflow-tools/src/miroflow_tools/manager.py:100
↓ 1 callersMethodget_spans_summary
Get spans statistical summary
apps/visualize-trace/trace_analyzer.py:393
↓ 1 callersMethodget_step_logs_summary
Get step logs summary statistics
apps/visualize-trace/trace_analyzer.py:421
↓ 1 callersFunctionget_successful_log_paths
Collects the paths of successful log files from a dataset. This function extracts log file paths of successful records based on the valu
apps/collect-trace/utils/process_logs.py:10
↓ 1 callersMethodget_token_usage
(self)
apps/miroflow-agent/src/llm/providers/anthropic_client.py:395
↓ 1 callersMethodget_token_usage
(self)
apps/miroflow-agent/src/llm/providers/openai_client.py:480
↓ 1 callersFunctiongotoNextFile
()
apps/visualize-trace/static/js/script.js:387
↓ 1 callersFunctiongotoPrevFile
()
apps/visualize-trace/static/js/script.js:379
↓ 1 callersMethodgrade_all_tasks
Grade all tasks with concurrent processing
apps/miroflow-agent/benchmarks/subset_extraction/gaia-text-103-grader.py:158
↓ 1 callersMethodgrade_single_task
Grade a single task using GAIA-Text-103 evaluator
apps/miroflow-agent/benchmarks/subset_extraction/gaia-text-103-grader.py:119
↓ 1 callersFunctionguess_mime_media_type_from_extension
Guess the MIME type and media category based on the file extension. Returns: Tuple of (mime_type, media_category) where media_catego
libs/miroflow-tools/src/miroflow_tools/mcp_servers/vision_mcp_server.py:22
↓ 1 callersFunctionguess_mime_media_type_from_extension
Guess the MIME type based on the file extension.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/vision_mcp_server_os.py:19
↓ 1 callersMethodhandle_context_management_no_fallback
Handle failure when context_compress_limit > 0 (context management enabled). In this mode, the model has multiple chances to retry w
apps/miroflow-agent/src/core/answer_generator.py:409
↓ 1 callersMethodhandle_no_context_management_fallback
Handle fallback when context_compress_limit == 0 (no context management). In this mode, the model has only one chance to answer.
apps/miroflow-agent/src/core/answer_generator.py:355
↓ 1 callersMethodhas_extra_info
Check if this response has extra information attached.
apps/miroflow-agent/src/utils/wrapper_utils.py:65
↓ 1 callersFunctioninitializeApp
()
apps/visualize-trace/static/js/script.js:39
↓ 1 callersFunctioninstall_dependencies
Install dependencies (recommended to use uv)
apps/visualize-trace/run.py:29
↓ 1 callersFunctionisJsonString
(str)
apps/visualize-trace/static/js/script.js:231
↓ 1 callersMethodis_error_box
Check if the given object is an ErrorBox instance.
apps/miroflow-agent/src/utils/wrapper_utils.py:31
↓ 1 callersMethodis_google_search_empty_result
Check if google_search result has empty organic results. This indicates a poor search query that should be retried. Args:
apps/miroflow-agent/src/core/tool_executor.py:162
↓ 1 callersFunctionis_picture
Check if a shape is a picture
apps/miroflow-agent/src/io/input_handler.py:1069
↓ 1 callersMethodis_response_box
Check if the given object is a ResponseBox instance.
apps/miroflow-agent/src/utils/wrapper_utils.py:61
↓ 1 callersFunctionis_scrape_error
Check if the scrape result is an error
apps/gradio-demo/main.py:221
↓ 1 callersFunctionis_table
Check if a shape is a table
apps/miroflow-agent/src/io/input_handler.py:1078
↓ 1 callersFunctionload_miroflow_config
Load the full MiroFlow configuration using Hydra, similar to how benchmarks work.
apps/gradio-demo/main.py:43
↓ 1 callersMethodload_tasks
Load benchmark tasks from metadata.jsonl Args: limit: Maximum number of tasks to load (None for all) Returns:
apps/miroflow-agent/benchmarks/common_benchmark.py:843
↓ 1 callersFunctionlooks_like_dir
Return True if the given path either: - exists and is a directory, OR - does not exist but looks like a directory (e.g., ends with '/
libs/miroflow-tools/src/miroflow_tools/mcp_servers/python_mcp_server.py:56
↓ 1 callersFunctionmain
()
apps/lobehub-compatibility/test_tool_parser.py:337
↓ 1 callersFunctionmain
Main function
apps/visualize-trace/run.py:51
↓ 1 callersFunctionmain
(cfg: DictConfig)
apps/miroflow-agent/main.py:49
↓ 1 callersFunctionmain
()
apps/miroflow-agent/benchmarks/evaluators/calculate_average_score.py:108
↓ 1 callersFunctionmain
()
apps/miroflow-agent/benchmarks/evaluators/extract_futurex_results.py:77
↓ 1 callersFunctionmain
Main function
apps/miroflow-agent/benchmarks/subset_extraction/gaia-to-text-103-mover.py:129
↓ 1 callersFunctionmain
Main function
apps/miroflow-agent/benchmarks/subset_extraction/gaia-text-103-grader.py:245
↓ 1 callersFunctionmain
()
apps/collect-trace/utils/merge_chatml_msgs_to_one_json.py:42
↓ 1 callersFunctionmain
Main function
apps/collect-trace/utils/converters/convert_to_chatml_auto_batch.py:239
↓ 1 callersFunctionmain
Main function
apps/collect-trace/utils/converters/convert_non_oai_to_chatml.py:100
↓ 1 callersFunctionmain
Main function
apps/collect-trace/utils/converters/convert_oai_to_chatml.py:339
↓ 1 callersFunctionmajority_vote
Compute the majority-vote prediction for a list of candidate predictions. Tie-breaking rules (deterministic): 1) Highest frequency win
apps/miroflow-agent/benchmarks/evaluators/extract_futurex_results.py:11
↓ 1 callersFunctionmake_serper_request
Make HTTP request to Serper API with retry logic.
libs/miroflow-tools/src/miroflow_tools/dev_mcp_servers/search_and_scrape_webpage.py:47
↓ 1 callersFunctionmake_serper_request
Make HTTP request to Serper API with retry logic.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/serper_mcp_server.py:38
↓ 1 callersFunctionmake_sogou_request
Make request to Tencent Cloud SearchPro API with retry logic.
libs/miroflow-tools/src/miroflow_tools/dev_mcp_servers/search_and_scrape_webpage.py:212
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_webwalkerqa.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_seal-0.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_xbench_deepsearch.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_frames.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_browsecomp.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_hle-text-2158.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_aime2025.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_gaia-validation.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_deepsearchqa.py:337
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_browsecomp_zh.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_hle.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_gaia-validation-text-103.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/check_progress/check_progress_hle-text-500.py:18
↓ 1 callersFunctionparse_args
()
apps/miroflow-agent/benchmarks/evaluators/extract_futurex_results.py:60
← previousnext →201–300 of 534, ranked by callers