Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Fix CI on the decision-routing branch

agent-runner353fc9fdc013d49
diff --git a/console/packages/plugins/src/switch-skill/switch-skill.test.ts b/console/packages/plugins/src/switch-skill/switch-skill.test.ts
index 024ea4da9..3a3847dfa 100644
--- a/console/packages/plugins/src/switch-skill/switch-skill.test.ts
+++ b/console/packages/plugins/src/switch-skill/switch-skill.test.ts
@@ -26,6 +26,6 @@ describe('switch skill', () => {
expect(text).toContain('Auto-route is unavailable right now; tag an agent to reach it.');
expect(text).toContain('`!auto-route fallback @agent`');
expect(text).toContain('`!auto-route fallback off`');
- expect(text).toContain('came to you as the room\'s triage agent');
+ expect(text).toContain("came to you as the room's triage agent");
});
});
diff --git a/core/tests/switch_core/gateway/test_decision_settings.py b/core/tests/switch_core/gateway/test_decision_settings.py
index bd4321d42..8b407b93c 100644
--- a/core/tests/switch_core/gateway/test_decision_settings.py
+++ b/core/tests/switch_core/gateway/test_decision_settings.py
@@ -207,7 +207,10 @@ async def test_no_server_default_offers_no_haiku_and_says_why(
body = (await client.get("/decision-settings")).json()
haiku = await client.put(
"/decision-settings",
- json={"backend": "haiku_anthropic", "api_key": "fake-key"},
+ json={
+ "backend": "haiku_anthropic",
+ "api_key": "fake-key",
+ },
)
assert body["effective"]["available"] is False
@@ -269,7 +272,7 @@ async def test_haiku_needs_a_key_new_or_kept_for_the_same_backend(
)
await client.put(
"/decision-settings",
- json={"backend": "haiku_anthropic", "api_key": "fake-key-1234"},
+ json={"backend": "haiku_anthropic", "api_key": "fake-1234"},
)
kept = await client.put(
"/decision-settings",
diff --git a/scripts/check_chart_decision.py b/scripts/check_chart_decision.py
index 3c378cf2c..a9074e82c 100755
--- a/scripts/check_chart_decision.py
+++ b/scripts/check_chart_decision.py
@@ -162,7 +162,10 @@ def test_strands_decider_is_the_default_model_server() -> None:
server = by_name["model-server"]
# Its own first-party image, which the release pins by digest.
- assert server["image"] == "switch-decision-strands:latest"
+ # By tag here, by digest once the release (or CI's placeholder pin) has
+ # pinned it: either way, the strands model-server image.
+ repository = server["image"].split("@")[0].rsplit(":", 1)[0]
+ assert repository.rsplit("/", 1)[-1] == "switch-decision-strands", server["image"]
assert env_of(server) == {
"STRANDS_CHECKPOINT": "StrandsAgents/strands-decider-E4B-gemma4-v1-2610",
"STRANDS_MODEL_NAME": "strands-decider-E4B",