Merge branch 'geekan:main' into main

This commit is contained in:
YangQianli92
2024-02-29 10:13:22 +08:00
committed by GitHub
+1 -1
View File
@@ -99,7 +99,7 @@ class OpenAILLM(BaseLLM):
"max_tokens": self._get_max_tokens(messages),
"n": 1,
# "stop": None, # default it's None and gpt4-v can't have this one
"temperature": 0.3,
"temperature": self.config.temperature,
"model": self.model,
"timeout": max(self.config.timeout, timeout),
}