We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6d558 commit 2b0ec1fCopy full SHA for 2b0ec1f
src/main.js
@@ -86,7 +86,7 @@ function buildRequestBody(model, query) {
86
const systemPrompt = customSystemPrompt || generatedSystemPrompt;
87
const userPrompt = customUserPrompt || generatedUserPrompt;
88
89
- const modelTemperature = Number(temperature || 0.2);
+ const modelTemperature = Number(temperature ?? 0.2);
90
91
const standardBody = {
92
model: model,
0 commit comments