mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
Update openai_api.py
This commit is contained in:
parent
e52705925b
commit
4b2db708fd
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class OpenAILLM(BaseLLM):
|
|||
kwargs = {
|
||||
"messages": messages,
|
||||
"max_tokens": self._get_max_tokens(messages),
|
||||
"n": 1,
|
||||
# "n": 1, # Some services do not provide this parameter, such as mistral
|
||||
# "stop": None, # default it's None and gpt4-v can't have this one
|
||||
"temperature": self.config.temperature,
|
||||
"model": self.model,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue