Skip to content

Commit 521a641

Browse files
feat: increase the max chunks to 5
1 parent bec27f6 commit 521a641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/auto-release-description/generate_pr_description.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const path = require('path');
77
const MAX_TOKENS_PER_REQUEST = 80000; // Conservative limit for Gemini 2.5 Flash
88
const CHARS_PER_TOKEN = 4; // Rough estimation
99
//const MAX_CHARS_PER_CHUNK = MAX_TOKENS_PER_REQUEST * CHARS_PER_TOKEN;
10-
const MAX_CHUNKS = 3; // Limit to prevent excessive API calls
10+
const MAX_CHUNKS = 5; // Limit to prevent excessive API calls
1111

1212
/**
1313
* Estimate token count for text (rough approximation)

0 commit comments

Comments
 (0)