set gpt models char limit to infinity

This commit is contained in:
bflatastic committed 2026-05-14 09:14:48 +07:00
1 parent 7f40326223
commit 2de8ce7044
2 files changed
+4 -4

No files matched your search

@@ -85,7 +85,7 @@ export class Model {
this.providers = args.providers;
this.preferredProvidersByPage = args.preferredProvidersByPage;
this.progressBarTime = args.progressBarTime ?? 20000;
this.maxPromptLength = args.maxPromptLength ?? 1000;
this.maxPromptLength = args.maxPromptLength ?? 3000;
}
getProviders(): GenerationProvider[] {
@@ -310,7 +310,7 @@ export const IMAGE_MODELS: ImageModel[] = [
canUseImagePrompt: true,
maxImagePromptCount: 6,
progressBarTime: 60000,
maxPromptLength: 1500,
maxPromptLength: Infinity,
canChangeAspectRatio: true,
defaultQuality: CommonQuality.High,
qualityOptions: [
@@ -335,7 +335,7 @@ export const IMAGE_MODELS: ImageModel[] = [
canUseImagePrompt: true,
maxImagePromptCount: 6,
progressBarTime: 60000,
maxPromptLength: 1500,
maxPromptLength: Infinity,
canChangeAspectRatio: true,
defaultAspectRatio: CommonAspectRatio.Square,
aspectRatios: [
@@ -366,7 +366,7 @@ export const IMAGE_MODELS: ImageModel[] = [
canUseImagePrompt: true,
maxImagePromptCount: 6,
progressBarTime: 120000,
maxPromptLength: 1500,
maxPromptLength: Infinity,
canChangeAspectRatio: true,
defaultAspectRatio: CommonAspectRatio.Square,
aspectRatios: [