Skip to content

Commit bfeedbd

Browse files
committed
🐛 FIX: workflow
1 parent 1dadc0b commit bfeedbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/workflow/email_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def process_email(email_content: str):
4545
langbase = Langbase(api_key=langbase_api_key)
4646

4747
# Create a new workflow
48-
workflow = Workflow()
48+
workflow = Workflow(debug=True)
4949

5050
try:
5151
# Steps 1 & 2: Run summary and sentiment analysis in parallel

examples/workflow/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def main():
2424
async def summarize_step():
2525
return langbase.agent.run(
2626
model="openai:gpt-4o-mini",
27-
api_key=os.environ.get("OPENAI_API_KEY"),
27+
api_key=os.environ.get("LLM_API_KEY"),
2828
input=[
2929
{
3030
"role": "system",

0 commit comments

Comments
 (0)