Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

CI: hold the Anthropic SDK below 1.0 in the inference smoke workflows (#9432)

Daniel Han77d9acce2d76
diff --git a/.github/workflows/studio-inference-smoke.yml b/.github/workflows/studio-inference-smoke.yml
index 6a561bfd282..b7d5431a8c7 100644
--- a/.github/workflows/studio-inference-smoke.yml
+++ b/.github/workflows/studio-inference-smoke.yml
@@ -194,7 +194,12 @@ jobs:
id: sdks
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
timeout-minutes: 10
- run: pip install 'openai>=1.50' 'anthropic>=0.40'
+ # anthropic is held below 1.0: v1 removed temperature, top_p and top_k as
+ # accepted arguments on messages.create(), so the probes below, which pin
+ # temperature = 0.0 for determinism, raise TypeError against it. The v1 route
+ # is extra_body; moving to it is a deliberate change to what the probes send,
+ # not something a CI install should decide by resolving a new major.
+ run: pip install 'openai>=1.50' 'anthropic>=0.40,<1'
# Phase 1's environment and model cache sit HERE, after the shared
# preamble, not before it. They used to run before the installer, which is
diff --git a/.github/workflows/studio-mac-ui-smoke.yml b/.github/workflows/studio-mac-ui-smoke.yml
index 645a5dbd854..facfd086ac9 100644
--- a/.github/workflows/studio-mac-ui-smoke.yml
+++ b/.github/workflows/studio-mac-ui-smoke.yml
@@ -647,7 +647,12 @@ jobs:
id: sdks-chat
if: ${{ !cancelled() && steps.assert_llama.outcome == 'success' }}
timeout-minutes: 5
- run: pip install 'openai>=1.50' 'anthropic>=0.40'
+ # anthropic is held below 1.0: v1 removed temperature, top_p and top_k as
+ # accepted arguments on messages.create(), so the probes below, which pin
+ # temperature = 0.0 for determinism, raise TypeError against it. The v1 route
+ # is extra_body; moving to it is a deliberate change to what the probes send,
+ # not something a CI install should decide by resolving a new major.
+ run: pip install 'openai>=1.50' 'anthropic>=0.40,<1'
- name: Reset auth + boot Unsloth (API-only)
id: boot-chat
@@ -1275,7 +1280,12 @@ jobs:
id: sdks-vision
if: ${{ !cancelled() && steps.assert_llama.outcome == 'success' }}
timeout-minutes: 5
- run: pip install 'openai>=1.50' 'anthropic>=0.40'
+ # anthropic is held below 1.0: v1 removed temperature, top_p and top_k as
+ # accepted arguments on messages.create(), so the probes below, which pin
+ # temperature = 0.0 for determinism, raise TypeError against it. The v1 route
+ # is extra_body; moving to it is a deliberate change to what the probes send,
+ # not something a CI install should decide by resolving a new major.
+ run: pip install 'openai>=1.50' 'anthropic>=0.40,<1'
- name: Reset auth + boot Unsloth (API-only)
id: boot-vision
diff --git a/.github/workflows/studio-windows-inference-smoke.yml b/.github/workflows/studio-windows-inference-smoke.yml
index 08051293af6..ff8b127660c 100644
--- a/.github/workflows/studio-windows-inference-smoke.yml
+++ b/.github/workflows/studio-windows-inference-smoke.yml
@@ -295,7 +295,12 @@ jobs:
id: sdks
if: ${{ !cancelled() && steps.assert-prebuilt.outcome == 'success' }}
timeout-minutes: 10
- run: python -m pip install 'openai>=1.50' 'anthropic>=0.40'
+ # anthropic is held below 1.0: v1 removed temperature, top_p and top_k as
+ # accepted arguments on messages.create(), so the probes below, which pin
+ # temperature = 0.0 for determinism, raise TypeError against it. The v1 route
+ # is extra_body; moving to it is a deliberate change to what the probes send,
+ # not something a CI install should decide by resolving a new major.
+ run: python -m pip install 'openai>=1.50' 'anthropic>=0.40,<1'
# Phase 1's environment and model cache sit HERE, after the shared
# preamble, not before it. They used to run before the installer, which is