chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-14 17:27:31 -05:00
parent f1be85d997
commit 5dae600ce7
81 changed files with 247 additions and 140 deletions
-2
View File
@@ -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 = {
+1 -3
View File
@@ -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