AutoGen errors / Config
Failed to instantiate component: model_info is required when model name is not a valid OpenAI model
Cause
AutoGen cannot infer capabilities for non-standard identifiers (Azure deployment names, local models), so it requires an explicit model_info dict when the name does not match a known OpenAI slug.
Fix
Add a model_info dict specifying capabilities (e.g. {"vision": false, "function_calling": true, "json_output": true}). For Azure OpenAI, pair the deployment name with the matching model_info for the underlying model. See the AutoGen ModelInfo dataclass for required keys.
Part of the Automation Error Index — AutoGen errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem