*模型交互系统-自定义模型配置[model_settings]
需要自定义一个模型配置,可以直接继承ModelConfig来实现
example:
class CustomModel(ModelConfig):
    def __init__(self,model_name:str="custom_model",is_stream:bool=False,**kwargs):
        super().__init__(model_name,is_stream=is_stream,**kwargs)
使用自定义模型配置的方式:
1.直接使用
config = CustomModel()
2.使用ModelConfig注册表匹配最佳模型配置
from agent_os2 import ModelConfig
config = ModelConfig.get_model_config("custom-model-v1") -> 根据名字自动匹配到CustomModel配置对象
注:当出现大量相同参数但是名字不同的模型配置时,考虑写一个配置基类,比如CustomModelConfig,其构造函数只有model_name参数未子类指定
**当模型配置类类名以Config结尾时,ModelConfig注册表会将其视为配置基类而自动忽略该类**