Skip to content

Commit 4bf3bcf

Browse files
committed
higher temp and penalty on response
1 parent 4d320bf commit 4bf3bcf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/clients/twitter/generate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class TwitterGenerationClient extends ClientBase {
105105
const newTweetContent = await this.runtime.completion({
106106
context,
107107
stop: [],
108-
temperature: this.temperature,
108+
temperature: this.temperature + 0.3,
109109
frequency_penalty: 0.5,
110110
presence_penalty: 0.5,
111111
});

src/clients/twitter/search.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ export class TwitterSearchClient extends ClientBase {
271271
const responseContent = await this.runtime.messageCompletion({
272272
context,
273273
stop: [],
274-
temperature: this.temperature,
274+
temperature: this.temperature + 0.3,
275+
frequency_penalty: 0.5,
276+
presence_penalty: 0.5,
275277
});
276278

277279
responseContent.inReplyTo = message.id;

0 commit comments

Comments
 (0)