Skip to content

WIP: [codex] Add eval completion webhook support#405

Draft
Curtis Galione (cjgalione) wants to merge 2 commits intomainfrom
codex/eval-on-complete-webhook
Draft

WIP: [codex] Add eval completion webhook support#405
Curtis Galione (cjgalione) wants to merge 2 commits intomainfrom
codex/eval-on-complete-webhook

Conversation

@cjgalione
Copy link
Copy Markdown
Contributor

Summary

Adds an eval completion callback and devserver completion webhook support for Python evals.

Changes

  • Adds on_complete to Eval and EvalAsync, called after eval completion and flush.
  • Adds on_complete_webhook parsing and devserver dispatch.
  • Adds completion webhook payload construction plus retry/backoff dispatch.
  • Adds framework and devserver tests for callback and webhook behavior.

Validation

Not run locally in this cleanup pass; preserving WIP before machine wipe.

The Braintrust Playground sends x-bt-use-gateway when gateway routing
is enabled. The api-ts CORS config already allows it, but the Python
devserver's ALLOWED_HEADERS list was missing it, causing browsers to
block preflight requests to remote eval servers with a CORS error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant