Skip to content

Commit 8f7abbe

Browse files
nficanoclaude
andcommitted
recipes: apply ruff format to recipes/ to satisfy CI format check
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 11ba782 commit 8f7abbe

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

recipes/email-vendor-leases/server.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,20 @@
5555

5656
# stand-in inbox so the recipe is self-contained — swap for IMAP/Gmail in real use
5757
INBOX = {
58-
"m1": {"id": "m1", "from": "ops@acme.dev", "subject": "Status", "body": "All quiet.", "urgency": "low"},
59-
"m2": {"id": "m2", "from": "ceo@acme.dev", "subject": "Outage!", "body": "Site is down — fix asap.", "urgency": "high"},
58+
"m1": {
59+
"id": "m1",
60+
"from": "ops@acme.dev",
61+
"subject": "Status",
62+
"body": "All quiet.",
63+
"urgency": "low",
64+
},
65+
"m2": {
66+
"id": "m2",
67+
"from": "ceo@acme.dev",
68+
"subject": "Outage!",
69+
"body": "Site is down — fix asap.",
70+
"urgency": "high",
71+
},
6072
}
6173

6274

recipes/stream-resume/server.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ async def long_form(input: dict, ctx: JobContext) -> None:
3636
completion = await glm.chat.completions.create(
3737
model="glm-5",
3838
stream=True,
39-
messages=[
40-
{"role": "user", "content": f"Write a 2000-word article on: {input['topic']}"}
41-
],
39+
messages=[{"role": "user", "content": f"Write a 2000-word article on: {input['topic']}"}],
4240
)
4341

4442
buf = ""

0 commit comments

Comments
 (0)