Skip to content

Commit 2d13eb5

Browse files
marcelklehrCopilot
andauthored
fix: Apply suggestions from code review
Co-authored-by: Copilot <[email protected]> Signed-off-by: Marcel Klehr <[email protected]>
1 parent 6d35e80 commit 2d13eb5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/integration_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
- name: Install llm2 app
149149
working-directory: llm2
150150
run: |
151+
sudo apt-get update
151152
sudo apt install pipx
152153
pipx install poetry
153154
poetry install

ex_app/lib/nc_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _generate(
127127
if task.status == "STATUS_FAILED":
128128
raise Exception("Nextcloud TaskProcessing Task failed")
129129

130-
if task.status == "STATUS_RUNNING" or task.status == "STATUS_SCHEDULED":
130+
if task.status in ("STATUS_RUNNING", "STATUS_SCHEDULED"):
131131
raise Exception("Nextcloud TaskProcessing Task timed out")
132132

133133
if not isinstance(task.output, dict) or "output" not in task.output:

0 commit comments

Comments
 (0)