Documentation Index
Fetch the complete documentation index at: https://docs.camel-ai.org/llms.txt
Use this file to discover all available pages before exploring further.
BaseConfig
class BaseConfig(ABC, BaseModel):
Base configuration class for all models.
This class provides a common interface for all models, ensuring that all
models have a consistent set of attributes and methods.
fields_type_checking
def fields_type_checking(cls, tools):
Validate the type of tools in the configuration.
This method ensures that the tools provided in the configuration are
instances of FunctionTool. If any tool is not an instance of
FunctionTool, it raises a ValueError.
as_dict
Returns:
dict[str, Any]: A dictionary representation of the current
configuration.