feat: add support for Google Gemini configuration: temperaturemaxOutputTokenstopPtopK
fix: the abort button does not work when using Gemini.
Linked Issues
None.
Additional context
There are two similar parameters in the Gemini settings, the first is maxTokens. This parameter serves the same purpose as before, is used to cut the history length.
The second one is maxOutputTokens, which is an offical parameter for Gemini. In the Google docs, Input token limit is a fixed value, (e.g. 30720 for gemini-pro). The user can only change maxOutputTokens.
Description
temperature
maxOutputTokens
topP
topK
Linked Issues
None.
Additional context
There are two similar parameters in the Gemini settings, the first is
maxTokens
. This parameter serves the same purpose as before, is used to cut the history length.The second one is
maxOutputTokens
, which is an offical parameter for Gemini. In the Google docs,Input token limit
is a fixed value, (e.g. 30720 for gemini-pro). The user can only changemaxOutputTokens
.