接口的使用
io.agentscope.core.model.ModelRegistry.ModelFactory
-
io.agentscope.core.model中ModelRegistry.ModelFactory的使用
修饰符和类型方法说明static voidModelRegistry.registerFactory(String modelNameRegex, ModelRegistry.ModelFactory factory) Registers a factory matched against the fullmodelIdstring usingPattern.matches(java.lang.String, java.lang.CharSequence).