chore: format
This commit is contained in:
@@ -543,7 +543,6 @@ async def image_generations(
|
||||
|
||||
model = get_image_model(request)
|
||||
|
||||
|
||||
try:
|
||||
if request.app.state.config.IMAGE_GENERATION_ENGINE == 'openai':
|
||||
headers = {
|
||||
@@ -856,7 +855,6 @@ async def image_edits(
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
try:
|
||||
if request.app.state.config.IMAGE_EDIT_ENGINE == 'openai':
|
||||
headers = {
|
||||
|
||||
@@ -2532,9 +2532,7 @@ async def delete_entries_from_collection(
|
||||
if hash is None:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_400_BAD_REQUEST,
|
||||
detail=ERROR_MESSAGES.DEFAULT(
|
||||
'File has no hash; cannot delete vector entries by hash.'
|
||||
),
|
||||
detail=ERROR_MESSAGES.DEFAULT('File has no hash; cannot delete vector entries by hash.'),
|
||||
)
|
||||
|
||||
# Pre-existing bug: this used `metadata=` which is not a
|
||||
|
||||
Reference in New Issue
Block a user