diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e8571832..c17daf53 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 diff --git a/src/controlflow/core/task.py b/src/controlflow/core/task.py index 0769d2ae..2df27575 100644 --- a/src/controlflow/core/task.py +++ b/src/controlflow/core/task.py @@ -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):