Developing

Hosted translation nightly

ubuntu-24.04 at cron 53 5 (UTC) and supports manual dispatch.

Praxis AI Development (bcdcfdbcf963) 3 min read

Switching projects opens that project’s default documentation release.

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

On this page

Hosted Translation Nightly runs on ubuntu-24.04 at cron 53 5 * * * (UTC) and supports manual dispatch. It builds Praxis from the workflow checkout and uses the OPENAI_API_KEY Actions secret to call official OpenAI. A missing secret fails the credential check before the build. Fork schedules skip the job. Manual runs require the secret in the repository running the job.

The SDK suite sends Anthropic Messages requests through the local Praxis configuration which translates them to OpenAI Chat Completions over TLS. It uses Anthropic Python 1.17.0 and model gpt-4.1-mini-2025-04-14. It checks completions and token usage, streaming, tool result continuation, and the upstream error for an unknown model.

To reproduce locally, build with cargo build --locked -p praxis-ai-proxy, start target/debug/praxis-ai -c tests/integration/fixtures/anthropic/messages-to-openai-live.yaml from the repository root, with OPENAI_API_KEY set in the gateway environment.

PRAXIS_LIVE_MESSAGES_BASE_URL=http://127.0.0.1:8080 \
  uv run --script \
  tests/integration/sdk/anthropic/test_anthropic_messages_to_openai_live.py

The run summary records the tested commit and configuration. The hosted-messages-to-openai-results artifact contains JUnit results and gateway logs. Release CI qualification records this lane when it finds a run for the exact release commit. A release with no matching run shows not_run. Update the pinned model snapshot in the SDK suite when OpenAI retires it.

Praxis injects the OpenAI key upstream and the SDK uses a dummy local key. Gateway authorization, tenant isolation, and retries are outside this suite.

OpenAI Responses to Chat Completions

A separate job builds with --features openai-responses and uses the Responses translation fixture. It runs the Responses completion and streaming cases from the OpenAI SDK suite. Praxis injects the provider key and translates requests to official OpenAI Chat Completions. The checks cover completed text and usage, streaming text the terminal completion event, and stateless tool-result continuation, with store: false. The hosted-responses-to-chat-results artifact contains JUnit results and gateway logs.

OpenAI Chat Completions to Anthropic Messages

The Anthropic job runs on Mondays at cron 53 5 * * 1 (UTC) and on manual dispatch. It uses the ANTHROPIC_API_KEY Actions secret and the local gateway fixture. The SDK case uses claude-haiku-4-5-20251001 and API version 2023-06-01. Two round trips cover buffered tool calls with streamed results and streamed tool-call arguments with buffered results. The suite checks tool IDs, arguments, finish reasons, and usage. It makes at most four inference requests with a 64-token output cap per request and SDK retries disabled. JUnit results are in hosted-anthropic-translation-results. A separate invalid-temperature request checks that Anthropic’s validation error reaches the OpenAI SDK as HTTP 400. Both streaming cases require a final usage-only chunk. During initial testing, Haiku 5.5 emitted a streamed thinking block that the Chat Completions translator rejected. This lane qualifies Haiku 4.5.