9201ef759e
CI / lint (push) Waiting to run
CI / mypy (push) Waiting to run
CI / docs (push) Waiting to run
CI / test on 3.10 (standard) (push) Waiting to run
CI / test on 3.11 (standard) (push) Waiting to run
CI / test on 3.12 (standard) (push) Waiting to run
CI / test on 3.10 (all-extras) (push) Waiting to run
CI / test on 3.11 (all-extras) (push) Waiting to run
CI / test on 3.12 (all-extras) (push) Waiting to run
CI / test on 3.13 (all-extras) (push) Waiting to run
CI / test on 3.14 (pydantic-evals) (push) Waiting to run
CI / test on 3.13 (standard) (push) Waiting to run
CI / test on 3.14 (standard) (push) Waiting to run
CI / test on 3.14 (all-extras) (push) Waiting to run
CI / test on 3.10 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.11 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.12 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.13 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.14 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.10 (pydantic-evals) (push) Waiting to run
CI / test on 3.11 (pydantic-evals) (push) Waiting to run
CI / test on 3.12 (pydantic-evals) (push) Waiting to run
CI / test on 3.13 (pydantic-evals) (push) Waiting to run
CI / test on 3.10 (lowest-versions) (push) Waiting to run
CI / test on 3.11 (lowest-versions) (push) Waiting to run
CI / test on 3.12 (lowest-versions) (push) Waiting to run
CI / test on 3.13 (lowest-versions) (push) Waiting to run
CI / test on 3.14 (lowest-versions) (push) Waiting to run
CI / test examples on 3.11 (push) Waiting to run
CI / test examples on 3.12 (push) Waiting to run
CI / test examples on 3.13 (push) Waiting to run
CI / test examples on 3.14 (push) Waiting to run
CI / coverage (push) Blocked by required conditions
CI / check (push) Blocked by required conditions
CI / deploy-docs (push) Blocked by required conditions
CI / deploy-docs-preview (push) Blocked by required conditions
CI / build release artifacts (push) Blocked by required conditions
CI / publish to PyPI (push) Blocked by required conditions
CI / Send tweet (push) Blocked by required conditions
Harness Compat / harness compat (push) Failing after 0s
37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
---
|
|
# Shared runtime + engine config for the Pydantic AI gh-aw shim (MiniMax backend).
|
|
#
|
|
# Registers as the built-in `claude` engine and only overrides `command`, so
|
|
# gh-aw runs its full Claude proxy + credential-injection machinery.
|
|
#
|
|
# ANTHROPIC_BASE_URL MUST be a compile-time literal (not a ${{ vars.* }}
|
|
# expression): gh-aw derives the api-proxy target host AND the
|
|
# `--anthropic-api-base-path` from its parsed URL path at compile time. With a
|
|
# vars expression the path can't be parsed, so the proxy drops the `/anthropic`
|
|
# prefix and the upstream returns 404. Only ANTHROPIC_API_KEY stays a secret
|
|
# (injected by the AWF api-proxy, excluded from the agent container).
|
|
# MiniMax exposes an Anthropic-compatible API at https://api.minimax.io/anthropic.
|
|
#
|
|
# The checked-out workspace is mounted no-exec in the AWF sandbox, so a
|
|
# pre-step stages a launcher in gh-aw's exec-able /tmp/gh-aw/bin that runs
|
|
# `uv run --script` against the workspace harness.
|
|
#
|
|
# Required repo variable:
|
|
# GH_AW_MODEL — model name forwarded as `--model <name>` to the harness.
|
|
# Required secret:
|
|
# MINIMAX_API_KEY — API key injected by the AWF api-proxy.
|
|
#
|
|
# Usage:
|
|
# imports:
|
|
# - shared/engine-minimax.md
|
|
runtimes:
|
|
uv: {}
|
|
engine:
|
|
id: claude
|
|
model: ${{ vars.GH_AW_MODEL }}
|
|
command: /tmp/gh-aw/bin/pydantic-ai-runner-launch
|
|
env:
|
|
ANTHROPIC_BASE_URL: https://api.minimax.io/anthropic
|
|
ANTHROPIC_API_KEY: ${{ secrets.MINIMAX_API_KEY }}
|
|
---
|