Skip to content

Commit 4078e79

Browse files
Fix formatting issues in orchestrator.py by removing unnecessary blank lines
1 parent 40249e1 commit 4078e79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

content-gen/src/backend/orchestrator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,15 +1253,15 @@ async def _generate_foundry_image(self, image_prompt: str, results: dict) -> Non
12531253
api_version = app_settings.azure_openai.preview_api_version or "2024-02-01"
12541254
else:
12551255
api_version = app_settings.azure_openai.image_api_version or "2025-04-01-preview"
1256-
1256+
12571257
logger.info(f"Calling Foundry direct image API: {image_api_url}")
12581258
logger.info(f"Prompt: {image_prompt[:200]}...")
12591259

12601260
headers = {
12611261
"Authorization": f"Bearer {token.token}",
12621262
"Content-Type": "application/json",
12631263
}
1264-
1264+
12651265
# Build model-appropriate payload
12661266
if is_dalle3:
12671267
# dall-e-3: quality must be "standard" or "hd"; needs response_format; 4000-char prompt limit
@@ -1280,7 +1280,7 @@ async def _generate_foundry_image(self, image_prompt: str, results: dict) -> Non
12801280
"size": "1024x1024",
12811281
"quality": "medium",
12821282
}
1283-
1283+
12841284
async with httpx.AsyncClient(timeout=120.0) as client:
12851285
response = await client.post(
12861286
f"{image_api_url}?api-version={api_version}",

0 commit comments

Comments
 (0)