Skip to content

Commit eb2a250

Browse files
committed
use new way of doing LLM call
1 parent ebac871 commit eb2a250

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/DuckLanguageServer/DuckLanguageServer.class.st

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,9 @@ DuckLanguageServer >> generateCommentFor: uri from: startPos to: endPos [
279279
api payload
280280
model: 'mistral-small-latest';
281281
top_p: 1;
282-
response_format: 'json';
282+
response_format: (LLMAPIChatObjectResponseFormat new
283+
type: #json_object;
284+
yourself);
283285
messages: {
284286
(LLMAPIChatObjectMessage
285287
role: 'system'

0 commit comments

Comments
 (0)