Skip to content

Commit f9c7f28

Browse files
committed
3.11.4 min_tokens update
1 parent 3099677 commit f9c7f28

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

release/app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentient-sims-app",
3-
"version": "3.11.3",
3+
"version": "3.11.4",
44
"description": "Companion app for the Sentient Sims mod",
55
"license": "MIT",
66
"author": {

src/main/sentient-sims/services/VLLMAIService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class VLLMAIService implements GenerationService {
115115
temperature: modelSettings.temperature,
116116
top_p: modelSettings.top_p,
117117
top_k: modelSettings.top_k,
118-
min_tokens: 3,
118+
min_tokens: 5,
119119
repetition_penalty: modelSettings.repetition_penalty,
120120
add_generation_prompt: !request.includesAssistantPreResponse,
121121
continue_final_message: request.includesAssistantPreResponse,
@@ -142,6 +142,7 @@ export class VLLMAIService implements GenerationService {
142142
type: 'json_schema',
143143
};
144144
completionRequest.response_format = schema;
145+
completionRequest.min_tokens = undefined;
145146
}
146147

147148
log.debug(`Request: ${JSON.stringify(completionRequest, null, 2)}`);

0 commit comments

Comments
 (0)