Skip to content

Commit 1be69cb

Browse files
committed
disable caching for imageEdits
1 parent 55180e6 commit 1be69cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/handlers/services/cacheService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export class CacheService {
3535
'createFinetune',
3636
'retrieveFinetune',
3737
'cancelFinetune',
38+
'imageEdit',
3839
];
3940
return !nonCacheEndpoints.includes(endpoint);
4041
}

src/types/requestBody.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export interface Options {
146146
/** The parameter to determine if extra non-openai compliant fields should be returned in response */
147147
strictOpenAiCompliance?: boolean;
148148
/** Parameter to determine if fim/completions endpoint is to be used */
149-
mistralFimCompletion?: String;
149+
mistralFimCompletion?: string;
150150
/** Anthropic specific headers */
151151
anthropicBeta?: string;
152152
anthropicVersion?: string;

0 commit comments

Comments
 (0)