You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following works: basic_llm_config = LLMConfig(config_list=[{"model": "gpt-4.1-mini", "api_type": "openai"}])
and basic_llm_config = LLMConfig(model="gpt-4.1-mini", api_type="openai", parallel_tool_calls=False)
However, the following doesn't work: basic_llm_config = LLMConfig(config_list=[{"model": "gpt-4.1-mini", "api_type": "openai", "parallel_tool_calls": False}])
Raises a Pydantic ValidationError exception:
pydantic_core._pydantic_core.ValidationError: 1 validation error for _LLMConfig
config_list.0.openai.parallel_tool_calls
Extra inputs are not permitted [type=extra_forbidden, input_value=False, input_type=bool]
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
The following works:
basic_llm_config = LLMConfig(config_list=[{"model": "gpt-4.1-mini", "api_type": "openai"}])
and
basic_llm_config = LLMConfig(model="gpt-4.1-mini", api_type="openai", parallel_tool_calls=False)
However, the following doesn't work:
basic_llm_config = LLMConfig(config_list=[{"model": "gpt-4.1-mini", "api_type": "openai", "parallel_tool_calls": False}])
Raises a Pydantic ValidationError exception:
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: