Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/markdown-code-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13.11"
python-version: "3.14.3"

- name: Install uv
uses: astral-sh/setup-uv@v7
Expand Down
2 changes: 1 addition & 1 deletion agent_cli/_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def execute_code(code: str) -> str:
except subprocess.CalledProcessError as e:
return f"Error executing code: {e.stderr}"
except FileNotFoundError:
return f"Error: Command not found: {code.split()[0]}"
return f"Error: Command not found: {code.split(maxsplit=1)[0]}"


def add_memory(content: str, category: str = "general", tags: str = "") -> str:
Expand Down
2 changes: 1 addition & 1 deletion agent_cli/agents/transcribe_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def _process_segment( # noqa: PLR0912
if cfg.clipboard:
import pyperclip # noqa: PLC0415

text_to_copy = processed if processed else transcript
text_to_copy = processed or transcript
pyperclip.copy(text_to_copy)

# Log
Expand Down
2 changes: 1 addition & 1 deletion agent_cli/core/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _is_uvx_cache() -> bool:

def _check_package_installed(pkg: str) -> bool:
"""Check if a single package is installed."""
top_module = pkg.split(".")[0]
top_module = pkg.split(".", maxsplit=1)[0]
try:
return find_spec(top_module) is not None
except (ValueError, ModuleNotFoundError):
Expand Down
4 changes: 2 additions & 2 deletions agent_cli/dev/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def _get_config_agent_env() -> dict[str, dict[str, str]] | None:
agent_name = key[len(prefix) :]
result[agent_name] = value

return result if result else None
return result or None


def _get_agent_env(agent: CodingAgent) -> dict[str, str]:
Expand Down Expand Up @@ -350,7 +350,7 @@ def _merge_agent_args(
if cli_args:
result.extend(cli_args)

return result if result else None
return result or None


def _is_ssh_session() -> bool:
Expand Down
2 changes: 1 addition & 1 deletion agent_cli/install/service_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def build_service_command(
args.extend(["--python", service.python_version])

# Build the command: either custom command path or default "server <name>"
cmd_path = service.command if service.command else ["server", service.name]
cmd_path = service.command or ["server", service.name]

args.extend(
[
Expand Down
4 changes: 2 additions & 2 deletions docker/memory-proxy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# =============================================================================
# Builder stage - install dependencies and project
# =============================================================================
FROM python:3.13-slim AS builder
FROM python:3.14-slim AS builder

RUN apt-get update && \
apt-get install -y --no-install-recommends git build-essential && \
Expand All @@ -51,7 +51,7 @@ RUN uv sync --frozen --no-dev --no-editable --extra memory
# =============================================================================
# Runtime stage - minimal image using Python slim directly
# =============================================================================
FROM python:3.13-slim
FROM python:3.14-slim

# Install runtime dependencies:
# - libgomp1: Required by onnxruntime for parallel processing
Expand Down
4 changes: 2 additions & 2 deletions docker/rag-proxy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# =============================================================================
# Builder stage - install dependencies and project
# =============================================================================
FROM python:3.13-slim AS builder
FROM python:3.14-slim AS builder

RUN apt-get update && \
apt-get install -y --no-install-recommends git build-essential && \
Expand All @@ -48,7 +48,7 @@ RUN uv sync --frozen --no-dev --no-editable --extra rag
# =============================================================================
# Runtime stage - minimal image using Python slim directly
# =============================================================================
FROM python:3.13-slim
FROM python:3.14-slim

# Install runtime dependencies:
# - libgomp1: Required by onnxruntime for parallel processing
Expand Down
4 changes: 2 additions & 2 deletions docker/transcribe-proxy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# =============================================================================
# Builder stage - install dependencies and project
# =============================================================================
FROM python:3.13-alpine AS builder
FROM python:3.14-alpine AS builder

RUN apk add --no-cache git

Expand All @@ -41,7 +41,7 @@ RUN uv sync --frozen --no-dev --no-editable --extra server --extra wyoming --ext
# =============================================================================
# Runtime stage - minimal Alpine image
# =============================================================================
FROM python:3.13-alpine
FROM python:3.14-alpine

RUN apk add --no-cache ffmpeg

Expand Down
6 changes: 3 additions & 3 deletions docker/tts.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# =============================================================================
# Builder stage for CUDA - Kokoro TTS (requires build tools)
# =============================================================================
FROM python:3.13-slim AS builder-cuda
FROM python:3.14-slim AS builder-cuda

RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential git && \
Expand All @@ -32,7 +32,7 @@ RUN uv sync --frozen --no-dev --no-editable --extra server --extra kokoro --extr
# =============================================================================
# Builder stage for CPU - Piper TTS
# =============================================================================
FROM python:3.13-slim AS builder-cpu
FROM python:3.14-slim AS builder-cpu

RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
Expand Down Expand Up @@ -108,7 +108,7 @@ ENTRYPOINT ["sh", "-c", "agent-cli server tts \
# =============================================================================
# CPU target: CPU-only with Piper TTS
# =============================================================================
FROM python:3.13-slim AS cpu
FROM python:3.14-slim AS cpu

COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

Expand Down
4 changes: 2 additions & 2 deletions docker/whisper.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# =============================================================================
# Builder stage - install dependencies and project
# =============================================================================
FROM python:3.13-slim AS builder
FROM python:3.14-slim AS builder

RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
Expand Down Expand Up @@ -83,7 +83,7 @@ ENTRYPOINT ["sh", "-c", "agent-cli server whisper \
# =============================================================================
# CPU target: CPU-only with faster-whisper
# =============================================================================
FROM python:3.13-slim AS cpu
FROM python:3.14-slim AS cpu

COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies = [
"setproctitle",
]
# TODO: remove <3.14 constraint when onnxruntime supports 3.14 (https://github.com/microsoft/onnxruntime/issues/26309)
requires-python = ">=3.11,<3.14"
requires-python = ">=3.14,<3.15"

[project.readme]
file = "README.md"
Expand Down
Loading