Updates Anthropic API limits with detailed documentation
Revises token and character limit constants with more precise descriptions - Increases default max output tokens from 4000 to 8192 - Expands documentation explaining token-to-character estimation - Provides context about current Claude model token limits - Clarifies variability in character-to-token conversions
This commit is contained in:
2 files changed
+20
-6
No files matched your search
+1
-1
@@ -235,7 +235,7 @@ export class FreewritingCleanupSettingTab extends PluginSettingTab {
|
||||
|
||||
const limits = usageDiv.createEl('p');
|
||||
limits.createEl('strong', { text: 'Limits: ' });
|
||||
limits.appendText(`Maximum ${ANTHROPIC_LIMITS.MAX_CHARACTERS.toLocaleString()} characters per cleanup (~${Math.floor(ANTHROPIC_LIMITS.MAX_TOKENS / 4).toLocaleString()} words estimated)`);
|
||||
limits.appendText(`Maximum ${ANTHROPIC_LIMITS.MAX_TOKENS.toLocaleString()} tokens per cleanup (~${ANTHROPIC_LIMITS.MAX_CHARACTERS.toLocaleString()} characters, varies by language)`);
|
||||
|
||||
const format = usageDiv.createEl('p');
|
||||
format.createEl('strong', { text: 'Format: ' });
|
||||
|
||||
Reference in new issue
Block a user