Skip to content

Commit f922bfe

Browse files
authored
fix(docs-config): update docs and configs to make them more structured (#78)
update docs and configs
1 parent 234d2c0 commit f922bfe

35 files changed

+886
-199
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77

88
<div align="center">
99

10-
[![DOCS](https://img.shields.io/badge/Documentation-4285F4?style=for-the-badge&logo=gitbook&logoColor=white)](https://miromindai.github.io/MiroFlow/)
1110
[![DEMO](https://img.shields.io/badge/Demo-FFB300?style=for-the-badge&logo=airplayvideo&logoColor=white)](https://dr.miromind.ai/)
1211
[![MODELS](https://img.shields.io/badge/Models-5EDDD2?style=for-the-badge&logo=huggingface&logoColor=ffffff&labelColor)](https://huggingface.co/collections/miromind-ai/mirothinker-v02-68af084a18035f57b17cd902)
1312
[![DATA](https://img.shields.io/badge/Data-0040A1?style=for-the-badge&logo=huggingface&logoColor=ffffff&labelColor)](https://huggingface.co/datasets/miromind-ai/MiroVerse-v0.1)
14-
1513
[![BLOG](https://img.shields.io/badge/Blog-4285F4?style=for-the-badge&logo=google-chrome&logoColor=white)](https://miromind.ai/blog/miroflow)
14+
1615
[![GITHUB](https://img.shields.io/badge/Github-24292F?style=for-the-badge&logo=github&logoColor=white)](https://github.com/MiroMindAI)
1716
[![DISCORD](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/invite/GPqEnkzQZd)
1817
[![WeChat](https://img.shields.io/badge/WeChat-07C160?style=for-the-badge&logo=wechat&logoColor=white)](https://huggingface.co/datasets/miromind-ai/MiroFlow-Benchmarks/resolve/main/assets/wechat.png)
@@ -22,7 +21,9 @@
2221

2322
<div align="center">
2423

25-
### 🚀 [Try our Demo!](https://dr.miromind.ai/)[中文](README_zh.md)[日本語](README_ja.md)
24+
## 📚 **[READ THE DOCUMENTATION](https://miromindai.github.io/MiroFlow/)**
25+
26+
### 🚀 [Try Demo](https://dr.miromind.ai/)[中文](README_zh.md)[日本語](README_ja.md)
2627

2728
</div>
2829

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
defaults:
2+
- benchmark: browsecomp-en
3+
- override hydra/job_logging: none
4+
- _self_ # Allow defining variables at the top of this file
5+
6+
7+
main_agent:
8+
prompt_class: MainAgentPrompt_GAIA
9+
llm:
10+
provider_class: "ClaudeOpenRouterClient"
11+
model_name: "anthropic/claude-3.7-sonnet"
12+
async_client: true
13+
temperature: 0.3
14+
top_p: 0.95
15+
min_p: 0.0
16+
top_k: -1
17+
max_tokens: 32000
18+
openrouter_api_key: "${oc.env:OPENROUTER_API_KEY,???}"
19+
openrouter_base_url: "${oc.env:OPENROUTER_BASE_URL,https://openrouter.ai/api/v1}"
20+
openrouter_provider: "anthropic"
21+
disable_cache_control: false
22+
keep_tool_result: -1
23+
oai_tool_thinking: false
24+
25+
tool_config:
26+
- tool-reasoning
27+
28+
max_turns: 50 # Maximum number of turns for main agent execution
29+
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
30+
31+
input_process:
32+
hint_generation: true
33+
hint_llm_base_url: "${oc.env:HINT_LLM_BASE_URL,https://api.openai.com/v1}"
34+
output_process:
35+
final_answer_extraction: true
36+
final_answer_llm_base_url: "${oc.env:FINAL_ANSWER_LLM_BASE_URL,https://api.openai.com/v1}"
37+
38+
openai_api_key: "${oc.env:OPENAI_API_KEY,???}" # used for hint generation and final answer extraction
39+
add_message_id: true
40+
keep_tool_result: -1
41+
chinese_context: "${oc.env:CHINESE_CONTEXT,false}"
42+
43+
44+
sub_agents:
45+
agent-worker:
46+
prompt_class: SubAgentWorkerPrompt
47+
llm:
48+
provider_class: "ClaudeOpenRouterClient"
49+
model_name: "anthropic/claude-3.7-sonnet"
50+
async_client: true
51+
temperature: 0.3
52+
top_p: 0.95
53+
min_p: 0.0
54+
top_k: -1
55+
max_tokens: 32000
56+
openrouter_api_key: "${oc.env:OPENROUTER_API_KEY,???}"
57+
openrouter_base_url: "${oc.env:OPENROUTER_BASE_URL,https://openrouter.ai/api/v1}"
58+
openrouter_provider: "anthropic"
59+
disable_cache_control: false
60+
keep_tool_result: -1
61+
oai_tool_thinking: false
62+
63+
tool_config:
64+
- tool-searching
65+
- tool-image-video
66+
- tool-reading
67+
- tool-code
68+
- tool-audio
69+
70+
max_turns: 50 # Maximum number of turns for main agent execution
71+
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
72+
73+
74+
# Can define some top-level or default parameters here
75+
output_dir: logs/
76+
data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored
77+
78+
Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
11
defaults:
2-
- benchmark: gaia-validation
2+
- benchmark: browsecomp-en
33
- override hydra/job_logging: none
44
- _self_ # Allow defining variables at the top of this file
55

66

77
main_agent:
8-
prompt_class: MainAgentPromptBoxedAnswer
8+
prompt_class: MainAgentPrompt_GAIA
99
llm:
1010
provider_class: "MiroThinkerSGLangClient"
11-
model_name: "MODEL_NAME"
11+
model_name: "DUMMY_MODEL_NAME"
1212
async_client: true
13-
temperature: 0.6
13+
temperature: 0.3
1414
top_p: 0.95
1515
min_p: 0.0
1616
top_k: -1
17-
max_tokens: 8192
17+
max_tokens: 4096
1818
oai_mirothinker_api_key: "${oc.env:OAI_MIROTHINKER_API_KEY,dummy_key}"
1919
oai_mirothinker_base_url: "${oc.env:OAI_MIROTHINKER_BASE_URL,http://localhost:61005/v1}"
2020
keep_tool_result: -1
2121
oai_tool_thinking: false
2222

23-
tool_config: []
23+
tool_config:
24+
- tool-reasoning
2425

25-
max_turns: -1 # Maximum number of turns for main agent execution
26+
max_turns: 50 # Maximum number of turns for main agent execution
2627
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
2728

2829
input_process:
2930
hint_generation: false
3031
hint_llm_base_url: "${oc.env:HINT_LLM_BASE_URL,https://api.openai.com/v1}"
32+
3133
output_process:
32-
final_answer_extraction: false
34+
final_answer_extraction: true
3335
final_answer_llm_base_url: "${oc.env:FINAL_ANSWER_LLM_BASE_URL,https://api.openai.com/v1}"
3436

3537
openai_api_key: "${oc.env:OPENAI_API_KEY,???}" # used for hint generation and final answer extraction
@@ -43,25 +45,31 @@ sub_agents:
4345
prompt_class: SubAgentWorkerPrompt
4446
llm:
4547
provider_class: "MiroThinkerSGLangClient"
46-
model_name: "MODEL_NAME"
48+
model_name: "DUMMY_MODEL_NAME"
4749
async_client: true
48-
temperature: 0.6
49-
top_p: 0.95
50+
temperature: 0.3
51+
top_p: 1.0
5052
min_p: 0.0
5153
top_k: -1
52-
max_tokens: 8192
54+
max_tokens: 4096
5355
oai_mirothinker_api_key: "${oc.env:OAI_MIROTHINKER_API_KEY,dummy_key}"
5456
oai_mirothinker_base_url: "${oc.env:OAI_MIROTHINKER_BASE_URL,http://localhost:61005/v1}"
5557
keep_tool_result: -1
5658
oai_tool_thinking: false
5759

5860
tool_config:
61+
- tool-searching
62+
- tool-image-video
5963
- tool-reading
64+
- tool-code
65+
- tool-audio
6066

61-
max_turns: -1 # Maximum number of turns for main agent execution
67+
max_turns: 50 # Maximum number of turns for main agent execution
6268
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
6369

6470

6571
# Can define some top-level or default parameters here
6672
output_dir: logs/
67-
data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored
73+
data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored
74+
75+
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
defaults:
2+
- benchmark: finsearchcomp
3+
- override hydra/job_logging: none
4+
- _self_ # Allow defining variables at the top of this file
5+
6+
7+
main_agent:
8+
prompt_class: MainAgentPrompt_GAIA
9+
llm:
10+
provider_class: "ClaudeOpenRouterClient"
11+
model_name: "anthropic/claude-3.7-sonnet"
12+
async_client: true
13+
temperature: 0.6
14+
top_p: 0.95
15+
min_p: 0.0
16+
top_k: -1
17+
max_tokens: 32000
18+
openrouter_api_key: "${oc.env:OPENROUTER_API_KEY,???}"
19+
openrouter_base_url: "${oc.env:OPENROUTER_BASE_URL,https://openrouter.ai/api/v1}"
20+
openrouter_provider: "anthropic"
21+
disable_cache_control: false
22+
keep_tool_result: -1
23+
oai_tool_thinking: false
24+
25+
tool_config:
26+
- tool-reasoning
27+
28+
max_turns: 20 # Maximum number of turns for main agent execution
29+
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
30+
31+
input_process:
32+
hint_generation: true
33+
hint_llm_base_url: "${oc.env:HINT_LLM_BASE_URL,https://api.openai.com/v1}"
34+
output_process:
35+
final_answer_extraction: true
36+
final_answer_llm_base_url: "${oc.env:FINAL_ANSWER_LLM_BASE_URL,https://api.openai.com/v1}"
37+
38+
openai_api_key: "${oc.env:OPENAI_API_KEY,???}" # used for hint generation and final answer extraction
39+
add_message_id: true
40+
keep_tool_result: -1
41+
chinese_context: "${oc.env:CHINESE_CONTEXT,false}"
42+
43+
44+
sub_agents:
45+
agent-worker:
46+
prompt_class: SubAgentWorkerPrompt
47+
llm:
48+
provider_class: "ClaudeOpenRouterClient"
49+
model_name: "anthropic/claude-3.7-sonnet"
50+
async_client: true
51+
temperature: 0.6
52+
top_p: 0.95
53+
min_p: 0.0
54+
top_k: -1
55+
max_tokens: 32000
56+
openrouter_api_key: "${oc.env:OPENROUTER_API_KEY,???}"
57+
openrouter_base_url: "${oc.env:OPENROUTER_BASE_URL,https://openrouter.ai/api/v1}"
58+
openrouter_provider: "anthropic"
59+
disable_cache_control: false
60+
keep_tool_result: -1
61+
oai_tool_thinking: false
62+
63+
tool_config:
64+
- tool-searching
65+
- tool-image-video
66+
- tool-reading
67+
- tool-code
68+
- tool-audio
69+
70+
max_turns: 20 # Maximum number of turns for main agent execution
71+
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
72+
73+
# Can define some top-level or default parameters here
74+
output_dir: logs/
75+
data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored
76+
77+

config/agent_finsearchcomp.yaml renamed to config/agent_finsearchcomp_mirothinker.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ main_agent:
88
prompt_class: MainAgentPrompt_GAIA
99
llm:
1010
provider_class: "MiroThinkerSGLangClient"
11-
model_name: "MODEL_NAME"
11+
model_name: "DUMMY_MODEL_NAME"
1212
async_client: true
1313
temperature: 0.6
1414
top_p: 0.95
@@ -44,7 +44,7 @@ sub_agents:
4444
prompt_class: SubAgentWorkerPrompt
4545
llm:
4646
provider_class: "MiroThinkerSGLangClient"
47-
model_name: "MODEL_NAME"
47+
model_name: "DUMMY_MODEL_NAME"
4848
async_client: true
4949
temperature: 0.6
5050
top_p: 0.95
@@ -69,3 +69,5 @@ sub_agents:
6969
# Can define some top-level or default parameters here
7070
output_dir: logs/
7171
data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored
72+
73+

config/agent_gaia-validation-text-only_mirothinker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ main_agent:
88
prompt_class: MainAgentPrompt_GAIA
99
llm:
1010
provider_class: "MiroThinkerSGLangClient"
11-
model_name: "MODEL_NAME"
11+
model_name: "DUMMY_MODEL_NAME"
1212
async_client: true
1313
temperature: 0.3
1414
top_p: 0.95
@@ -45,7 +45,7 @@ sub_agents:
4545
prompt_class: SubAgentWorkerPrompt
4646
llm:
4747
provider_class: "MiroThinkerSGLangClient"
48-
model_name: "anthropic/claude-3.7-sonnet"
48+
model_name: "DUMMY_MODEL_NAME"
4949
async_client: true
5050
temperature: 0.3
5151
top_p: 1.0
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
defaults:
2+
- benchmark: gaia-validation-text-only
3+
- override hydra/job_logging: none
4+
- _self_ # Allow defining variables at the top of this file
5+
6+
7+
main_agent:
8+
prompt_class: MainAgentPrompt_GAIA
9+
llm:
10+
provider_class: "MiroThinkerSGLangClient"
11+
model_name: "MODEL_NAME"
12+
async_client: true
13+
temperature: 0.3
14+
top_p: 0.95
15+
min_p: 0.0
16+
top_k: -1
17+
max_tokens: 4096
18+
oai_mirothinker_api_key: "${oc.env:OAI_MIROTHINKER_API_KEY,dummy_key}"
19+
oai_mirothinker_base_url: "${oc.env:OAI_MIROTHINKER_BASE_URL,http://localhost:61005/v1}"
20+
keep_tool_result: -1
21+
oai_tool_thinking: false
22+
23+
tool_config:
24+
- tool-reasoning
25+
- tool-searching
26+
- tool-image-video
27+
- tool-reading
28+
- tool-code
29+
- tool-audio
30+
31+
max_turns: 50 # Maximum number of turns for main agent execution
32+
max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn
33+
34+
input_process:
35+
hint_generation: false
36+
hint_llm_base_url: "${oc.env:HINT_LLM_BASE_URL,https://api.openai.com/v1}"
37+
38+
output_process:
39+
final_answer_extraction: true
40+
final_answer_llm_base_url: "${oc.env:FINAL_ANSWER_LLM_BASE_URL,https://api.openai.com/v1}"
41+
42+
openai_api_key: "${oc.env:OPENAI_API_KEY,???}" # used for hint generation and final answer extraction
43+
add_message_id: true
44+
keep_tool_result: -1
45+
chinese_context: "${oc.env:CHINESE_CONTEXT,false}"
46+
47+
48+
sub_agents: null
49+
50+
# Can define some top-level or default parameters here
51+
output_dir: logs/
52+
data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored
53+

0 commit comments

Comments
 (0)