fix: surface provider errors in chat instead of generic connection failures #1372
lint-backend.yml
on: pull_request
Ruff and mypy on changed files
19s
Annotations
10 errors and 2 warnings
|
ruff (I001):
src/api/chat.py#L72
src/api/chat.py:72:5: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (UP045):
src/api/chat.py#L50
src/api/chat.py:50:16: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP006):
src/api/chat.py#L47
src/api/chat.py:47:23: UP006 Use `dict` instead of `Dict` for type annotation
help: Replace with `dict`
|
|
ruff (UP045):
src/api/chat.py#L47
src/api/chat.py:47:14: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/api/chat.py#L45
src/api/chat.py:45:22: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/api/chat.py#L42
src/api/chat.py:42:27: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/api/chat.py#L23
src/api/chat.py:23:36: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (F401):
src/api/chat.py#L11
src/api/chat.py:11:5: F401 `dependencies.get_current_user` imported but unused
help: Remove unused import: `dependencies.get_current_user`
|
|
ruff (I001):
src/api/chat.py#L1
src/api/chat.py:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (UP035):
src/api/chat.py#L1
src/api/chat.py:1:1: UP035 `typing.Dict` is deprecated, use `dict` instead
|
|
Ruff and mypy on changed files
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, astral-sh/setup-uv@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Ruff and mypy on changed files
Failed to restore: Cache service responded with 400
|