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 2b55087 commit 5eea861Copy full SHA for 5eea861
application/src/main/java/org/togetherjava/tjbot/features/chatgpt/ChatGptService.java
@@ -23,11 +23,8 @@ public class ChatGptService {
23
private static final Logger logger = LoggerFactory.getLogger(ChatGptService.class);
24
private static final Duration TIMEOUT = Duration.ofSeconds(90);
25
26
- /**
27
- * The maximum number of tokens allowed for the generated answer. This value is appropriate for
28
- * Discord's 2000 character message limit.
29
- */
30
- private static final int MAX_TOKENS = 500;
+ /** The maximum number of tokens allowed for the generated answer. */
+ private static final int MAX_TOKENS = 1000;
31
32
private boolean isDisabled = false;
33
private OpenAIClient openAIClient;
0 commit comments