The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Commit 95b0e111

95b0e11125d2Merged

aryaamin <[email protected]> · 2 months ago · 1 file · ~1 modified

Description

perf: use haiku for shield reviews

Details

Commit
95b0e11125d2
Parent
32cb43fd4001

packages/mcp-server/src/shield-agent.tsmodifiedView file

@@ -27,7 +27,7 @@
2727 } from '../../protocol/src/index.js';
2828
2929 export const SHIELD_PROMPT_VERSION = 'shield-agent-v3';
30-export const DEFAULT_SHIELD_MODEL = 'claude-sonnet-5';
30+export const DEFAULT_SHIELD_MODEL = 'claude-haiku-4-5-20251001';
3131 const DEFAULT_SHIELD_TIMEOUT_MS = 50_000;
3232
3333 function shieldTimeoutMs(): number {
@@ -289,7 +289,6 @@
289289 providerOptions: {
290290 anthropic: {
291291 thinking: { type: 'disabled' },
292- effort: 'low',
293292 } satisfies AnthropicLanguageModelOptions,
294293 },
295294 abortSignal: AbortSignal.timeout(shieldTimeoutMs()),