Skip to content
Merged
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: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Other Changes
- Minor improvements to the `agent` command and related utilities.
9 changes: 5 additions & 4 deletions dispatch_cli/commands/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2291,17 +2291,18 @@ def deploy(
raise typer.Exit(1)

# Warn if dispatch.yaml secrets include LLM provider API keys
# These should be managed via the LLM gateway, not injected directly
# These work as fallback credentials but the preferred approach is the LLM gateway
config_secrets = config.get("secrets", []) or []
conflicting_keys = [
s.get("name") for s in config_secrets if s.get("name") in LLM_PROVIDER_KEY_NAMES
]
if conflicting_keys:
logger.warning(
f"Found LLM provider keys in dispatch.yaml secrets: {conflicting_keys}. "
"These are not needed — the Dispatch LLM proxy injects credentials automatically. "
"Remove them from your secrets config, or use `dispatch llm setup` to manage LLM credentials. "
"Set DISPATCH_LLM_INSTRUMENT=false if you want to bypass the proxy and use them directly."
"If the namespace has an LLM provider configured via `dispatch llm setup`, "
"these keys are unused — the platform credential takes priority. "
"If no platform credential is configured, these keys will be used as a fallback. "
"To manage LLM credentials at the platform level, run `dispatch llm setup`."
)

# Get namespace from CLI option, environment variable, or config file
Expand Down
2 changes: 1 addition & 1 deletion dispatch_cli/templates/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.4
FROM $BASE_IMAGE

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

ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
Expand Down
2 changes: 1 addition & 1 deletion dispatch_cli/templates/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG PYTHON_IMAGE=python:3.13-slim
FROM ${PYTHON_IMAGE}

# Copy uv from official image
COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:0.11.2 /uv /uvx /bin/

# Install common system packages that many agents need
RUN apt-get update && \
Expand Down
93 changes: 0 additions & 93 deletions dispatch_cli/templates/Dockerfile.build

This file was deleted.

16 changes: 0 additions & 16 deletions dispatch_cli/templates/entrypoint.sh

This file was deleted.

35 changes: 0 additions & 35 deletions dispatch_cli/templates/merge_mcp_config.py

This file was deleted.

3 changes: 2 additions & 1 deletion dispatch_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
DISPATCH_LISTENER_FILE = f"{DISPATCH_LISTENER_MODULE}.py"

# LLM provider API keys managed by the Dispatch LLM gateway.
# These don't belong in dispatch.yaml secrets — the proxy injects them at runtime.
# When present in dispatch.yaml secrets, these serve as fallback credentials
# if the namespace has no platform-level LLM provider configured.
LLM_PROVIDER_KEY_NAMES = {
"OPENAI_API_KEY",
"ANTHROPIC_API_KEY",
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dispatch-cli"
version = "0.7.1"
version = "0.7.4"
description = ""
authors = [
{name = "Diamond Bishop", email = "diamond.bishop@datadoghq.com"},
Expand Down Expand Up @@ -33,9 +33,6 @@ dependencies = [
"pathspec>=1.0.4",
]

[tool.uv.sources]
dispatch_agents = {git = "https://github.com/datadog-labs/dispatch_agents_sdk", tag = "v0.10.0"}

[dependency-groups]
dev = [
"pytest>=7.0.0",
Expand Down
Loading
Loading