Skip to content

Commit

Permalink
fix: update n type in OpenAI Model (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendong-Fan authored Nov 10, 2024
1 parent adf42eb commit 26be974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camel/models/openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def run(

self.model_config_dict["temperature"] = 1.0
self.model_config_dict["top_p"] = 1.0
self.model_config_dict["n"] = 1.0
self.model_config_dict["n"] = 1
self.model_config_dict["presence_penalty"] = 0.0
self.model_config_dict["frequency_penalty"] = 0.0

Expand Down

0 comments on commit 26be974

Please sign in to comment.