Skip to content

Commit 2a2d9e1

Browse files
committed
fix: image generation addapter, rename: outputImagesMaxCountSupported
1 parent 3177483 commit 2a2d9e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adminforth/types/Adapters.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export interface ImageGenerationAdapter {
3333
validate(): void;
3434

3535
/**
36-
* Return 1 or Infinity if the adapter supports multiple images
36+
* Return 1 or 10, or Infinity if the adapter supports multiple images
3737
*/
38-
outputImagesCountSupported(): number;
38+
outputImagesMaxCountSupported(): number;
3939

4040
/**
4141
* Return the list of supported dimensions in format ["100x500", "200x200"]
@@ -45,7 +45,7 @@ export interface ImageGenerationAdapter {
4545
/**
4646
* Input file extension supported
4747
*/
48-
inputFileExtensionSupported(prompt: string, inputFiles: string[]): string[];
48+
inputFileExtensionSupported(): string[];
4949

5050
generate(
5151
prompt: string,

0 commit comments

Comments
 (0)