fix: pass model_type as positional arg to camel-ai ModelFactory.create
model_type must be a separate argument, not inside model_config_dict. Also ensure all 3 scripts have consistent ModelFactory.create calls.
This commit is contained in:
@@ -470,6 +470,7 @@ class RedditSimulationRunner:
|
||||
|
||||
return ModelFactory.create(
|
||||
model_platform=ModelPlatformType.OPENAI,
|
||||
model_type=llm_model,
|
||||
model_config_dict=model_config,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user