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:
Kunthawat Greethong
2026-06-18 09:17:34 +07:00
parent b30ed19b16
commit 31d1ebd49b
3 changed files with 4 additions and 1 deletions

View File

@@ -463,6 +463,7 @@ class TwitterSimulationRunner:
return ModelFactory.create(
model_platform=ModelPlatformType.OPENAI,
model_type=llm_model,
model_config_dict=model_config,
)