DeerFlow Integration with The Grid | config.yaml Setup
Set up DeerFlow with The Grid in config.yaml. Add ChatOpenAI models, point to the Grid endpoint, and set use_responses_api to false.
Prerequisites
Setup
1. Add the key to .env
.envTHEGRID_API_KEY=your-consumption-api-key-here2. Add Grid instruments to config.yaml
config.yamlmodels:
- name: agent-prime
display_name: "Grid: Agent Prime"
use: langchain_openai:ChatOpenAI
model: agent-prime
api_key: $THEGRID_API_KEY
base_url: https://api.thegrid.ai/v1
use_responses_api: false
supports_thinking: false
supports_vision: false
- name: agent-max
display_name: "Grid: Agent Max"
use: langchain_openai:ChatOpenAI
model: agent-max
api_key: $THEGRID_API_KEY
base_url: https://api.thegrid.ai/v1
use_responses_api: false
supports_thinking: false
supports_vision: false
- name: text-standard
display_name: "Grid: Text Standard"
use: langchain_openai:ChatOpenAI
model: text-standard
api_key: $THEGRID_API_KEY
base_url: https://api.thegrid.ai/v1
use_responses_api: false
supports_thinking: false
supports_vision: false
- name: code-prime
display_name: "Grid: Code Prime"
use: langchain_openai:ChatOpenAI
model: code-prime
api_key: $THEGRID_API_KEY
base_url: https://api.thegrid.ai/v1
use_responses_api: false
supports_thinking: false
supports_vision: false3. Route auxiliary features to a cheap tier
4. Restart DeerFlow
Verification
Troubleshooting
Last updated
Was this helpful?