Repository navigation
fix: add Anthropic computer-use beta header - #13242
Conversation
|
I rechecked the current red The remaining failure is in the Claude review workflow itself: it cannot get an OIDC token ( |
Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Move _anthropic_beta_headers_for_tools next to AnthropicStreamingClient and add a docstring explaining the computer-use beta header. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
e10ed7a to
7542649
Compare
|
Rebased this PR onto current I rechecked the old red Python CI run more closely. The previous unit failures were from the May 27 merge ref in Local validation on Windows after the rebase: I attempted the targeted |
Fixes #12976.
Summary
computer_20250124andcomputer_20251124anthropic-betaheader for both streaming and non-streaming Anthropic message requestsValidation
uv run python -m py_compile src\phoenix\server\api\helpers\playground_clients.py tests\unit\server\api\helpers\test_playground_clients.pyuv run ruff check src\phoenix\server\api\helpers\playground_clients.py tests\unit\server\api\helpers\test_playground_clients.pyuv run pytest tests\unit\server\api\helpers\test_playground_clients.py -q(18 passed)git diff --check