mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: temerature cannot larger than 1
This commit is contained in:
parent
cd1a4a3e34
commit
8e1f1ba12a
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ export default class ChatGLMClient {
|
|||
conversationId = uuidv4(),
|
||||
messageId = uuidv4(),
|
||||
parentMessageId,
|
||||
temperature = Config.temperature
|
||||
temperature = Math.max(Config.temperature, 1)
|
||||
} = opts
|
||||
await this.initCache()
|
||||
let url = Config.chatglmBaseUrl + '/api/chat'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue