Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Jun 17, 2024
1 parent b8eb1f4 commit 134ec38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ${{ matrix.os }}

env:
CONTROLFLOW_OPENAI_API_KEY: ${{ secrets.CONTROLFLOW_OPENAI_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/controlflow/core/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

def get_task_run_name() -> str:
context = TaskRunContext.get()
return f'Run {context.parameters['self'].friendly_name()}'
return f'Run {context.parameters["self"].friendly_name()}'


class TaskStatus(Enum):
Expand Down

0 comments on commit 134ec38

Please sign in to comment.