Skip to content

Commit c82913e

Browse files
Release v0.7.4 (#12)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent aa5b1fa commit c82913e

10 files changed

Lines changed: 288 additions & 427 deletions

File tree

RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Other Changes
2+
- Minor improvements to the `agent` command and related utilities.

dispatch_cli/commands/agent.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,17 +2291,18 @@ def deploy(
22912291
raise typer.Exit(1)
22922292

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

23072308
# Get namespace from CLI option, environment variable, or config file

dispatch_cli/templates/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1.4
22
FROM $BASE_IMAGE
33

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

66
ENV PYTHONDONTWRITEBYTECODE=1 \
77
PYTHONUNBUFFERED=1 \

dispatch_cli/templates/Dockerfile.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG PYTHON_IMAGE=python:3.13-slim
77
FROM ${PYTHON_IMAGE}
88

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

1212
# Install common system packages that many agents need
1313
RUN apt-get update && \

dispatch_cli/templates/Dockerfile.build

Lines changed: 0 additions & 93 deletions
This file was deleted.

dispatch_cli/templates/entrypoint.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

dispatch_cli/templates/merge_mcp_config.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

dispatch_cli/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
DISPATCH_LISTENER_FILE = f"{DISPATCH_LISTENER_MODULE}.py"
2828

2929
# LLM provider API keys managed by the Dispatch LLM gateway.
30-
# These don't belong in dispatch.yaml secrets — the proxy injects them at runtime.
30+
# When present in dispatch.yaml secrets, these serve as fallback credentials
31+
# if the namespace has no platform-level LLM provider configured.
3132
LLM_PROVIDER_KEY_NAMES = {
3233
"OPENAI_API_KEY",
3334
"ANTHROPIC_API_KEY",

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dispatch-cli"
3-
version = "0.7.1"
3+
version = "0.7.4"
44
description = ""
55
authors = [
66
{name = "Diamond Bishop", email = "diamond.bishop@datadoghq.com"},
@@ -33,9 +33,6 @@ dependencies = [
3333
"pathspec>=1.0.4",
3434
]
3535

36-
[tool.uv.sources]
37-
dispatch_agents = {git = "https://github.com/datadog-labs/dispatch_agents_sdk", tag = "v0.10.0"}
38-
3936
[dependency-groups]
4037
dev = [
4138
"pytest>=7.0.0",

0 commit comments

Comments
 (0)