-
Notifications
You must be signed in to change notification settings - Fork 299
feat(New Model): Add support for gpt5 #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| defaults: | ||
| - benchmark: gaia-validation | ||
| - override hydra/job_logging: none | ||
| - _self_ # Allow defining variables at the top of this file | ||
|
|
||
|
|
||
| main_agent: | ||
| prompt_class: MainAgentPrompt_GAIA | ||
| llm: | ||
| provider_class: "GPT5OpenAIClient" | ||
| model_name: "gpt-5" | ||
| async_client: true | ||
| temperature: 1.0 | ||
| top_p: 1.0 | ||
| min_p: 0.0 | ||
| top_k: -1 | ||
| max_tokens: 128000 | ||
| reasoning_effort: "high" | ||
| openai_api_key: "${oc.env:OPENAI_API_KEY,???}" | ||
| openai_base_url: "${oc.env:OPENAI_BASE_URL,https://api.openai.com/v1}" | ||
| openrouter_provider: "" | ||
| disable_cache_control: true | ||
| keep_tool_result: -1 | ||
| oai_tool_thinking: false | ||
|
|
||
| tool_config: | ||
| - tool-reasoning | ||
|
|
||
| max_turns: -1 # Maximum number of turns for main agent execution | ||
| max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn | ||
|
|
||
| input_process: | ||
| hint_generation: true | ||
| hint_llm_base_url: "${oc.env:HINT_LLM_BASE_URL,https://api.openai.com/v1}" | ||
| output_process: | ||
| final_answer_extraction: true | ||
| final_answer_llm_base_url: "${oc.env:FINAL_ANSWER_LLM_BASE_URL,https://api.openai.com/v1}" | ||
|
|
||
| openai_api_key: "${oc.env:OPENAI_API_KEY,???}" # used for hint generation and final answer extraction | ||
| add_message_id: true | ||
| keep_tool_result: -1 | ||
| chinese_context: "${oc.env:CHINESE_CONTEXT,false}" | ||
|
|
||
|
|
||
| sub_agents: | ||
| agent-worker: | ||
| prompt_class: SubAgentWorkerPrompt | ||
| llm: | ||
| provider_class: "GPT5OpenAIClient" | ||
| model_name: "gpt-5" | ||
| async_client: true | ||
| temperature: 1.0 | ||
| top_p: 1.0 | ||
| min_p: 0.0 | ||
| top_k: -1 | ||
| max_tokens: 128000 | ||
| reasoning_effort: "medium" | ||
| openai_api_key: "${oc.env:OPENAI_API_KEY,???}" | ||
| openai_base_url: "${oc.env:OPENAI_BASE_URL,https://api.openai.com/v1}" | ||
| openrouter_provider: "" | ||
| disable_cache_control: true | ||
| keep_tool_result: -1 | ||
| oai_tool_thinking: false | ||
|
|
||
| tool_config: | ||
| - tool-searching | ||
| - tool-image-video | ||
| - tool-reading | ||
| - tool-code | ||
| - tool-audio | ||
|
|
||
| max_turns: -1 # Maximum number of turns for main agent execution | ||
| max_tool_calls_per_turn: 10 # Maximum number of tool calls per turn | ||
|
|
||
|
|
||
| # Can define some top-level or default parameters here | ||
| output_dir: logs/ | ||
| data_dir: "${oc.env:DATA_DIR,data}" # Points to where data is stored | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # GAIA Validation - GPT5 | ||
|
|
||
| MiroFlow now supports GPT-5 with MCP tool invocation, providing a unified workflow for multi-step reasoning, information integration, and scalable tool coordination. | ||
|
|
||
| !!! info "Prerequisites" | ||
| Before proceeding, please review the [GAIA Validation Prerequisites](gaia_validation_prerequisites.md) document, which covers common setup requirements, dataset preparation, and API key configuration. | ||
|
|
||
| --- | ||
|
|
||
| ## Running the Evaluation | ||
|
|
||
| ### Step 1: Dataset Preparation | ||
|
|
||
| Follow the [dataset preparation instructions](gaia_validation_prerequisites.md#dataset-preparation) in the prerequisites document. | ||
|
|
||
| ### Step 2: API Keys Configuration | ||
|
|
||
| Configure the following API keys in your `.env` file: | ||
|
|
||
| ```env title="GPT-5 .env Configuration" | ||
| # Search and web scraping capabilities | ||
| SERPER_API_KEY="your-serper-api-key" | ||
| JINA_API_KEY="your-jina-api-key" | ||
|
|
||
| # Code execution environment | ||
| E2B_API_KEY="your-e2b-api-key" | ||
|
|
||
| # Vision understanding capabilities | ||
| ANTHROPIC_API_KEY="your-anthropic-api-key" | ||
| GEMINI_API_KEY="your-gemini-api-key" | ||
|
|
||
| # Primary LLM provider, LLM judge, reasoning, and hint generation | ||
| OPENAI_API_KEY="your-openai-api-key" | ||
| OPENAI_BASE_URL="https://api.openai.com/v1" | ||
|
|
||
| ``` | ||
|
|
||
| ### Step 3: Run the Evaluation | ||
|
|
||
| Execute the evaluation using the GPT-5 configuration: | ||
|
|
||
| ```bash title="Run GAIA Validation with GPT-5" | ||
| uv run main.py common-benchmark \ | ||
| --config_file_name=agent_gaia-validation-gpt5 \ | ||
| output_dir="logs/gaia-validation-gpt5/$(date +"%Y%m%d_%H%M")" | ||
| ``` | ||
|
|
||
| ### Step 4: Monitor Progress | ||
|
|
||
| Follow the [progress monitoring instructions](gaia_validation_prerequisites.md#progress-monitoring-and-resume) in the prerequisites document. | ||
|
|
||
|
|
||
| --- | ||
|
|
||
| !!! info "Documentation Info" | ||
| **Last Updated:** October 2025 · **Doc Contributor:** Team @ MiroMind AI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.